<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think if you always wait until a command has been executed before you send a new command, it can't happened that you stop the wrong playback. If you pass Event-UUID in sendmsg like<div><br></div><div><div>…</div></div><div>sendmsg</div><div><div><div class="im"><div><div>Event-UUID: 5bf340cd-7a7e-4965-9285-95ed365ed242</div><div>call-command: ...</div><div>execute-app-name: ...</div><div>execute-app-arg: ...</div></div><div><div>…</div></div><div><br></div><div><br></div><div>you will get this UUID back as Application-UUID in the CHANNEL_EXECUTE and CHANNEL_EXECUTE_COMPLETE events, so we are able to match it.&nbsp;</div></div><div><br></div></div><div>So you can wait until you get&nbsp;CHANNEL_EXECUTE_COMPLETE before you send your second playback.</div><div><br></div><div>See also "<span style="font-size: 12px; ">Correlate SendMsg reply with request in async mode</span>" in the mailing list.</div><div><br></div><div>- Markus</div><div><br></div><div><br><div><div>Am 31.05.2013 um 16:38 schrieb D D &lt;<a href="mailto:tru083@yahoo.com">tru083@yahoo.com</a>&gt;:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div>Hi,</div><div><br></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">If I have an async ESL playback operation running, and I issue a 'break', immediately followed</div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">by a new playback, is there any chance that the second playback will be stopped by the 'break' ?</div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">In my testing I never observed something like this happening, but I was wondering if&nbsp;<span style="background-color: transparent; ">event-lock&nbsp;</span></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent; ">is really needed in this case. &nbsp;The event-lock causes other side effects that I would</span></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">like to avoid if possible.</div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 16px; ">Thanks,</div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">David</div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>