You shouldn't need event-lock in this case, as long you don't try to queue up any more playback events while playing a file. And yes, an immediate playback after a break will always work, but you will need to execute break the same way you execute playback - to make sure they end up in the same queue. If you do that it will work fine, and it's always safe that an immediate playback after the break will be executed as expected. /Peter 2013/5/31 D D <tru083@yahoo.com>
Hi,
If I have an async ESL playback operation running, and I issue a 'break', immediately followed by a new playback, is there any chance that the second playback will be stopped by the 'break' ?
In my testing I never observed something like this happening, but I was wondering if event-lock is really needed in this case. The event-lock causes other side effects that I would like to avoid if possible.
Thanks, David
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org