[Devel] Notify CSeq number not increased?

Anca Vamanu anca at voice-system.ro
Mon Mar 26 17:42:49 CEST 2007


Hello,

Congrads for finding the sorce of error :) .
In the majority of the cases the dialog informations are queried from
database. There are some cases in which the subs structure is filled
with information from Subscribe message, therefore the cseq is that in
Subscribe. Here is when the error takes place.
I am fixing it now. I will delimit between local and remote cseq and be
sure always to use the local_cseq when sending Notify.
Thanks a lot.

Best regards,

Anca Vamanu


sukerry wrote:

> I have resolved this problem! I think in the active_watchers table, the cseq field should record NOTIFY CSEQ (local cseq) but not SUBSCRIBE CSEQ (remote cseq)  .
>
>I modified notify.c as follows:
>
>a. before a notify message is sent , we read "atcive_watchers.cseq" and set "active_watchers.cseq+1" as CSEQ number of NOTIFY message ;
>b. after notify message is sent, we increased active_watchers.cseq by one ;
>
>
>I have posted modified notify.c as attachment.  all the changes are between lines:
>
>//////////////////////////added by sukerry/////////////////////  
>
>  or
>
>/////////////////////////modified by sukerry////////////////////
>
>
>Thanks for your time
>
>	
>
>======= 2007-03-24 14:14:40 Kerry wrote:=======
>
>  
>
>>Anca-Maria Vamanu,
>>
>>Thank you very much for your work, but problem still occurs.
>>
>>Please refer to the attached for my test result (packets captured by ethereal)
>>
>>	
>>
>>======= 2007-03-23 20:17:37 =======
>>
>>    
>>
>>>Hi,
>>>
>>>It should be fixed now.
>>>
>>>Best regards,
>>>
>>>Anca Vamanu
>>>
>>>Anca-Maria Vamanu wrote:
>>>
>>>      
>>>
>>>>Hello,
>>>>
>>>>I will look into it and solve the error if there is one.
>>>>Thanks for reporting.
>>>>
>>>>Best regards
>>>>
>>>>Anca Vamanu
>>>>
>>>>
>>>>sukerry wrote:
>>>>
>>>> 
>>>>
>>>>        
>>>>
>>>>>Hi All,
>>>>>
>>>>>When I am testing presence service of openser, I find that after the server establishes subscription dialog, it sometimes will not send Notify messages
>>>>>in sequence, which means the CSEQ number is not increased while new transaction is created. The result of this problem is that the UA regard new 
>>>>>NOTIFY message as mismatched.
>>>>>
>>>>>
>>>>>I am tring to modify notify.c in order to solve this problem, but there still not be any clue yet.
>>>>>
>>>>>I wish someone will help me or co-work with me!
>>>>>
>>>>>Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>				 
>>>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry
>>>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry at 126.com
>>>>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2007-03-23
>>>>>
>>>>>
>>>>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>_______________________________________________
>>>>>Devel mailing list
>>>>>Devel at openser.org
>>>>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>>
>>>>>
>>>>>   
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>Devel mailing list
>>>>Devel at openser.org
>>>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>
>>>> 
>>>>
>>>>        
>>>>
>>>_______________________________________________
>>>Devel mailing list
>>>Devel at openser.org
>>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>>
>>>      
>>>
>>= = = = = = = = = = = = = = = = = = = =
>>			
>>
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
>>Àñ£¡
>>
>>				 
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry at 126.com
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2007-03-24
>>
>>_______________________________________________
>>Devel mailing list
>>Devel at openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>
>>    
>>
>
>				 
>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry
>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sukerry at 126.com
>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2007-03-25
>
>  
>




More information about the Devel mailing list