[SOLVED] Sending additional Digit dialing


#1

Hi

Last week installed AAH ver 2.8 and I have some qS regarding using a calling card service to make international calls

eg.
when user dial 2565 following shoud happen

Dail to Zap1/1 1800XXXYYYY
once the lines answered send International number 011 XX YYYY ZZZZZZ

Tried the following but and it seems not working

exten => 2656,1,Answer()
exten => 2656,n,playback(pls-wait-connect-call)
exten => 2656,n,Dial(Zap/1/${CARD1800},10)
exten => 2656,n,WaitforRing(1)
exten => 2656,n,SendDTMF(011918032673489)
exten => 2656,n,Hangup

So that I can create couple of Friends number each with 4 digit extension number which will avoid to type too many numbers.

Please let me know how to proceed further

Warm regards
Thambi


#2

using D option in Dial solved the issue

exten => 2656,1,Answer()
exten => 2656,n,playback(pls-wait-connect-call)
exten => 2656,n,Dial(Zap/1/${CARD1800},10,D(wwwwwww011918022673489))
exten => 2656,n,Hangup

added too many ‘w’ to wait for announcement from callingcard