<div dir="ltr">Thanks Zoltan, I was not aware of this option, I will add it to the wiki. I have tested this in my app and it works. That really simplifies my code and makes me feel better about reliability.<div><br></div><div>
Thank You,</div><div>Duvid Rottenberg</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 12:35 PM, Zoltan Medveczky <span dir="ltr">&lt;<a href="mailto:zoltan.medveczky@8x8.com" target="_blank">zoltan.medveczky@8x8.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can specify an &quot;Event-UUID&quot; header in your &quot;SendMsg&quot; command.  Its value will be relayed back in the &quot;Application-UUID&quot; header of the corresponding CHANNEL_EXECUTE and CHANNEL_EXECUTE_COMPLETE events.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, May 28, 2014 at 12:08 AM, Grant Bagdasarian <span dir="ltr">&lt;<a href="mailto:GB@cm.nl" target="_blank">GB@cm.nl</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there a state diagram available which shows the state transitioning for all Channel Events and Channel States?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Also, I’ve wrote a simple ESL application which listens for all events happening in FS during a single call, and I’ve been studying the Channel Events/States and the correlation between them. Very useful. I recommend every new ESL developer to do this.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I do have a small question.<u></u><u></u></p><p class="MsoNormal">When using the SendMSG method of ESLConnection to playback a file, the below sequence of events is generated.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Now my question is: is there a way to send some unique string with the sendmsg command and have that one appear in all the other events which are shown below.<u></u><u></u></p>

<p class="MsoNormal">I need to track the events which share a relationship. CHANNEL_EXECUTE and CHANNEL_EXECUTE_COMPLETE contain a unique Application-UUID, which is good and could suffice, but I haven’t found a way where I can relate the sendmsg command back to these two events.<u></u><u></u></p>

<p class="MsoNormal">I know there is the Unique-ID header, but I’d like every action to be uniquely identifiable. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is that possible or am I asking way too much?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">&quot;Command&quot;:      &quot;sendmsg c48f66c0-e5be-11e3-a832-551ac922334e&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Event-Subclass&quot;:            &quot;c48f66c0-e5be-11e3-a832-551ac922334e&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;call-command&quot;:              &quot;execute&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;execute-app-name&quot;:   &quot;playback&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;execute-app-arg&quot;:         &quot;/usr/src/freeswitch/sounds/basic/welcome.wav&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;event-lock&quot;:     &quot;true&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Event-Name&quot;: &quot;PRIVATE_COMMAND&quot;,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">

&quot;Event-Name&quot;: &quot;CHANNEL_EXECUTE&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Application&quot;:    &quot;playback&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Application-Data&quot;:         &quot;/usr/src/freeswitch/sounds/basic/welcome.wav&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;Application-UUID&quot;:       &quot;ca0df0a8-e5be-11e3-a83e-551ac922334e&quot;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">&quot;Event-Name&quot;: &quot;PLAYBACK_START&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;Playback-File-Path&quot;:     &quot;/usr/src/freeswitch/sounds/basic/welcome.wav&quot;,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">&quot;Event-Name&quot;: &quot;PLAYBACK_STOP&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;Playback-File-Path&quot;:     &quot;/usr/src/freeswitch/sounds/basic/welcome.wav&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Playback-Status&quot;:           &quot;done&quot;<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">&quot;Event-Name&quot;: &quot;CHANNEL_EXECUTE_COMPLETE&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Application&quot;:    &quot;playback&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;Application-Data&quot;:         &quot;/usr/src/freeswitch/sounds/basic/welcome.wav&quot;,<u></u><u></u></p><p class="MsoNormal">&quot;Application-Response&quot;:              &quot;FILE PLAYED&quot;,<u></u><u></u></p>

<p class="MsoNormal">&quot;Application-UUID&quot;:       &quot;ca0df0a8-e5be-11e3-a83e-551ac922334e&quot;<u></u><u></u></p></div></div><br></div></div><div class="">_________________________________________________________________________<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>
<br></div></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>