<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"><<a href="mailto:zoltan.medveczky@8x8.com" target="_blank">zoltan.medveczky@8x8.com</a>></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 "Event-UUID" header in your "SendMsg" command. Its value will be relayed back in the "Application-UUID" 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"><<a href="mailto:GB@cm.nl" target="_blank">GB@cm.nl</a>></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">"Command": "sendmsg c48f66c0-e5be-11e3-a832-551ac922334e",<u></u><u></u></p><p class="MsoNormal">"Event-Subclass": "c48f66c0-e5be-11e3-a832-551ac922334e",<u></u><u></u></p>
<p class="MsoNormal">"call-command": "execute",<u></u><u></u></p><p class="MsoNormal">"execute-app-name": "playback",<u></u><u></u></p><p class="MsoNormal">"execute-app-arg": "/usr/src/freeswitch/sounds/basic/welcome.wav",<u></u><u></u></p>
<p class="MsoNormal">"event-lock": "true",<u></u><u></u></p><p class="MsoNormal">"Event-Name": "PRIVATE_COMMAND",<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
"Event-Name": "CHANNEL_EXECUTE",<u></u><u></u></p><p class="MsoNormal">"Application": "playback",<u></u><u></u></p><p class="MsoNormal">"Application-Data": "/usr/src/freeswitch/sounds/basic/welcome.wav",<u></u><u></u></p>
<p class="MsoNormal">"Application-UUID": "ca0df0a8-e5be-11e3-a83e-551ac922334e"<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">"Event-Name": "PLAYBACK_START",<u></u><u></u></p>
<p class="MsoNormal">"Playback-File-Path": "/usr/src/freeswitch/sounds/basic/welcome.wav",<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">"Event-Name": "PLAYBACK_STOP",<u></u><u></u></p>
<p class="MsoNormal">"Playback-File-Path": "/usr/src/freeswitch/sounds/basic/welcome.wav",<u></u><u></u></p><p class="MsoNormal">"Playback-Status": "done"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">"Event-Name": "CHANNEL_EXECUTE_COMPLETE",<u></u><u></u></p><p class="MsoNormal">"Application": "playback",<u></u><u></u></p>
<p class="MsoNormal">"Application-Data": "/usr/src/freeswitch/sounds/basic/welcome.wav",<u></u><u></u></p><p class="MsoNormal">"Application-Response": "FILE PLAYED",<u></u><u></u></p>
<p class="MsoNormal">"Application-UUID": "ca0df0a8-e5be-11e3-a83e-551ac922334e"<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>