according to the code:<br><br>you are bridging 2 channels where one of them is not answered yet.<br>and if it never is answered before the timeout it will hangup.<br><br>try waiting for both to be answered before you bridge them.<br>
<br><br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 2:56 AM, Maciej Aniserowicz <span dir="ltr">&lt;<a href="mailto:maciej.aniserowicz@gmail.com">maciej.aniserowicz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hello,<br>
I have the following problem:<br>
<br>
I register with x-lite to my freeswitch and then call it by sending command<br>
bgapi originate<br>
{originate_timeout=15}[24cc_session_id=76dfb907-a0c3-4357-b1f9-ede89caf8a7e,ignore_early_media=true,max_forwards=999999,origination_uuid=d4f4e460-43c7-4e53-af18-46fa5226227d]sofia/gateway/agent_gateway/2500<br>
&amp;park()<br>
<br>
Then i dial through a gateway which points to another freeswitch instance:<br>
bgapi originate<br>
{originate_timeout=20}[24cc_session_id=3134a5ae-ec00-4164-94b1-a7fb5e0368fa,ignore_early_media=true,max_forwards=999999,origination_uuid=a85fd47e-051f-42ea-987e-f4e090c7ae78]sofia/gateway/prospect_gateway/1300671139878747511456<br>

&amp;park()<br>
<br>
The dialplan causes answering the phone, playing a file and hanging up.<br>
<br>
The two calls are connected with this command:<br>
<br>
bgapi uuid_transfer f0c0db16-f00f-4b0b-8a00-d3b108d121b2<br>
intercept:a85fd47e-051f-42ea-987e-f4e090c7ae78,park inline<br>
<br>
<br>
Unfortunately after the second call hangs up, the first call gets hanged up<br>
too.<br>
<br>
I recently upgraded to FS trunk.<br>
<br>
Logs are in pastebin:<br>
first freeswitch: <a href="http://pastebin.freeswitch.org/12432" target="_blank">http://pastebin.freeswitch.org/12432</a><br>
second freeswitch: <a href="http://pastebin.freeswitch.org/12433" target="_blank">http://pastebin.freeswitch.org/12433</a><br>
<br>
Please take a look and help me figure this out..<br>
--<br>
View this message in context: <a href="http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4735736.html" target="_blank">http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4735736.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>