<div dir="ltr">Use origination_uuid=${my_uuid} not ${uuid}<div><br></div><div>${uuid} is the existing a-leg, origination_uuid will be the new b-leg</div><div><br></div><div>Currently you&#39;re trying to create a b-leg with the same uuid as the a-leg, hence the error.</div><div><br></div><div>I also suggest you put origination_uuid in [] not {} - if you ever add extra legs you&#39;ll have the duplicate error return as all the b-legs would get the same uuid.</div><div class="gmail_extra"><br></div><div class="gmail_extra">You also definitely <i>don&#39;t</i> need inline=true, I would avoid using it as it&#39;ll execute much earlier than you need it, and if you use set the same variable inline later in your dialplan then it may not create the bridge with the uuid you expect.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Steve</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 July 2015 at 13:36, Denis Jakovlev <span dir="ltr">&lt;<a href="mailto:yadenis@seznam.cz" target="_blank">yadenis@seznam.cz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>
<span style="font-family:&#39;Courier New&#39;;font-size:9pt">Hi All,<br>
<br>
For my tasks need to know uuid both feet before bridge. How can i do this?<br>
<br>
If I do in the dialplan<br>
<span style="font-family:&#39;times new roman&#39;;font-size:10pt;color:#000088;background-color:#fafafa">&lt;action <span style="color:#660066">application<span style="color:#666600">=<span style="color:#008800">&quot;set&quot; <span style="color:#660066">data<span style="color:#666600">=<span style="color:#008800">&quot;my_uuid=${create_uuid foo}&quot; <span style="color:#660066">inline<span style="color:#666600">=<span style="color:#008800">&quot;true&quot;<span style="color:#000088">/&gt; <br>
</span><span style="font-family:&#39;Courier New&#39;;font-size:9pt;color:#000000;background-color:transparent">and then <br>
<span style="font-family:&#39;times new roman&#39;;font-size:10pt;color:#000088;background-color:#fafafa">&lt;action <span style="color:#660066">application<span style="color:#666600">=<span style="color:#008800">&quot;bridge&quot; <span style="color:#660066">data<span style="color:#666600">=<span style="color:#008800">&quot;{origination_uuid=${uuid}}user/1003&quot;<span style="color:#000088">/&gt; <br>
<br>
</span><span style="font-family:&#39;Courier New&#39;;font-size:9pt;color:#000000;background-color:transparent">I get an error <br>
<span style="font-family:&#39;times new roman&#39;;font-size:10pt;color:#006666;background-color:#fafafa">2015<span style="color:#666600">-<span style="color:#006666">07<span style="color:#666600">-<span style="color:#006666">14 14<span style="color:#666600">:<span style="color:#006666">25<span style="color:#666600">:<span style="color:#006666">32.350565 <span style="color:#666600">[<span style="color:#000000">CRIT<span style="color:#666600">]<span style="color:#000000"> switch_core_session<span style="color:#666600">.<span style="color:#000000">c<span style="color:#666600">:<span style="color:#006666">2342 <span style="color:#660066">Duplicate<span style="color:#000000"> UUID<span style="color:#666600">!<br>
<span style="color:#006666">2015<span style="color:#666600">-<span style="color:#006666">07<span style="color:#666600">-<span style="color:#006666">14 14<span style="color:#666600">:<span style="color:#006666">25<span style="color:#666600">:<span style="color:#006666">32.350565 <span style="color:#666600">[<span style="color:#000000">CRIT<span style="color:#666600">]<span style="color:#000000"> mod_sofia<span style="color:#666600">.<span style="color:#000000">c<span style="color:#666600">:<span style="color:#006666">4376 <span style="color:#660066">Error Creating Session <br>
<br>
</span><span style="font-family:&#39;Courier New&#39;;font-size:9pt;color:#000000;background-color:transparent">How correctly before bridge I assign or generate a uuid and use later?<span><font color="#888888"><br>
<br>
<span style="font-family:&#39;calibri&#39;;color:#c0c0c0"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev                           <br>
<a href="http://mob.tel" target="_blank">mob.tel</a>. 775-415-382<br>
</i></span></font></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>