Using a calling card I want to make a phone call. The sequence is as folows:
1. Dial a 1800 number : 1800XXXXXXX
2. Dial calling card Pin : 123456#
3. Dial the number I want to call : 1212XXXXXXX#
i don't want this type of voice prompt
-------------------------------------------
"Please enter your calling card number"
"I'm sorry thats an invalid card"
"You have Twenty minutes remaing on this card"
"Please enter the number you wish to call"
Will this work?
[from-internal-custom]
exten => _1XXXXXXXXXX,1,Dial(SIP/trunkname/1800xxxxxxx,M(sendccdigits)tr)
[macro-sendccdigits]
exten => s,1,Wait(1) ; wait 1 second
exten => s,n,SendDTMF(xxxxx); send the PIN
exten => s,n,Wait(1) ; wait 4 seconds for the time remaining on card
exten => s,n,SendDTMF(1xxxxxxxxxx); send the number
i want to make a call using calling card....
please help me
Regards
M.Mathi
Member Since:
2010-07-12