[Devel] Notify CSeq number not increased?

sukerry sukerry at 126.com
Sat Mar 24 17:53:43 CET 2007


 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: notify.c
Type: application/octet-stream
Size: 52177 bytes
Desc: not available
Url : http://openser.org/pipermail/devel/attachments/20070325/e8aff611/notify-0001.obj


More information about the Devel mailing list