[Asterisk-Users] sip.conf from mysql

Ryan Courtnage ryan at voxbox.ca
Fri Sep 10 09:16:18 MST 2004


Victor Alvarez wrote:
> I am trying to load sip.conf from mysql database. I have followed the 
> instructions at 
> _<http://www.voip-info.org/wiki-Asterisk+sip+mysql+peers>_. Seems that 
> the authentication (user & psw) works fine but I would like to get more 
> information from mysql and I don't know how to retrieve it. 

If you can live with a less-dynamic approach, check out:

http://www.voip-info.org/wiki-Asterisk+sip+conf+from+mysql

Using this 'keyword' & 'data' structure, you can have whatever 
keyword=value pairs you like in sip.conf.

Use retrieve_sip_conf_from_mysql.pl to read the mysql table and 
write-out sip.conf.

ryan



More information about the asterisk-users mailing list