[Asterisk-Users] Script to Authenticate User and Dial Out
MF Hulber
asterisk-admin at hulber.com
Mon Mar 21 14:20:18 MST 2005
It seems the simplest approach is to create an extension(s) with the
password(s) and then if the incoming caller gets it correct, jump them
to another context. Otherwise stay in the default context and give
default prompts. I suppose you can find a way to read the password from
a DB or file or as you say, put it in a script.
[maincontext]
exten => 11112222,1,Goto(youwin,s,1)
exten => 22223333,1,Goto(youwin,s,1)
exten => s,1,Backgroun(vm-password)
exten => i,1,Goto(maincontext,s,1)
[youwin]
exten => s,1,Background(extension)
exten => 1,1,...
exten => 2,1,...
exten => 3,1,...
Josh Alberts wrote:
>Hello. I'm looking for a script that I can use that will ask users for
>a password, and then let them call any extension on the asterisk server.
> Does anyone know of a premade script that can do this, or a resource I
>could use to make my own?
>
>Thanks,
>Josh
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list