[asterisk-users] Re: Play audio and continue to next priority before
audio ends...
Tony Mountifield
tony at softins.clara.co.uk
Wed Apr 11 04:47:56 MST 2007
Alejandro Mejía <noc at carmeltelecom.com> wrote:
>
> 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?
Look at the Background() application. It does just what you are asking for.
I'm surprised no-one else has mentioned this.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list