I would get this with a siptrace included:<div>sofia global siptrace on</div><div><br></div><div>Also, use <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and set syntax highlighting to "FreeSWITCH Log"</div>
<div><br></div><div>-MC<br><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 3:50 AM, Mateusz Bartczak <span dir="ltr"><<a href="mailto:netcentrica@gmail.com">netcentrica@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<div><br></div><div>My scenario:</div><div>number dialed by user test_user<br>dial plan configured to send outbound call to event socket listening on <a href="http://127.0.0.1:11111" target="_blank">127.0.0.1:11111</a></div>
<div>outbound call is intercepted, bridge application is executed to connect leg A (test_user) with dialed number via my SIP provider (leg B)</div>
<div><br></div><div>The problem is, that (completely randomly - sometimes it's OK, sometimes not) user's session is desynchronized with events from leg B.</div><div>Leg B dials number and connects via SIP provider to the destination number (that's always OK)<br>
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</div>
<div><br></div><div>Bridge params:</div><div>{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</div>
<div><br></div><div>I've tried to change socket mode to sync but with no success</div><div><br></div><div>I use following Java code to execute bridge application:</div><div><div><br></div><div>SendMsg msg = new SendMsg();</div>
<div>msg.addCallCommand("execute");</div><div>msg.addExecuteAppName("bridge");</div><div>msg.addExecuteAppArg(dialstring);</div><div>msg.addEventLock();</div></div><div><br></div><div>Full freeswitch console log link: <a href="http://pastebin.com/eLCmMXRB" target="_blank">http://pastebin.com/eLCmMXRB</a></div>
<div><br></div><div>I will greatly appreciate your help solving this problem</div><div><br></div>
<br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>