I have a dialplan that requires that we use * to send the long distance access code to AT&T. I have found in the list that the `w` command can be used to inject a pause, I have tried the following: exten => _91NXXXXXXXXX,1,Dial(ZAP/g1/${EXTEN}www5555555,70) There `5555555` is the ld access code. I tried various quantities of `w`s but I never got * to dial the ld access code. Allof the cases I saw the `w` token discussed was at the beginning of the dialed digits. I tried putting a `w` at before the ${EXTEN} and it did appear to wait a little before dialing the digits. Maybe it doesn't work inside the dial string? I also tried the recommendation to use the Flash, SendDTMF, Wait, SendDTMF, but that didn't work at all. I need to implement this functionality in the dialplan. Does anyone have any suggestions? Thanks for your help! -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
Its an upppercase W bkw On Tue, 16 Dec 2003, Walker Haddock wrote:> I have a dialplan that requires that we use * to send the long distance access code to AT&T. I have found in the list that the `w` command can be used to inject a pause, I have tried the following: > > exten => _91NXXXXXXXXX,1,Dial(ZAP/g1/${EXTEN}www5555555,70) > > There `5555555` is the ld access code. I tried various quantities of `w`s but I never got * to dial the ld access code. Allof the cases I saw the `w` token discussed was at the beginning of the dialed digits. I tried putting a `w` at before the ${EXTEN} and it did appear to wait a little before dialing the digits. Maybe it doesn't work inside the dial string? > > I also tried the recommendation to use the Flash, SendDTMF, Wait, SendDTMF, but that didn't work at all. > > I need to implement this functionality in the dialplan. Does anyone have any suggestions? > > Thanks for your help! > -- > ******** DataCrest, Inc. -- Technically Superior ****************** > Walker Haddock http://www.datacrest.com > DataCrest, Inc. e-mail: wh@datacrest.com > 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 > Birmingham, AL 35216 fax: 1-205-823-7838 > *********************************************************************** > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Philipp von Klitzing
2003-Dec-17 06:15 UTC
[Asterisk-Users] AT&T access code entry by Asterisk
Hi!> exten => _91NXXXXXXXXX,1,Dial(ZAP/g1/${EXTEN}www5555555,70) > [...] > I need to implement this functionality in the dialplan. Does anyone > have any suggestions?See if you can get this done with the help of a .call file. In that call file you call an extension first dials out and then does something like Wait(2) SendDTMF() Recently there was a user in this list that claimed that this was the only way for him to get things working - didn't test it myself. Old posting below. Cheers, Philipp From: Chee Foong Subject: [Asterisk-Users] WipeOut - gateway access with pin solution Date: Thu, 14 Aug 2003 21:53:04 -0700 -------------------------------------------------------------------------- ------ Helo WipeOut, I have found a solution for sending dtmf after dial. I use spooling. Take a look at the sample.call file inside asterisk dir. You need to edit this file and dump it in /var/spool/asterisk/outgoing. Asterisk will precess this file automaticlly I create the sample.call do something like this: Channel: OH323/4324324324 #dial the access way MaxRetries: 3 RetryTime: 60 WaitTime: 30 Context: test-context #after connected to access gateway, proceed to context 'test-contet' in extension.conf Extension: 1 Priority: 1 # set var to be used in extension.conf SetVar: PINNO=1234 SerVar: NUMTOCALL=123123213123 # actual dest number My extension(test-extension) is: (in extension.conf) exten => 1,1,SendDTMF(${PINNO}) exten => 1,2, Wait, 3 exten => 1,3,SendDTMF(${NUMTOCALL}) However, this might not suitable for you, if your user dial in manually. My situation works fine cause everyting is automated where calling number and called number is inserted into db in advanced. also, chan_h323 has proplem sending DTMF, chan_oh323 works but sound quality is bad. Foong