[Asterisk-Users] AT&T access code entry by Asterisk
Walker Haddock
whaddock at datacrest.com
Tue Dec 16 17:46:32 MST 2003
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 at datacrest.com
1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589
Birmingham, AL 35216 fax: 1-205-823-7838
***********************************************************************
More information about the asterisk-users
mailing list