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/[EMAIL PROTECTED],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


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to