I checked. I get same UUID.<div><div><br></div><div>---------------</div><div><div>            //obtain new UUID from server</div><div>            string pStrNewUUID = pObjEslConn.Api(&quot;create_uuid&quot;, null).GetBody();</div>

<div><br></div><div>            ESLevent pObjESLEvOriginate = null;</div><div>            pObjESLEvOriginate =</div><div>                pObjEslConn.Bgapi(</div><div>                &quot;originate&quot;,</div><div>                &quot;{&quot; +</div>

<div>                &quot;origination_uuid=&quot; + pStrNewUUID + &quot;,&quot; +</div><div>                &quot;ignore_early_media=true,origination_caller_id_name=..}sofia/gateway/v/1&quot; + aStrPhNo + &quot; 1056 XML default&quot;, </div>

<div>                pStrNewUUID);</div><div><br></div><div>            //if this remains the same, then no need to have this logic</div><div>            string pStrJobUUID = pObjESLEvOriginate.GetHeader(&quot;Job-UUID&quot;, -1);</div>

<div>---------------</div><br class="Apple-interchange-newline"><div>At this point, pStrJobUUID and pStrNewUUID are the same value.</div><div><br></div><div>Is this normal?</div><div><br></div><div>Thanks.</div><div><br>
</div><div>Malay</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Apr 18, 2012 at 12:43 AM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Seems strange. These must be two different values. The first uuid is generated for the actual call, the second is a uuid to help you keep track of the background job. Are you sure they are the same, and not just very similar?<br>


<br>
/Peter<br>
<br>
18 apr 2012 kl. 06:58 skrev &quot;Malay Thakershi&quot; &lt;<a href="mailto:mthakershi@gmail.com" target="_blank">mthakershi@gmail.com</a>&lt;mailto:<a href="mailto:mthakershi@gmail.com" target="_blank">mthakershi@gmail.com</a>&gt;&gt;:<br>

<div><br>
I am using exact same code as given here:  <a href="http://wiki.freeswitch.org/wiki/Esl#Examples" target="_blank">http://wiki.freeswitch.org/wiki/Esl#Examples</a><br>
<br>
bgapi to invoke &quot;originate&quot;<br>
<br>
Thanks.<br>
<br>
Malay<br>
<br>
</div><div>On Tue, Apr 17, 2012 at 6:54 PM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&lt;mailto:<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;&gt; wrote:<br>

Are you using the same bgapi or just a plain API?<br>
-Avi<br>
<br>
<br>
</div><div>On Wed, Apr 18, 2012 at 2:30 AM, Malay Thakershi &lt;<a href="mailto:mthakershi@gmail.com" target="_blank">mthakershi@gmail.com</a>&lt;mailto:<a href="mailto:mthakershi@gmail.com" target="_blank">mthakershi@gmail.com</a>&gt;&gt; wrote:<br>


Hello,<br>
<br>
Here is a code snippet from ESL example in wiki. <a href="http://wiki.freeswitch.org/wiki/Esl#Examples" target="_blank">http://wiki.freeswitch.org/wiki/Esl#Examples</a><br>
<br>
my $uuid = $con-&gt;api(&quot;create_uuid&quot;)-&gt;getBody();<br>
my $res =<br>
    $con-&gt;bgapi(&quot;originate&quot;,&quot;{origination_uuid=$uuid}$target 9664&quot;);<br>
my $job_uuid = $res-&gt;getHeader(&quot;Job-UUID&quot;);<br>
<br>
I use same code but in ManagedELS. But, I always get uuid and job_uuid same value.<br>
<br>
My question is, if it is same value then is it necessary to get job_uuid from res?<br>
<br>
Thanks.<br>
<br>
Malay Thakershi<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>

<div><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>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>

<div><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>
</div>!DSPAM:4f8e476532761383613141!<br>
<div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>

<div><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>
</div>!DSPAM:4f8e476532761383613141!<br>
<div><div><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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
</div></div></blockquote></div><br></div>
</div>