Christopher Jacob
2004-Dec-06 13:01 UTC
[Asterisk-Users] retrieve_extensions_from_mysql.pl
Hey All, I want to use retrieve_extensions_from_mysql.pl to build my extensions.conf file from MySQL. Everything seems to be self explanatory except... 1. STATIC= and WRITEPROTECT= (How do I store these in the DB) 2. include => (how to I store / output these? "exten =>" seems to be hardcoded. Any help would be appreciated!!! Thanks, ~c
The retrieve_extensions_from_mysql.pl script should output to a different file. You then include this file inside your sip.conf. My personal example: retrieve_...pl outputs to sip_additional.conf My sip.conf has all my global config options. And at the bottom of sip.conf, I #include "sip_additional.pl" Simple, Matthew ----- Original Message ----- From: "Christopher Jacob" <chris@jacob-solutions.com> To: <asterisk-users@lists.digium.com> Sent: Monday, December 06, 2004 2:01 PM Subject: [Asterisk-Users] retrieve_extensions_from_mysql.pl> Hey All, > > I want to use retrieve_extensions_from_mysql.pl to build myextensions.conf> file from MySQL. Everything seems to be self explanatory except... > > 1. STATIC= and WRITEPROTECT= (How do I store these in the DB) > > 2. include => (how to I store / output these? "exten =>" seems to be > hardcoded. > > Any help would be appreciated!!! > > Thanks, > > ~c > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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