Darren Nay
2007-Jan-22 17:01 UTC
[asterisk-users] Streaming audio file while working in background ?
Hey All, Is there an app available, or another method, to stream an audio file to a caller while performing additional actions in the background? Regardless of whether DTMF is received or not from the caller. I had originally thought that I could use the "Background" app for this but after further investigation found that Background is primarily for playing audio and waiting for DTMF, and it seems it won't do what I need in this situation. Ideally I would like to be able to play an audio file to the caller while making outbound calls in the background (via the Dial app) and then discontinue the audio file stream and bridge the calls once an outbound call is connected. Can anyone point me in the right direction on how to do this with * ? Thanks in advance, Darren Nay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070122/6e69e01b/attachment.htm
Andrew Joakimsen
2007-Jan-22 19:00 UTC
[asterisk-users] Streaming audio file while working in background ?
Dial(ZAP/g1/18005551212,90,m) m will play music on hold while the call rings. On 1/22/07, Darren Nay <dnay@xennsoft.com> wrote:> > > > > Hey All, > > > > Is there an app available, or another method, to stream an audio file to a > caller while performing additional actions in the background? Regardless of > whether DTMF is received or not from the caller. I had originally thought > that I could use the "Background" app for this but after further > investigation found that Background is primarily for playing audio and > waiting for DTMF, and it seems it won't do what I need in this situation. > > > > Ideally I would like to be able to play an audio file to the caller while > making outbound calls in the background (via the Dial app) and then > discontinue the audio file stream and bridge the calls once an outbound call > is connected. > > > > Can anyone point me in the right direction on how to do this with * ? > > > > Thanks in advance, > > Darren Nay > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Victor Toofic
2007-Jan-23 07:47 UTC
[asterisk-users] Streaming audio file while working in background ?
El lun, ene 22 de 2007 a las 16:58 -0700, Darren Nay comentaba:> > Ideally I would like to be able to play an audio file to the caller > while making outbound calls in the background (via the Dial app) and > then discontinue the audio file stream and bridge the calls once an > outbound call is connected.Maybe you can execute a macro when the called party answers and still provide music on hold or something to the caller, this is done with the opcion 'M' of the Dial app. http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial Look at the Example Nr 2.