[Asterisk-Dev] Asterisk with MySQL
Brian Wilkins
brian at hcc.net
Wed Jan 5 08:07:52 MST 2005
When do you want to perform authentication? Registration or on placing call?
If it's placing call, I use the mysql addon that you can checkout from cvs by
doing cvs checkout asterisk-addons. The application is called
app_addon_sql.mysql. It can be called from your dialplan and you could
possibly perform queries based on the ${CALLERIDNAME}, depending on how you
plan to authenticate. There are plenty of creative ways to do authentication
and the addon MYSQL allows you to perform authentication in your dialplan.
On Wednesday 05 January 2005 06:42 pm, Muhammad Rizwan Khan wrote:
> Hello
> I am trying to configure asterisk with MySQL for user authentication.
> According to dynamic friends "To enable this, you need to edit the Makefile
> in the channels directory of your source tree and enable MYSQL_FRIENDS.
> This enables database definition of both IAX2 and SIP friends. Make sure
> you have the MySQL development kit (libraries) installed before
> compilation. " http://www.voip-info.org/wiki-Asterisk+sip+mysql+peers
>
> But in this make file, i did not find any disabled entry that need to be
> enable related to dynamic friends.
> Makefile is attached with email. plz. help me what should i need to do, to
> enable user authentication from MySQL.
>
> Thanks
--
Brian Wilkins
Software Engineer
brian at hcc.net
Heritage Communications Corporation
Melbourne, FL USA 32935
321.308.4000 x33
http://www.hcc.net
More information about the asterisk-dev
mailing list