[Asterisk-Users] Storing extension prefs. in MySQL

Arnar Birgisson arnarb at oddi.is
Fri Sep 9 08:43:20 MST 2005


Hello,

In the examples on voip-info.org DBSet and DBGet are used to store configuration variables such as immediate call forwarding settings etc.

I would like to store these seetings in a mysql database, so that they are more easily accessible from a user configuration page on a webserver. Since these settings need to be checked in the dialplan for each call to the extension, it seems a bit to much to have to connect, query and disconnect from mysql every time. Is there any way to keep a persistent connection to mysql that can be queried from the dialplan?

Arnar




More information about the asterisk-users mailing list