<div dir="ltr"><div>If you set the origination_uuid in {} braces it&#39;ll try to use that UUID for all of the B-legs.</div><br>You need to set a different uuid for each leg in [] braces, for example:<div><br class="gmail-Apple-interchange-newline">&lt;action application=&quot;set&quot; data=&quot;uuid1=${create_uuid()}&quot;/&gt;</div>&lt;action application=&quot;set&quot; data=&quot;uuid2=${create_uuid()}&quot;/&gt;<br class="gmail-Apple-interchange-newline">&lt;action application=&quot;set&quot; data=&quot;uuid3=${create_uuid()}&quot;/&gt;<div>&lt;action application=&quot;bridge&quot; data=&quot;[origination_uuid=${uuid1}]sofia/gateway/gw1/12345|[origination_uuid=${uuid2}]sofia/gateway/gw2/12345|[origination_uuid=${uuid3}]sofia/gateway/gw3/12345&quot;/&gt;</div><div><br></div><div>fail_on_single_reject wouldn&#39;t help you if you&#39;re using {} since if you failover to the 2nd leg both 1st and 2nd leg would try using the same UUID<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 July 2016 at 06:36, Petr Parýzek <span dir="ltr">&lt;<a href="mailto:PetrParyzek@seznam.cz" target="_blank">PetrParyzek@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 lang="CS" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for reply!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I</span><span lang="EN-CA" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&#39;m using uuid created with create_uuid api function, so by my opinion it should be unique.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The error began occur after I started using operator | for failover. So if I understand this correctly, with this operator origination_uuis can&#39;t be set.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Is this correct?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Petr<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Anthony Minessale<br><b>Sent:</b> Thursday, July 28, 2016 11:42 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Duplicate UUID<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">When you supply the uuid with origination_uuid, it becomes your duty to make sure its unique id the uuid is in use already it will fail.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, Jul 28, 2016 at 5:36 AM, Petr Parýzek &lt;<a href="mailto:PetrParyzek@seznam.cz" target="_blank">PetrParyzek@seznam.cz</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal">Hi all,<br>I&#39;m using Freeswitch with a few Javascript scripts like automatic phone<br>dialer. Sometimes, when called party is BUSY, FS reports &quot;Duplicate UUID!&quot;<br>error and the session was ended with case DESTINATION_OUT_OF_ORDER. This is<br>contents of console from yesterday:<br><br>2016-07-27 20:46:56.249500 [INFO] amds.js:315<br>{origination_uuid=82b8a17d-c627-45dd-9eaf-86e9f31c57b1,origination_caller_id<br>_number=950330980,origination_caller_id_name=AMDS}sofia/gateway/gw91/0725045<br>121|sofia/gateway/gw90/0725045121<br>2016-07-27 20:46:56.249500 [NOTICE] switch_channel.c:1105 New Channel<br>sofia/external/0725045121 [82b8a17d-c627-45dd-9eaf-86e9f31c57b1]<br>2016-07-27 20:46:57.789511 [NOTICE] sofia.c:7891 Hangup<br>sofia/external/0725045121 [CS_CONSUME_MEDIA] [USER_BUSY]<br>2016-07-27 20:46:57.799501 [CRIT] switch_core_session.c:2232 Duplicate UUID!<br>2016-07-27 20:46:57.799501 [CRIT] mod_sofia.c:4456 Error Creating Session<br>2016-07-27 20:46:57.799501 [NOTICE] switch_ivr_originate.c:2762 Cannot<br>create outgoing channel of type [sofia] cause: [DESTINATION_OUT_OF_ORDER]<br>2016-07-27 20:46:57.799501 [NOTICE] switch_core_session.c:1664 Session 9903<br>(sofia/external/0725045121) Ended<br>2016-07-27 20:46:57.799501 [NOTICE] switch_core_session.c:1668 Close Channel<br>sofia/external/0725045121 [CS_DESTROY]<br>2016-07-27 20:46:57.799501 [NOTICE] amds.js:86 Script exited with info []<br><br>Can anyone say what is wrong?<br><br>Thanks!<br><br>Petr<br><br><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" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><p class="MsoNormal">Anthony Minessale II       <span style="font-family:&quot;MS Mincho&quot;">♬</span> @anthmfs  <span style="font-family:&quot;MS Mincho&quot;">♬</span> @FreeSWITCH  <span style="font-family:&quot;MS Mincho&quot;">♬</span><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><span style="font-family:&quot;MS Mincho&quot;">☞</span> <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  <span style="font-family:&quot;MS Mincho&quot;">☞</span> <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  <span style="font-family:&quot;MS Mincho&quot;">☞</span> <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><u></u><u></u></p></div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:&quot;MS Mincho&quot;">☞</span> <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch <span style="font-family:&quot;MS Mincho&quot;">☞</span> <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><u></u><u></u></p></div><div><p class="MsoNormal">ClueCon Weekly Development Call <u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:&quot;MS Mincho&quot;">☎</span> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  <span style="font-family:&quot;MS Mincho&quot;">☎</span> <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><div><p class="MsoNormal"><a href="https://www.youtube.com/watch?v=9XXgW34t40s" target="_blank"><span style="font-size:9.5pt;color:#1155cc">https://www.youtube.com/watch?v=9XXgW34t40s</span></a><u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>