according to the code:

you are bridging 2 channels where one of them is not answered yet.
and if it never is answered before the timeout it will hangup.

try waiting for both to be answered before you bridge them.



On Mon, Mar 15, 2010 at 2:56 AM, Maciej Aniserowicz <maciej.aniserowicz@gmail.com> wrote:

Hello,
I have the following problem:

I register with x-lite to my freeswitch and then call it by sending command
bgapi originate
{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
&park()

Then i dial through a gateway which points to another freeswitch instance:
bgapi originate
{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
&park()

The dialplan causes answering the phone, playing a file and hanging up.

The two calls are connected with this command:

bgapi uuid_transfer f0c0db16-f00f-4b0b-8a00-d3b108d121b2
intercept:a85fd47e-051f-42ea-987e-f4e090c7ae78,park inline


Unfortunately after the second call hangs up, the first call gets hanged up
too.

I recently upgraded to FS trunk.

Logs are in pastebin:
first freeswitch: http://pastebin.freeswitch.org/12432
second freeswitch: http://pastebin.freeswitch.org/12433

Please take a look and help me figure this out..
--
View this message in context: http://n2.nabble.com/Call-gets-hanged-up-with-ORIGINATOR-CANCEL-cause-tp4735736p4735736.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900