Use Asterisk command: Authenticate (SOLVED)

On my current asterisk implementation (AsteriskNow 1.2, ASterisk 1.4), I have a voice menu that allows me to have the caller authenticate using a PIN before it will allow them to progress to a ring group. I need to be able to do the same thing on the FreePBX (v2.6 RC2.1), but I can’t seem to figure out how to do it. Here’s the context from my current system:


I’m assuming I need to setup a custom context, but I’m enough of a noob to FreePBX to not fully understand how to successfully implement this.

  1. Added Custom Destination in GUI:
    CD: premium-support,s,1
    Descrtiption: Premium Support

  2. Adjusted extensions_custom.conf via SSH:

exten => s,1,Answer()
exten => s,n,Authenticate(/etc/asterisk/support_auth.conf,j,5) ;the support_auth.conf file is a file that I created to hold all of the PIN’s that I want to make available to callers.
exten => s,n,Dial(SIP/9102,30,r) ;Any valid destination within FreePBX
exten => s,n,Hangup()
exten => s,n+98,Dial(IAX2/104,30,r)
exten => s,n,Hangup()

  1. Created inbound route to go to Custom Destination “Premium Support” via GUI