[Asterisk-Users] command Authenticate
Juan J. Sierralta P.
juanjo at atmlab.utfsm.cl
Tue Dec 16 21:44:43 MST 2003
On Tue, 2003-12-16 at 18:24, SW wrote:
> Hi folks,
>
> Sorry to post bunch of messages today, I am deep into this and hope any help
> from the experts.
>
> I am using the command Authenticate as explained in wi-ki:
>
>
> ===================
> Authenticate(password[|options])
>
> Requires a user to enter a given password in order to continue execution. If
> the password begins with the '/' character, it is interpreted as a file
> which contains a list of valid passwords (1 per line).
>
> An optional set of options may be provided by concatenating any of the
> following letters:
>
>
> a - Set account code to the password that is entered
It means Authenticate(2342,a) will use "2342" as the account code, so
you can do something like
exten => 4,1,Authenticate(2342)
exten => 4,2,SetAccount(abc)
--
Juanjo sin .sig
More information about the asterisk-users
mailing list