No...I need the audio to play while the AGI is running, but BEFORE the dial command.
I did solve it eventually by using the Dial Local Channel...while the AGI is running and before the second answer Thanks MD -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thomas Perron Sent: Monday, March 22, 2010 9:18 PM To: Asterisk Users List Subject: Re: [asterisk-users] Play music to caller after answer, before dial Does this help? The A near the end calls the audio file ginr3 exten => 551,1,Answer() exten => 551,n,Dial(SIP/callwithus/17025551212,120,A(ginr3)) On Mon, Mar 22, 2010 at 6:41 PM, Michelle Dupuis <mdup...@ocg.ca> wrote: > I think I forgot some important information... > > I'm actually running an AGI script after the answer (and before the dial). > I would like to play MOH while the AGI script is running, and then > perform the dial (ending the MOH). > > This is where I'm stuck.... > > Thanks! > Michelle > ________________________________ > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny > Nicholas > Sent: Monday, March 22, 2010 5:22 PM > To: Asterisk Users List > Subject: Re: [asterisk-users] Play music to caller after answer, > before dial > > This might be your answer: > > Exten => s,1,answer > > Exten => s,n,wait(10,m) > > Exten => s,n,Dial > > > > This would wait 10 seconds playing MOH before dialing. > > > > ________________________________ > > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle > Dupuis > Sent: Monday, March 22, 2010 3:58 PM > To: 'Asterisk Users List' > Subject: [asterisk-users] Play music to caller after answer, before > dial > > > > I would like to play music to an inbound caller, AFTER asterisk > answers the call, but before the call is bridged by DIAL. Is there a > simple way to achieve this? > > > > MD > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users