[Freeswitch-users] B-Leg / A-Leg Race Condition

Mike Burlingame mike.burlingame at me.com
Fri Sep 14 03:49:01 MSD 2012


So what I am seeing is if the call flow is like

Carrier --> OpenSIPs --> FS --> OpenSIPs --> Off Network things seem fine

but if the flow is 

Carrier --> OpenSIPs --> FS --> OpenSIPs --> OpenSIPs --> FS --> OpenSIPs --> PSTN things seem broken now if I remove wait for ACK from Server A's B-Leg the call works as expected 

FS_SERVER_A 
http://pastebin.freeswitch.org/19898

FS_SERVER_B
http://pastebin.freeswitch.org/19899

On Sep 13, 2012, at 3:58 PM, Anthony Minessale <anthony.minessale at gmail.com> wrote:

> sigh, you forgot "console loglevel debug"  this is only info loglevel.........
> 
> 
> On Thu, Sep 13, 2012 at 5:49 PM, Mike Burlingame <mike.burlingame at me.com> wrote:
> So it seems all is not well - missing ACK and forward of 200OK when 2 FS servers are in the mix when sip_wait_for_aleg_ack=true is enabled  
> basic flow is
>  
>                         FS Server A                                                      FS Server B
> |-----------------DID Channel---------------------|     |---------Termination Channel (RCF)----------|
> Carrier --> OpenSIPs --> FS --> OpenSIPs --> OpenSIPs --> FS --> OpenSIPs --> Carrier
> 
> Both FS running latest GIT as of this morning - Both FS servers using sip_wait_for_aleg_ack=true - Everything on FS B looks ok (besides not getting an ACK back from FS_A)
> 
> FS Server A Logs
> http://pastebin.freeswitch.org/19897
> 
> FS Server B SIP Logs
> http://pastebin.freeswitch.org/19896
> 
> 
> 
> 
> 
> 
> On Sep 11, 2012, at 4:56 PM, Michael Collins <msc at freeswitch.org> wrote:
> 
>> 
>> 
>> On Tue, Sep 11, 2012 at 11:39 AM, Mike Burlingame <mike.burlingame at me.com> wrote:
>> Crash was resolved this weekend by a code update via jira case - no more crashes after the update - some more dial plan edits and a little more testing I will be ready to head over to pay the Wiki tax
>> 
>> Thanks guys for adding this feature it seems to be working as expected and my 491 issues on the B-Leg / A-Leg have pretty much disappeared 
>> 
>> Thanks for checking in and letting us know where you stand. I really like it when these threads have some sort of resolution. If you have any issues with wiki editing please let me know or hop on IRC for an assist.
>> 
>> -MC
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 
> 
> 
> -- 
> Anthony Minessale II
> 
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
> 
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120913/3f7c4af6/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list