On Mon, 24 Sep 2012, Asterisk Newb wrote:
Thanks, situated the problem with the following:
exten => _212555.,1,Authenticate(/etc/asterisk/pins||3,j)
exten => _212555.,2,Dial(SIP/${EXTEN:3}@level3,90,tr)
Two suggestions:
1) Using the 'n' priority will make your dialplans more maintainable.
2) Using a more 'explicit' pattern like '_212555xxxx' will result in a
more responsive dialplan* because Asterisk 'knows' it is looking for a 10
digit number and won't have to 'wait' to see if it has the whole number.
(For circuits that don't deliver the DID/DNIS all at once.)
Using an 'open ended' pattern could also expose you to unexpected
outcomes.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users