<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You can't use origination_uuid within { }s, it has to be within [ ]s since its a per-leg parameter. Looking at the logs would reveal you that the newly created channel doesn't have the expected uuid.<div><br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a href="mailto:mrene@avgs.ca">mrene@avgs.ca</a></div><div><br></div><div><br></div></span></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 2010-06-22, at 11:55 AM, Arturo Monroy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#3366ff">
<tt>Hello, i have a little problem, could you help me please?<br>
<br>
I trying to bridge using uuid_bridge API, but doesn't work , and I cant
figure out why, I'll explain you:<br>
<br>
I make a Inboud call and run a lua script code, the lua code has this<br>
<br>
local UUID = session:getVariable("uuid"); <br>
local api = freeswitch.API()<br>
local uuid = api:executeString('create_uuid')<br>
api:executeString(string.format("originate
{ignore_early_media=true,origination_uuid='%s',api_on_answer='uuid_bridge
%s
%s'}sofia/internal/189@192.168.1.203
&park",
uuid, UUID, uuid))<br>
<br>
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??????<br>
<br>
The uuid_bridge return +OK but inmediatly the first is over<br>
<br>
<font color="#009900">2010-06-21 12:51:45.725585 [INFO]
switch_channel.c:2535 <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sofia/internal/189@192.168.1.203">sofia/internal/189@192.168.1.203</a>
api on answer:
uuid_bridge(7a9ab23d-4ea5-4597-84e2-992ee88c2c79
3456ef2d-ec79-43a7-bf72-a1b2e88fc725)<br>
+OK 3456ef2d-ec79-43a7-bf72-a1b2e88fc725 **********Line 765<br>
<br>
2010-06-21 12:51:45.725585 [DEBUG] switch_core_state_machine.c:344
(<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sofia/internal/189@192.168.1.203">sofia/internal/189@192.168.1.203</a>)
State
RESET
going to sleep<br>
2010-06-21 12:51:45.725585 [DEBUG] switch_ivr_originate.c:3341
Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL] *********
Line 780</font><br>
<br>
<br>
Please help me, thank you</tt><br>
<pre class="moz-signature" cols="72">--
Saludos
Arturo Monroy</pre>
</div>
<span><freeswitch.log></span>_______________________________________________<br>FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>