You can set the uuid yourself:<div><br></div><div><font face="'courier new', monospace" size="1"><action application="set" data="my_uuid=${create_uuid}" inline="true"/></font></div>
<div><font face="'courier new', monospace" size="1"><action application="bridge" data="{origination_uuid=${my_uuid}}/sofia/foo/bar"/><br></font><br>Check out the create_uuid API and origination_uuid chan var on the wiki...</div>
<div><br></div><div>-MC</div><div><br><div class="gmail_quote">On Tue, Nov 22, 2011 at 5:38 AM, <a href="mailto:succer110@tiscali.it">succer110@tiscali.it</a> <span dir="ltr"><<a href="mailto:succer110@tiscali.it">succer110@tiscali.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everybody!<br><br>I'm executing a script with exec_on_answer and exec_on_pre_answer in a bridge application.<br>
Since the execution of my application is triggered before bridging the two legs (that's exactly hat what i was looking for) i do not have the "<span style="font-family:monospace;white-space:pre-wrap">Other-Leg-uuid" var setted in my session's channel variable.
</span>Is there any way to get the uuid of the bleg before the bridge?<br><br><div> <action application="export" data="nolocal:execute_on_pre_answer=lua dial.lua PRGS"/></div><div> <action application="export" data="nolocal:execute_on_answer=lua dial.lua ANSW"/></div>
<div> <action application="bridge" data="sofia/external/<a href="mailto:111xxxx@192.168.1.1" target="_blank">111xxxx@192.168.1.1</a>"/></div> <br>So: in the dial.lua i need to have the uuid of "sofia/external/<a href="mailto:1111@192.168.1.1" target="_blank">1111@192.168.1.1</a>".<br>
Thank you in advice! <br>(and thank you all for freeswitch!!)<br><br>E' nata indoona : chiama, videochiama e messaggia Gratis.<br>Scarica indoona per <a href="http://itunes.apple.com/app/indoona/id462250893?mt=8" target="_blank">iPhone</a>, <a href="https://market.android.com/details?id=com.tiscali.indoona" target="_blank">Android</a> e <a href="http://www.indoona.com/download/" target="_blank">PC</a> <br>
<br><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>