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"><<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>></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 <<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>> wrote:<br>
> Hi there,<br>
><br>
> I have the following simple test script running in mod_managed:<br>
><br>
> Session.Answer();<br>
><br>
> string Uuid = fsApi.ExecuteString("create_uuid");<br>
> string originateString =<br>
> string.Format(@"{{ignore_early_media=true}}[origination_uuid={0}]user/3478309995@64.40.xx.xxx<br>
> '&park'", Uuid);<br>
> apiResult = fsApi.Execute("originate", originateString);<br>
><br>
> Session.Hangup("NORMAL_CLEARING");<br>
><br>
> When I run this script and I anwser the call, the console shows the error<br>
> message:<br>
><br>
> [CRIT] switch_core_session.c:1287 Duplicate UUID!<br>
><br>
><br>
> However 'show channels' reveals that the UUID is the expected<br>
> value (that given in origination_uuid=), when the call is ringing and after<br>
> it is answered.<br>
><br>
> It is as if, FS is creating the call with the given UUID, and then on answer<br>
> trying to set the UUID to the given UUID again, but failing when it see the<br>
> existing call.<br>
><br>
> I updated to the latest GIT HEAD just before sending this email.<br>
><br>
> Any ideas? Is this something I should be worried about - or am I<br>
> using origination_uuid incorrectly?<br>
><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 "duplicate uuid" error does not seems to affect anything, all<br>
is working ok...<br>
<br>
-giovanni<br>
<div><div></div><div class="h5"><br>
<br>
><br>
><br>
> Thanks<br>
><br>
><br>
><br>
><br>
><br>
> 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2442 Set Codec<br>
> 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>
> 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:3935 Set 2833 dtmf send<br>
> payload to 101<br>
> 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2682 AUDIO RTP<br>
> [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>
> -> 71.225.60.199 port 32126 codec: 0 ms: 20<br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_rtp.c:1413 Starting timer [soft]<br>
> 160 bytes per 20ms<br>
> 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2892 Set 2833 dtmf send<br>
> payload to 101<br>
> 2010-07-22 21:49:37.843750 [DEBUG] sofia_glue.c:2897 Set 2833 dtmf receive<br>
> payload to 101<br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_channel.c:2539<br>
> (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>
> -> ACTIVE<br>
> 2010-07-22 21:49:37.843750 [NOTICE] sofia.c:4876 Channel<br>
> [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>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate<br>
> 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>
> 2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:1287 Duplicate UUID!<br>
> 2010-07-22 21:49:37.843750 [CRIT] switch_core_session.c:457<br>
> sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> set<br>
> UUID=73e6a583-a88c-42be-8908-860a637a67cb FAILED<br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_ivr_originate.c:3351 Originate<br>
> 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>
> 2010-07-22 21:49:37.843750 [DEBUG] mod_commands.c:2936<br>
> (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>
> CS_CONSUME_MEDIA -> CS_EXECUTE<br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_core_session.c:1039 Send signal<br>
> sofia/internal/<a href="http://sip:3478309995@71.225.60.199:5900" target="_blank">sip:3478309995@71.225.60.199:5900</a> [BREAK]<br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:314<br>
> (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>
> CS_EXECUTE<br>
> 2010-07-22 21:49:37.843750 [ALERT] switch_cpp.cpp:1177 +OK<br>
> 73e6a583-a88c-42be-8908-860a637a67cb<br>
><br>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:348<br>
> (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>
> 2010-07-22 21:49:37.843750 [DEBUG] mod_sofia.c:235<br>
> 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>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_core_state_machine.c:157<br>
> 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>
> 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>
> 2010-07-22 21:49:37.843750 [DEBUG] switch_cpp.cpp:602 CoreSession::hangup<br>
><br>
</div></div><div class="im">> _______________________________________________<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>
><br>
><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>