I am not sure how one would do that. If I have a dialplan that does a chanspy the dialplan hangs on that step so how could you do a background step?
I am clearly missing something in your suggestion. I am using version 1.6.0.1 if that makes a difference. Here is more about my setup. One leg of the call is created by a logged in agent being added to a queue. While the other leg of the call is the result of an originate action that queues the call when it is answered. I use the monitor action to record either or both legs of the call. I use an originate action to a third leg that executes a dialplan that does a chanspy to one of the active legs to "spy" on the call. What do you suggest I use to play a sound file so that the original two legs, or all three legs if there is spying going on, can hear it? The monitor, spy and playing of sound files are all independent things that I might want to perform with the original two legs. -- Jim Dickenson mailto:[EMAIL PROTECTED] CfMC http://www.cfmc.com/ > From: Danny Nicholas <[EMAIL PROTECTED]> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <[email protected]> > Date: Thu, 20 Nov 2008 16:46:54 -0600 > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > <[email protected]> > Subject: Re: [asterisk-users] Playback using AMI > > Just set up a new "spy" in the dialplan that performs a Background on the > sound file, then hangs up. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jim Dickenson > Sent: Thursday, November 20, 2008 4:34 PM > To: Asterisk User MailList > Subject: [asterisk-users] Playback using AMI > > Is there a way to inject sound from a sound file into an established call > using AMI? > > I have an established call from which I can record either or both legs. I > can additionally "spy" on the call. Is there any way I can play a sound file > into the call and not loose the ability for the people to continue talking > while listening to the sound file? > -- > Jim Dickenson > mailto:[EMAIL PROTECTED] > > CfMC > http://www.cfmc.com/ > > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
