<div><br><a href="http://www.voip-info.org/tiki-index.php?page=Asterisk+RealTime+Static">http://www.voip-info.org/tiki-index.php?page=Asterisk+RealTime+Static</a></div>
<div>&nbsp;</div>
<div>There is a perl script on this page that will insert data from your config files to your database. You must create the table first before using the script. </div>
<div>&nbsp;</div>
<div>Regarding the ones that dont work, here is what I've found:</div>
<div>&nbsp;</div>
<div>asterisk.conf&nbsp; extconfig.conf&nbsp; logger.conf&nbsp; modules.conf&nbsp; res_odbc.conf</div>
<div>&nbsp;</div>
<div>There also seems to be an issue with the dnsmgr.conf requiring a reload after starting asterisk.</div>
<div>&nbsp;</div>
<div>Note also your modules.conf need to force the odbc config to load first or the config files will be loaded from text files rather than the DB.</div>
<div>&nbsp;</div>
<div>here is my modules.conf file:</div>
<div>[modules]<br>autoload = yes</div>
<div>preload =&gt; res_odbc.so<br>preload =&gt; res_config_odbc.so<br>&nbsp;</div>
<div>Obviously your unixODBC setup must be working with the DSNs properly configured and username/passwords in the odbc.ini file. Then you need to define the DSN again in res_odbc.conf.</div>
<div>&nbsp;</div>
<div>The extconfig.conf would look like this (asterisk is a DSN defined in odbc.ini and also in res_odbc.conf)&nbsp;:</div>
<div>&nbsp;</div>
<div>
<p>[settings]</p>
<p>; static files<br>sip.conf =&gt; odbc,asterisk,sip<br>extensions.conf =&gt; odbc,asterisk,extensions<br>features.conf =&gt; odbc,asterisk,features<br>voicemail.conf =&gt; odbc,asterisk,voicemail<br>musiconhold.conf =&gt; odbc,asterisk,musiconhold
<br>rtp.conf =&gt; odbc,asterisk,rtp<br>cdr_odbc.conf =&gt; odbc,asterisk,cdr_odbc<br>func_odbc.conf =&gt; odbc,asterisk,func_odbc<br>meetme.conf =&gt; odbc,asterisk,meetme<br>zapata.conf =&gt; odbc,asterisk,zapata<br>indications.conf
 =&gt; odbc,asterisk,indications<br>adsi.conf =&gt; odbc,asterisk,adsi<br>enum.conf =&gt; odbc,asterisk,enum<br>festival.conf =&gt; odbc,asterisk,festival<br>agents.conf =&gt; odbc,asterisk,agents<br>alarmreceiver.conf =&gt; odbc,asterisk,alarmreceiver
<br>queues.conf =&gt; odbc,asterisk,queues<br>cdr.conf =&gt; odbc,asterisk,cdr<br>dnsmgr.conf =&gt; odbc,asterisk,dnsmgr<br>codecs.conf =&gt; odbc,asterisk,codecs<br>privacy.conf =&gt; odbc,asterisk,privacy<br>manager.conf
 =&gt; odbc,asterisk,manager<br>cdr_manager.conf =&gt; odbc,asterisk,cdr_manager<br>sip_notify.conf =&gt; odbc,asterisk,sip_notify<br></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></div>
<div>&nbsp;</div>
<p>&nbsp;</p>
<p><br><br>&nbsp;</p>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/27/05, <b class="gmail_sendername">Serge Sozonoff</b> &lt;<a href="mailto:serge@sozonoff.com">serge@sozonoff.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Mark,<br><br>&gt; The 'static' realtime will map database tables to conf files so there is<br>&gt; no need to generate conf files from database records anymore, unless you
<br>Great this was the answer I wanted to here.<br><br>&gt; just enjoy that sort of thing. There are about 4 .conf files that cannot<br>Is there a document which explains which config files do what and which config<br>files can't be loaded from the database?
<br><br>Thanks,<br>Serge<br></blockquote></div><br>