[Asterisk-Users] Can asterisk get code for cmd Authenticate
fromDatabase
Steve Mann
smann at finelinesolutions.com
Thu Apr 7 11:42:18 MST 2005
You could use the Read App
(Read(variable[|filename][|maxdigits][|option])) in a dialplan to request
the user enter their code.
Then use AGI to launch an executeable script which is passed the variable
from the Read command, using this scripts native code to connect into the DB
and check if the password is correct, if not you can use AGI to have a
message played back to the user then hangup on them.
my 2 cents worth.....
Steve
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Bartosz
Wegrzyn - asterisk
Sent: Thursday, April 07, 2005 11:41 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Can asterisk get code for cmd Authenticate
fromDatabase
Hello,
I would like to store the account code for the user in mysql database.
Is the any way to retrieve that value and set for Authenticate cmd.
Is there any interface for asterisk to access database data?
Thanks
Bart,
_______________________________________________
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