Yep - I built out a very simple test:<br><br> string uuid = &quot;12345678-1234-4321-123456789012&quot;;<br><br> apiResult = fsApi.Execute(&quot;originate&quot;, string.Format(&quot;{{ignore_early_media=false,absolute_codec_string=&#39;PCMU&#39;}}[origination_uuid={0},origination_caller_id_number={1}]sofia/gateway/broadvox/{2} &amp;park&quot;, uuid, &quot;2129996599&quot;, &quot;6093693828&quot;));<br>
<br> Log.WriteLine(LogLevel.Alert, &quot;Originate returns: {0}&quot;, apiResult);<br><br> Session.Execute(&quot;park&quot;, &quot;&quot;);<br><br><div class="gmail_quote">relevant log details:<br><br>2009-09-11 11:28:22.750000 [ALERT] switch_cpp.cpp:1130 Originate returns: +OK 12345678-1234-4321-123456789012<br>
 <br>uuid_getvar 12345678-1234-4321-123456789012 uuid   RETURNS: 3e1ef4ee-8e39-b841-a9a0-6ac997b56275<br><br> uuid _kill 3e1ef4ee-8e39-b841-a9a0-6ac997b56275 -ERR No Such Channel<br><br>However: uuid _kill 12345678-1234-4321-123456789012 RETURNS +OK and drops the call.<br>
 <br>I repeated the test and attached the screenshot. Be interested to know where that 3e1ef4ee-8e39-b841-a9a0-6ac997b56275 comes from. <br><br>All academic - just for interest and better understanding.<br><br><br><br><br>
<br><br><br><br><br><br>On Thu, Sep 10, 2009 at 6:01 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As a sanity test, can you bring up a bridged call and run this test directly from the command line and compare the results to what&#39;s in your script? <br><font color="#888888">-MC</font><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 2:24 PM, Phillip Jones <span dir="ltr">&lt;<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Strangely - the uuid_getvar &lt;the_uuid_you_are_checking&gt; uuid workaround does not work for me.<br>

<br>This is the result of:<br><br>apiResult = fsApi.ExecuteString(string.Format(&quot;uuid_getvar {0} uuid&quot;, call.Uuid));<br>
Log.WriteLine(LogLevel.Alert, &quot;RESULT: uuid_getvar {0} is: {1}&quot;, call.Uuid, apiResult);<br><br>returns a different uuid?????<br><br>2009-09-10 17:12:26.953125 [ALERT] switch_cpp.cpp:1130 RESULT: uuid_getvar 54dd24be-b0da-684f-acee-38c7530b4c2b is: 1a0e83db-240c-ac4e-ae45-bf5d5b46f5c3<br>


<br>the passed uuid is vaild however:<br><br>2009-09-10 17:12:26.953125 [ALERT] switch_cpp.cpp:1130 RESULT: uuid_kill 54dd24be-b0da-684f-acee-38c7530b4c2b is: +OK<br><br>Can a call leg have two uuids??<br><br><br><div class="gmail_quote">

<div><div></div><div>
On Thu, Sep 3, 2009 at 5:56 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div>
<br><br><div class="gmail_quote"><div>On Thu, Sep 3, 2009 at 2:23 PM, Benedikt Fraunhofer <span dir="ltr">&lt;<a href="mailto:fraunhofer.lists.freeswitch-001@traced.net" target="_blank">fraunhofer.lists.freeswitch-001@traced.net</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><br>
<br>
&gt; Usage: uuid_exists &lt;uuid&gt;<br>
&gt; However when I call via an API call I get:<br>
&gt; INVALID COMMAND!<br>
&gt; I also don&#39;t see it in MOD_COMMAND.C<br>
<br>
</div>As a workaround or if your are unable to upgrade, you can use<br>
&quot;uuid_getvar [some_uuid] thisVariableDoesNotExist&quot;<br>
(&quot;thisVariableDoesNotExist&quot; is any variable you can think of, a valid<br>
one or literally &#39;thisVariableDoesNotExist&#39; :)<br>
You&#39;ll either get an error that this channel does not exist any longer<br>
or &quot;undef&quot; for the channel variable.<br>
The api will return &quot;+OK&quot; in case the channel still exists, and<br>
&quot;ERROR&quot; in case it does not.<br>
<br>
Beni.<br>
<div><div></div><div><br></div></div></blockquote></div><div><br>You could even do this:<br>uuid_getvar &lt;the_uuid_you_are_checking&gt; uuid<br><br>If it exists then the return will be the uuid. :) <br><br>Although I must say I recommend this instead:<br>



make current<br><br>:)<br>-MC<br></div></div><br>
<br></div></div>_______________________________________________<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><br>
<br></blockquote></div><br>
<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><br>
<br></blockquote></div><br>
</div></div><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>
<br></blockquote></div><br>