Newbie needing help.
I’d like to know how to connect my dial plan to a mysql database.
The goal is to have callers who reach a particular ext have to enter a PIN in order to continue to the next priority.
I’m using Asterisk@Home version 2.5
I don’t have a programming background so most of the self help sites I see are goobly gook to me. Please understand.
exten => 11,1,Background(custom/GreetingSaysEnterPIN)
exten => 11,2,Customer enters PIN listed in PIN_NUm mysql database.
exten => 11,3,If PIN is available call goes to priority 4. If invalid PIN is entered, caller gets “Invalid account” recording.