[Asterisk-Dev] Authenticate App with Rights Check.

Kevin P. Fleming kpfleming at digium.com
Wed Jan 11 20:02:40 MST 2006


Alvaro Parres wrote:

> this will search te user password and then check if he have the
> right 3.
> 
> I will start progamming this, i'm open for suggestions.

Why not just write it as an AGI in whatever language you wish? There is 
no advantage in it being a 'native' Asterisk application, and 
parsing/processing the text file will be much easier in a scripting 
language. Just call Authenticate() from the dialplan to get the user's 
id number and verify their password, then pass the ID number to the AGI 
to find out what permissions they have.



More information about the asterisk-dev mailing list