<br><br><div><span class="gmail_quote">On 4/19/07, <b class="gmail_sendername">Forrest Beck</b> &lt;<a href="mailto:jonforrest.beck@gmail.com">jonforrest.beck@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I thought of maybe adding a key for each extension to the astdb and<br>have a Macro query the astdb.&nbsp;&nbsp;Any other ideas?</blockquote><div><br><br>That&#39;s how we do it. We created a MySQL DB that maps DIDs to extensions, and a php script to write our configuration files for us (a file called 
did.conf, which is #include&#39;d into extensions.conf), as well as push the DID into the Asterisk DB. Actually the DB holds all of the information for our phones, and all of the files we need are generated each night, including sip configs, provisioning files for our Polycoms,&nbsp; the dhcpd configurations to give &quot;static&quot; addresses, and a few other miscellaneous files. And it creates our phone list. The nice thing about building the DB yourself is that you can do anything you want with it.
<br><br>On one of our boxes, I went a step further and created individual outgoing contexts, one for each device. The context set the caller ID. But it was definite overkill; I haven&#39;t done that since.<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks.<br><br>--<br>***<br>Forrest Beck<br>IAXTEL: 17002871718<br><a href="mailto:jonforrest.beck@gmail.com">jonforrest.beck@gmail.com</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by 
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>