[Asterisk-Users] Authenticate cmd with db
Glenn Dalgliesh
asterisk at techhat.com
Wed Oct 13 08:58:46 MST 2004
I want to authenticate against the asterisk internal database but don't seem
to be able to figure out the syntax for the Authenticate cmd. I am assuming
I have something wrong in line s,4
-- Executing Authenticate("SIP/5006-a54e", "/iaforward/5001pass|d") in new
stack
-- Playing 'agent-pass' (language 'en')
-- Playing 'auth-incorrect' (language 'en')
Thanks
database show
/iaforward/5001pass : 1111
/iaforward/5002pass : 2222
Exten => s,1,Answer
Exten => s,2,Read(EXTENA|extension|4)
Exten => s,3,Background(vm-password)
Exten => s,4,Authenticate(/iaforward/${EXTENA}pass|d)
Exten => s,5,Read(${iaforwardnum}|telephone-number|10)
More information about the asterisk-users
mailing list