<div dir="ltr"><div>Hello All,</div><div> </div><div>I am working on migrating our call system from FreeSWITCH 1.0.6 to 1.2.7.</div><div> </div><div>The setup is as follows:</div><div>* CallerDevice registered with Remote FreeSWITCH</div>
<div>* CalleeDevice registered with Local FreeSWITCH</div><div>* Local FreeSWITCH and Remote FreeSWITCH are in different subnets</div><div> </div><div>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:</div>
<div>1. first one sends an INVITE to the callee device via freeswitch interface, which makes the callee device to ring</div><div>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</div>
<div> </div><div>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. </div>
<div>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&#39;t happen, and &#39;State Change CS_HIBERNATE -&gt; CS_RESET&#39; takes place, and the call continues. The uuid_bridge_on_hibernate() handler, for some reason, doesn&#39;t seem to be getting called.</div>
<div> </div><div>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!</div><div> </div><div>Logs at : <a href="http://pastebin.freeswitch.org/20800">http://pastebin.freeswitch.org/20800</a></div>
<div> </div><div>Thanks!</div><div> </div><div> </div></div>