[Asterisk-Users] press # to execute

Mike Roberts
Sun, 07 Nov 2004 05:08:27 -0000

I have this.

exten => 8,1,ANSWER
exten => 8,2,DigitTimeout,5
exten => 8,3,ResponseTimeout,10
exten => 8,4,playback(IVR/en_enter_destination)

exten => _1XXXXXXX.,1,dial(SIP/${EXTEN}@146.82.15.241)

Basicaly its like pressing 8 for long distance, but more controled.
But it has to wait until the timeout before it starts to dial. Is there
a way to make them press # when they are done dialing the num
in order to execute the _1XXXXXXX. I want to turn the timeout up
but don't want to have them waiting forever. I also need to have a
"exten => _011." in there as well. So it won't have the same
amount of digits everytime.