[asterisk-users] Play audio and continue to next priority before audio ends...

Thomas Winter thowinter at googlemail.com
Wed Apr 11 11:28:30 MST 2007


Am Monday 09 April 2007 23:20 schrieb Alejandro Mejía:
> Hello list members.
>
> I would like to know how to playback an audio file to the caller, and while
> it's played asterisk to continue executing the next priorities on
> extensions.conf
> That's not the case when using "playback" command, because the next
> priority is executed until the audio file ends playing. I want to evaluate
> some variables while caller hears the audio file.
>
> Any ideas?

Use StartMusicOnHold() and StopMusicOnHold()

If use use MoH type=files MoH play from start of file, so ist similar to 
Playback





More information about the asterisk-users mailing list