[Freeswitch-users] Bridge problem - (randomly) leg A looses events and communication with leg B

Michael Collins msc at freeswitch.org
Sat Oct 22 02:27:48 MSD 2011


I would get this with a siptrace included:
sofia global siptrace on

Also, use pastebin.freeswitch.org and set syntax highlighting to "FreeSWITCH
Log"

-MC

On Thu, Oct 20, 2011 at 3:50 AM, Mateusz Bartczak <netcentrica at gmail.com>wrote:

> Hi All,
>
> My scenario:
> number dialed by user test_user
> dial plan configured to send outbound call to event socket listening on
> 127.0.0.1:11111
> outbound call is intercepted, bridge application is executed to connect leg
> A (test_user) with dialed number via my SIP provider (leg B)
>
> The problem is, that (completely randomly - sometimes it's OK, sometimes
> not) user's session is desynchronized with events from leg B.
> Leg B dials number and connects via SIP provider to the destination number
> (that's always OK)
> But (randomly) leg A doesn't get ring back, no connect event, still in
> "calling" state until 30 second timeout (in the same time leg B is connected
> OK) but there is some problem with passing events from leg B to leg A
>
> Bridge params:
> {ignore_early_media=true,bypass_media=false,origination_caller_id_name=004822333222111,origination_caller_id_number=004822333222111,effective_caller_id_number=004822333222111,effective_caller_id_name=004822333222111,execute_on_answer=sched_hangup
> +5700 alloted_timeout}sofia/gateway/supergateway/0000048222019475
>
> I've tried to change socket mode to sync but with no success
>
> I use following Java code to execute bridge application:
>
> SendMsg msg = new SendMsg();
> msg.addCallCommand("execute");
> msg.addExecuteAppName("bridge");
> msg.addExecuteAppArg(dialstring);
> msg.addEventLock();
>
> Full freeswitch console log link: http://pastebin.com/eLCmMXRB
>
> I will greatly appreciate your help solving this problem
>
>
>
> 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/20111021/b9e44caf/attachment.html 


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