exten => s,1,Answer()
exten => s,n,Background(astcc-please-enter-your)
exten => s,n,Background(zip-code)
exten => s,n,WaitExten(5)
exten => s,n,Read(NUMBER,,5)
exten => s,n,SayDigits(${NUMBER})
exten => 22042,n,Dial(SIP/sipvendor/11111111111,120,A(ginger3))
exten => 22601,n,Dial(SIP/sipvendor/11111111111,120,A(ginger3)) ;
xxxxx/ winchester
exten => 21230,n,Dial(SIP/sipvendor/11111111111,120,A(ginger3)) ;
Mobile/Baltimore
I want to background to play "please enter your zip code"
Then say the digits pressed (5 digits)
Then map the five digits to an extension as shown to engage a Dial string
Examples above are not working.
Do I need an Answer() entry first for each zip code (extension)?
--
_____________________________________________________________________
-- 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