You can set the uuid yourself:<div><br></div><div><font face="&#39;courier new&#39;, monospace" size="1">&lt;action application=&quot;set&quot; data=&quot;my_uuid=${create_uuid}&quot; inline=&quot;true&quot;/&gt;</font></div>
<div><font face="&#39;courier new&#39;, monospace" size="1">&lt;action application=&quot;bridge&quot; data=&quot;{origination_uuid=${my_uuid}}/sofia/foo/bar&quot;/&gt;<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">&lt;<a href="mailto:succer110@tiscali.it">succer110@tiscali.it</a>&gt;</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&#39;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&#39;s exactly hat what i was looking for) i do not have the &quot;<span style="font-family:monospace;white-space:pre-wrap">Other-Leg-uuid&quot; var setted in my session&#39;s channel variable.
</span>Is there any way to get the uuid of the bleg before the bridge?<br><br><div>        &lt;action application=&quot;export&quot; data=&quot;nolocal:execute_on_pre_answer=lua dial.lua PRGS&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;nolocal:execute_on_answer=lua dial.lua ANSW&quot;/&gt;</div>
<div>        &lt;action application=&quot;bridge&quot; data=&quot;sofia/external/<a href="mailto:111xxxx@192.168.1.1" target="_blank">111xxxx@192.168.1.1</a>&quot;/&gt;</div> <br>So: in the dial.lua i need to have the uuid of &quot;sofia/external/<a href="mailto:1111@192.168.1.1" target="_blank">1111@192.168.1.1</a>&quot;.<br>
Thank you in advice! <br>(and thank you all for freeswitch!!)<br><br>E&#39; 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>