[asterisk-users] asterisk name in mysql

Atux Atux atuxnull at gmail.com
Fri Apr 21 14:12:22 CDT 2017


hi. currently i am running the phonebook in astdb with


*database put cidname 0123456789 "name_surname"*
and i retrive it with


*exten =>9876543210,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})*
Now, my system has mysql and i got all my contacts in there in a database
is called *asterisk *and a table called *addressbook**. *password of the
mysql is

*whateverpasswd*
how do i alter the above section of the extensions.conf code to query mysql
everytime there is a call, please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170421/ac8e7ae2/attachment.html>


More information about the asterisk-users mailing list