[asterisk-users] Dial plan order of operations

Asterisk Newb asterisk.newbie at gmail.com
Mon Sep 24 14:06:19 CDT 2012


On Mon, Sep 24, 2012 at 2:55 PM, Eric Wieling <EWieling at nyigc.com> wrote:

> Going to n+101 was deprecated in Asterisk 1.2 or 1.4.  Don't use it..
>  Read the docs for Authenticate and see what diaplan variables you can
> check.
>
>
>
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)

exten => _212444.,1,Authenticate(/etc/asterisk/pins||3,j)
exten => _212444.,2,Dial(SIP/${EXTEN:3}@level3,90,tr)

exten => _212333.,1,Authenticate(/etc/asterisk/pins||3,j)
exten => _212333.,2,Dial(SIP/${EXTEN:3}@level3,90,tr)

exten => _X.,102,hangup

; exten => 102,1,hangup <--- my screw up


So when someone dials a number to a dest (212555{444{333}}) they're asked
for a PIN 3x, if it fails now it hangs up
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120924/6f23bbc5/attachment.htm>


More information about the asterisk-users mailing list