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.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Asterisk Newb
Sent: Monday, September 24, 2012 2:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Dial plan order of operations



        [allowed]
        exten => _1212321.,s,Goto(denied,s,1)
        exten => _1212333.,s,Goto(denied,s,1)
        exten => _1212456.,s,Goto(denied,s,1)

        exten => _1212555., 1,Authenticate(pins||3,j)
        exten => _1212555., 2,Dial(SIP/${EXTEN)@mycarrier)
        exten => 102,Hangup
        
        
        
        
        [denied]
        exten => s,1,Playback(num-outside-area)
        exten => s,2,Hangup
        

        ?
        


My final question to the list (hopefully) will be, why doesn't this work as 
documented (voip-wiki, etc):

My dialplan (Asterisk 1.2 line)

exten => _212555.,1,Authenticate(/etc/asterisk/IntlPins||3,j)

exten => _212555.,2,Dial(SIP/${EXTEN:3}@level3,90,tr)

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

exten => _212333.,1,Authenticate(/etc/asterisk/IntlPins||3,j)

exten => _212333.,2,Dial(SIP/${EXTEN:3}@level3,90,tr)

exten => 102,1,hangup
When I try calling, I am prompted for the pin, I enter it 3 time and rather 
than it go to n+101 it allows the call through.


--
_____________________________________________________________________
-- 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

Reply via email to