<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#3366ff">
<tt>thank for your response, the version that I'm using is 1.0.head
(svn-17188:17782M), and no is something silly, I'm triying to created a
Lua's method to make my own "advance bridge" , to allow create many
originate at same time and the first to answerd bridge to current
channel, if not anyone anwered play a file, for instance or whatever.<br>
<br>
<br>
Example<br>
<br>
If i've to created 3 outbounds calls with diferents domains and
callExtension i doing something like that, where %s is a dinaminc Value<br>
<br>
<font color="#ff6666">/*outbound 1*/ bgapi originate {
ignore_early_media=true,origination_uuid=%s,originate_timeout=%s,origination_caller_id_name='%s',origination_caller_id_number=%s,api_on_answer='%s'}ext1@192.168.1.1
&park()<br>
</font><font color="#336666">/*outbound 2*/ bgapi originate {
ignore_early_media=true,origination_uuid='</font><font color="#336666">myUUUID
</font><font color="#336666">',originate_timeout=%s,origination_caller_id_name='%s',origination_caller_id_number=%s,api_on_answer='uuid_bridge
UUID </font><font color="#336666">myUUUID </font><font color="#336666">'}ext2@192.168.1.2
&park()<br>
</font><font color="#6600cc">/*outbound 3*/ bgapi originate {
ignore_early_media=true,origination_uuid=%s,originate_timeout=%s,origination_caller_id_name='%s',origination_caller_id_number=%s,api_on_answer='%s'}ext2@192.168.1.3
&park()<br>
</font><br>
while this is running in backgroud (using bgapi) the inbound call is
hearing a message 'meanTime.wav', finally when the first one has
already anwered, then hangup the rest originates. I'm Sure that
uuid_bridge is execute corectly but i'm not understand why the inbound
call is over when the api_on_answer is execute<br>
<br>
</tt>
<pre class="moz-signature" cols="72"><tt>Saludos
Arturo Monroy</tt></pre>
<br>
El 22/06/2010 11:24 a.m., Brian West escribió:
<blockquote
cite="mid:BCC45264-4217-4700-B231-05649C20624E@freeswitch.org"
type="cite">
<pre wrap="">What are you doing exactly cuz this makes no sense..
Also what SVN rev are you on because uuid_bridge uses the exact same code the core uses and bridge works fine. I suspect you're either on OLD code or you're doing something silly.
/b
On Jun 22, 2010, at 10:55 AM, Arturo Monroy wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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@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 <a 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)
+OK 3456ef2d-ec79-43a7-bf72-a1b2e88fc725 **********Line 765
2010-06-21 12:51:45.725585 [DEBUG] switch_core_state_machine.c:344 (<a 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
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
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
FreeSWITCH-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>