Re: [OpenSIPStack] [OpenSBC] NOTIFY within SUBSCRIBE dialog
Brought to you by:
joegenbaclor
From: James B. <jam...@gm...> - 2008-07-11 08:34:08
|
Hi Joegen, I've tried the latest code from CVS and every SUBSCRIBE and NOTIFY makes it through - just perfect. Thanks so much for such a fast resolution to this query. I'm very impressed. James On Fri, Jul 11, 2008 at 3:30 AM, Joegen E. Baclor <joe...@gm...> wrote: > Hi James, > > Please try the latest from CVS and let me know if you still experience the > race condition between overlapped transactions. The changes are mostly in > the OpenSIPStack library so do not forget to update your copy as well. > > Joegen > > James Brennan wrote: >> >> Hi Joegen, >> >> Thanks for the reply. >> Later NOTIFY messages sometimes make it out to the client >> and the client can receive and make calls after this occurs. >> It is only on startup of the client when the SUBSCRIBE and >> NOTIFY messages occur and later periodic NOTIFY updates >> by the Asterisk server when I see OpenSBC/SIPStack silently >> discard some NOTIFY messages. >> Hopefully this has answered the question you had about the FSM. >> >> James >> >> On Tue, Jul 8, 2008 at 1:27 PM, Joegen E. Baclor >> <joe...@gm...> wrote: >> >>> >>> Hi James, >>> >>> This is more of a SIP Stack question than and OpenSBC subject. It >>> seems you are hitting a race condition. I need to get back to you on >>> this after I've done some testing of my own. For the meantime, can you >>> confirm that the FSM has not dead-locked and is still accepting/relaying >>> transactions after this occurs? >>> >>> Joegen >>> >>> James Brennan wrote: >>> >>>> >>>> Hi, >>>> >>>> Sorry, not sure if this is an OpenSBC or OpenSIPStack query. >>>> >>>> I'm running OpenSBC (1.1.5-7 and OpenSIPStack 1.1.8). >>>> OpenSBC is in full-mode. >>>> >>>> When the client SUBSCRIBEs to presence of another user, >>>> the SIP server issues the 202 for the SUBSCRIBE and also an >>>> immediate NOTIFY within the same dialog. >>>> >>>> When these pass through OpenSBC, some times the NOTIFY >>>> will not make it through to the client. >>>> >>>> My client has 3 contacts and subscribes to presence of all 3. >>>> I've seen none, 1 or maybe 2 of these NOTIFY messages make >>>> it to the client. >>>> >>>> Having looked around the code and trace of OpenSIPStack >>>> it looks like it happens when the 202 for the SUBSCRIBE >>>> is processed, and the DestroySession occurs between processing >>>> of the NOTIFY. >>>> >>>> Perhaps something is wrong with my setup. >>>> Does this scenario sound like it should work!? >>>> >>>> I'll attach the trace from OpenSBC which captured >>>> the first 2 NOTIFY messages making it back to the client >>>> but the 3rd NOTIFY message did not. >>>> >>>> Any advice much appreciated, >>>> Thanks, >>>> James >>>> >>>> >>>> No virus found in this incoming message. >>>> Checked by AVG - http://www.avg.com >>>> Version: 8.0.138 / Virus Database: 270.4.5/1537 - Release Date: 7/6/2008 >>>> 5:26 AM >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>>> Studies have shown that voting for your favorite open source project, >>>> along with a healthy diet, reduces your potential for chronic lameness >>>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Opensipstack-osbcdevel mailing list >>>> Ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>> Studies have shown that voting for your favorite open source project, >>> along with a healthy diet, reduces your potential for chronic lameness >>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>> _______________________________________________ >>> Opensipstack-osbcdevel mailing list >>> Ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel >>> >>> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: >> 270.4.6/1539 - Release Date: 7/7/2008 6:35 PM >> >> >> >> > > |