I think I found a fix to suppress the err message.<div><br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 12:54 AM, Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Jul 23, 2010 at 4:12 AM, Phillip Jones &lt;<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>&gt; wrote:<br>

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