[Asterisk-Users] dial plan question

Sathya sathyaw at sbcglobal.net
Wed Feb 25 00:01:19 MST 2004


Hi,

I have a basic dial plan question;

Here is the scenario.

Call comes through IAX and my * authenticate, then  collect the digits and
dials out, simple :).

Here is the dial plan;

[did-in]
;for did  callers
exten => 866219xxxx,1,Ringing
exten => 866219xxxx,2,Wait,4
exten => 866219xxxx,3,Answer
exten => 866219xxxx,4,Authenticate(/etc/asterisk/authenticate.txt|a)
exten => 866219xxxx,5,GoTO(s|1)
exten => s,1,BackGround(pls-entr-num-uwish2-call)
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => _9XXXXXXXXXX,1,Playback(pls-wait-connect-call)
exten => _9XXXXXXXXXX,2,AbsoluteTimeout(3600)
exten => _9XXXXXXXXXX,3,ResetCDR(w)
exten => _9XXXXXXXXXX,4,Dial(H323/${EXTEN}@10.10.10.10,90)
exten => _9XXXXXXXXXX,5,Congestion
exten => _9XXXXXXXXXX,105,Busy

1. Isn't there be a better way to collect digits other than going to S
extension ?
2. How do we prevent a salient extension falling into s portion bypassing
the authentication ?

Appreciate any comments, suggestions.

Cheers

SW





More information about the asterisk-users mailing list