<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] uuid_bridge causes DESTINATION_OUT_OF_ORDER with FS rev 1.2.7</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>You need to check the differences in the configs between 1.0.6 and 1.2.7 (which you should be headed to 1.2.8 or later as 1.2.7 has been deprecated)<BR>
<BR>
>From 1.0.6 to 1.2.X is several years of development and enhancement and configs are not guaranteed to be forward compatible<BR>
<BR>
<BR>
On 4/16/13 11:37 PM, &quot;Siri MM&quot; &lt;<a href="sirimmfs@gmail.com">sirimmfs@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hello All,<BR>
 <BR>
I am working on migrating our call system from FreeSWITCH 1.0.6 to 1.2.7.<BR>
 <BR>
The setup is as follows:<BR>
* CallerDevice registered with Remote FreeSWITCH<BR>
* CalleeDevice registered with Local FreeSWITCH<BR>
* Local FreeSWITCH and Remote FreeSWITCH are in different subnets<BR>
 <BR>
I have a C application which is connected to, and interacts with FreeSWITCH. On receiving a call from Remote FreeSWITCH on Local FreeSWITCH, the call is parked, and then a couple of Lua scripts are executed:<BR>
1. first one sends an INVITE to the callee device via freeswitch interface, which makes the callee device to ring<BR>
2. Once the call is accepted on the device, a second script executes, which calls the uuid_bridge applicaiton to bridge the parked call UUID and the callee UUID<BR>
 <BR>
However, most of the times (it does work a few times), the call establishment fails with a DESTINATION_OUT_OF_ORDER error. This exact setup, when run with the 1.0.6 version, works without any glitches. <BR>
When I peeped through the code, I see that,  the call state of the callee leg, after going into HIBERNATE STATE, never recovers, because of which the call times out in the method uuid_bridge_on_soft_execute(), and throws this error. In case of the 1.0.6 version, this doesn't happen, and 'State Change CS_HIBERNATE -&gt; CS_RESET' takes place, and the call continues. The uuid_bridge_on_hibernate() handler, for some reason, doesn't seem to be getting called.<BR>
 <BR>
Would appreciate any inputs on how to resolve this.. I probably need to update my application to work with 1.2.7 version, but am not sure!<BR>
 <BR>
Logs at : <a href="http://pastebin.freeswitch.org/20800">http://pastebin.freeswitch.org/20800</a><BR>
 <BR>
Thanks!<BR>
 <BR>
 <BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>