I thought Background() only allowed you one digit dialing while it's playing. Is this not the case? I agree with the reply which said that you want to use DISA, the only problem with DISA is that you have no way to use the line for answering regular calls. Once you put the DISA command in the dialplan, you get the DISA dialtone for entering you code. I suppose if you know where you will be calling from, you could code in a specific dialplan based on your callerid info, but that just seems kind of tedious just for being about to dial out.
Undrhil --- Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com wrote: The number "dialed" after Background is stored in the EXTEN variable and can be used in the Dial application. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Don > Sent: Friday, June 23, 2006 5:29 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Asking for phone number to dial > > > background just accepts input while other sounds...etc...are being played... > instead of waiting for something to end and then accept input. > It doesn't store the number...etc...then add it to dial command for a zap > channel > > ----- Original Message ----- > From: "T. Shaw" <[EMAIL PROTECTED]> > To: <asterisk-users@lists.digium.com> > Sent: Friday, June 23, 2006 5:19 PM > Subject: RE: [Asterisk-Users] Asking for phone number to dial > > > > Isn't that what the Background() application does? > > > > > > > > > > [EMAIL PROTECTED] > > "blah..." > > > > > > > > > > > >>From: "Don" <[EMAIL PROTECTED]> > >>Reply-To: Asterisk Users Mailing List - Non-Commercial > >>Discussion<asterisk-users@lists.digium.com> > >>To: <asterisk-users@lists.digium.com> > >>Subject: [Asterisk-Users] Asking for phone number to dial > >>Date: Fri, 23 Jun 2006 15:51:00 -0400 > >> > >>Does anyone know where to find an example or able to provide an example of > >>how to do the following: > >> > >>When asterisk answers a call... > >>Ask for number to dial...then dial that number? > >>I am basically dialing into the asterisk box and then wanting it to take > >>the digits I enter and dial them on an outbound zap trunk... > >> > >>I basically am just not sure how to have asterisk accept the digits and > >>then use them in the dial command... > > > > > >>_______________________________________________ > >>--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 > > > > > > _______________________________________________ > > --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 > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.394 / Virus Database: 268.9.2/373 - Release Date: 6/22/2006 > > > > > > _______________________________________________ > --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 > _______________________________________________ > --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 > _______________________________________________ --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