[asterisk-dev] Ideas on starting a background "autoservice" playback of a prompt, allowing dialplan/agi to continue in the meantime

Stephen Davies stephen.l.davies at gmail.com
Thu May 28 06:58:16 CDT 2009


Hi,
I have an application where I need to be able to start a file playing back
on a channel, but be able to continue with execution in my agi-script /
dialplan whilst the file plays.  I will then stop the playback later.

The idea is to start a "please wait" type message on the channel but be able
to continue routing the call in the meantime and be able to immediately
interrupt and cancel the playback when we have something to do.  Kind of
like a "ringing" but using a generator that plays back a file.

I have in mind a command that starts a linear generator on the channel and
then autoservices the channel.  Or something similar to that.

Any comments from those more experienced than me as to how to get this done.
 Maybe I've overlooked a much easier way?

Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090528/2a10abaa/attachment.htm 


More information about the asterisk-dev mailing list