<div>Giovanni - Thanks for taking the time in confirming this and </div>
<div> </div>
<div>Anthony - tested on the latest git - thanks for the fix!</div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Fri, Jul 23, 2010 at 11:40 AM, Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Super!<br>(as always)<br>-giovanni<br>
<div>
<div></div>
<div class="h5"><br><br>On 7/23/10, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>&gt; I think I found a fix to suppress the err message.<br>&gt;<br>&gt;<br>
&gt; On Fri, Jul 23, 2010 at 12:54 AM, Giovanni Maruzzelli<br>&gt; &lt;<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>&gt;wrote:<br>&gt;<br>&gt;&gt; On Fri, Jul 23, 2010 at 4:12 AM, Phillip Jones &lt;<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>&gt;&gt; &gt; Hi there,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I have the following simple test script running in mod_managed:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Session.Answer();<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; string Uuid = fsApi.ExecuteString(&quot;create_uuid&quot;);<br>
&gt;&gt; &gt; string originateString =<br>&gt;&gt; &gt;<br>&gt;&gt; string.Format(@&quot;{{ignore_early_media=true}}[origination_uuid={0}]user/3478309995@64.40.xx.xxx<br>&gt;&gt; &gt; &#39;&amp;park&#39;&quot;, Uuid);<br>
&gt;&gt; &gt; apiResult = fsApi.Execute(&quot;originate&quot;, originateString);<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Session.Hangup(&quot;NORMAL_CLEARING&quot;);<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; When I run this script and I anwser the call, the console shows the<br>
&gt;&gt; &gt; error<br>&gt;&gt; &gt; message:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; [CRIT] switch_core_session.c:1287 Duplicate UUID!<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; However &#39;show channels&#39; reveals that the UUID is the expected<br>
&gt;&gt; &gt; value (that given in origination_uuid=), when the call is ringing and<br>&gt;&gt; after<br>&gt;&gt; &gt; it is answered.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; It is as if, FS is creating the call with the given UUID, and then on<br>
&gt;&gt; answer<br>&gt;&gt; &gt; trying to set the UUID to the given UUID again, but failing when it see<br>&gt;&gt; the<br>&gt;&gt; &gt; existing call.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I updated to the latest GIT HEAD just before sending this email.<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Any ideas? Is this something I should be worried about - or am I<br>&gt;&gt; &gt; using origination_uuid incorrectly?<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; Mmmmmh, I got the same problem in Erlang calling local users, and you<br>
&gt;&gt; can reproduce it from the command line too.<br>&gt;&gt;<br>&gt;&gt; But, if instead of calling a user/1000 extension you call<br>&gt;&gt; 1000%ipnumberofserver the problem is solved...<br>&gt;&gt;<br>&gt;&gt; btw, the &quot;duplicate uuid&quot; error does not seems to affect anything, all<br>
&gt;&gt; is working ok...<br>&gt;&gt;<br>&gt;&gt; -giovanni<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2442 Set Codec<br>&gt;&gt; &gt; sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> PCMU/8000 20 ms 160<br>
&gt;&gt; samples<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:3935 Set 2833 dtmf send<br>&gt;&gt; &gt; payload to 101<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2682 AUDIO RTP<br>
&gt;&gt; &gt; [sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>] 64.40.12.122 port<br>&gt;&gt; 26654<br>&gt;&gt; &gt; -&gt; 71.225.60.199 port 32126 codec: 0 ms: 20<br>
&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_rtp.c:1413 Starting timer<br>&gt;&gt; [soft]<br>&gt;&gt; &gt; 160 bytes per 20ms<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2892 Set 2833 dtmf send<br>
&gt;&gt; &gt; payload to 101<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2897 Set 2833 dtmf<br>&gt;&gt; receive<br>&gt;&gt; &gt; payload to 101<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_channel.c:2539<br>
&gt;&gt; &gt; (sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>) Callstate Change<br>&gt;&gt; RINGING<br>&gt;&gt; &gt; -&gt; ACTIVE<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [NOTICE] sofia.c:4876 Channel<br>
&gt;&gt; &gt; [sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>] has been answered<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate<br>
&gt;&gt; &gt; Resulted in Success: [sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>]<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:1287 Duplicate<br>
&gt;&gt; UUID!<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:457<br>&gt;&gt; &gt; sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> set<br>
&gt;&gt; &gt; UUID=73e6a583-a88c-42be-8908-860a637a67cb FAILED<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate<br>&gt;&gt; &gt; Resulted in Success: [sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>]<br>
&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] mod_commands.c:2936<br>&gt;&gt; &gt; (sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>) State Change<br>
&gt;&gt; &gt; CS_CONSUME_MEDIA -&gt; CS_EXECUTE<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_core_session.c:1039 Send<br>&gt;&gt; &gt; signal<br>&gt;&gt; &gt; sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> [BREAK]<br>
&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:314<br>&gt;&gt; &gt; (sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>) Running State Change<br>
&gt;&gt; &gt; CS_EXECUTE<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [ALERT] switch_cpp.cpp:1177 +OK<br>&gt;&gt; &gt; 73e6a583-a88c-42be-8908-860a637a67cb<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:348<br>
&gt;&gt; &gt; (sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a>) State EXECUTE<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] mod_sofia.c:235<br>
&gt;&gt; &gt; sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> SOFIA EXECUTE<br>&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:157<br>
&gt;&gt; &gt; sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> Standard EXECUTE<br>&gt;&gt; &gt; EXECUTE sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> park()<br>
&gt;&gt; &gt; 2010-07-22 21:49:37.843750 [DEBUG] switch_cpp.cpp:602<br>&gt;&gt; &gt; CoreSession::hangup<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; &gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Sincerely,<br>&gt;&gt;<br>&gt;&gt; Giovanni Maruzzelli<br>&gt;&gt; Cell : +39-347-2665618<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Anthony Minessale II<br>&gt;<br>&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>&gt;<br>&gt; AIM: anthm<br></div></div>&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
<div class="im">&gt; IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br>&gt;<br>&gt; FreeSWITCH Developer Conference<br></div>&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:+19193869900<br>&gt;<br><font color="#888888"><br>--<br>Sent from my mobile device<br></font>
<div>
<div></div>
<div class="h5"><br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br><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" 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><br></div></div></blockquote></div><br>