[Freeswitch-users] playback: Easy ways to handle different situations?

Brian West brian at freeswitch.org
Tue Oct 21 06:14:24 EDT 2008


On Oct 21, 2008, at 3:29 AM, Dennis wrote:

> Hi,
>
> I am fiddling arround with fs and different situations to handle
> playbacks and wonder, if there are some tricks or options, to tell
> "playback", to handle playbacks in different ways?
>
> What  I found out till now:
>
> 1.) If i want to stop a playback, I have to send a "break"...
>
> 2.) If I playback a soundfile (#1) and tell fs to play another
> soundfile (#2), while #1 is still playing back, fs behaves as follow:
> #1 will pause, #2 will be played back and after #2 was played back, #1
> will continue to play back.
> Why is this the default behavior?
>

If you add "event-lock:true" to your message you send then it will do  
what you want.  It will play the files in order as you expect.

/b




More information about the Freeswitch-users mailing list