[Freeswitch-dev] uuid_bridge doesn't work

Arturo Monroy amonroy at auronix.com
Tue Jun 22 08:55:26 PDT 2010


Hello, i have a little problem, could you help  me please?

I trying to bridge using uuid_bridge API, but doesn't work , and I cant 
figure out why, I'll explain you:

I make a Inboud call and run a lua script code, the lua code has this

local UUID  = session:getVariable("uuid");
local api = freeswitch.API()
local uuid = api:executeString('create_uuid')
api:executeString(string.format("originate 
{ignore_early_media=true,origination_uuid='%s',api_on_answer='uuid_bridge %s 
%s'}sofia/internal/189 at 192.168.1.203 &park", uuid, UUID, uuid))

The outbpund call is to Xlite phone, and this is ringing but when a 
answer the call, the first one is hangup and the second (@203) is still 
alive, What happed??????

The uuid_bridge return +OK but inmediatly the first is over

2010-06-21 12:51:45.725585 [INFO] switch_channel.c:2535 
sofia/internal/189 at 192.168.1.203 api on answer: 
uuid_bridge(7a9ab23d-4ea5-4597-84e2-992ee88c2c79 
3456ef2d-ec79-43a7-bf72-a1b2e88fc725)
+OK 3456ef2d-ec79-43a7-bf72-a1b2e88fc725 **********Line 765

2010-06-21 12:51:45.725585 [DEBUG] switch_core_state_machine.c:344 
(sofia/internal/189 at 192.168.1.203) State RESET going to sleep
2010-06-21 12:51:45.725585 [DEBUG] switch_ivr_originate.c:3341 Originate 
Resulted in Error Cause: 487 [ORIGINATOR_CANCEL] ********* Line 780


Please help me, thank you

-- 

Saludos

Arturo Monroy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100622/33dd7ea5/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freeswitch.log
Url: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100622/33dd7ea5/attachment-0001.pl 


More information about the FreeSWITCH-dev mailing list