Thank you very much, Mark. =)<br><br><div><span class="gmail_quote">On 10/4/07, <b class="gmail_sendername">Mark Michelson</b> <<a href="mailto:mmichelson@digium.com">mmichelson@digium.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
GNUbie wrote:<br>> Hello all,<br>><br>> Is it possible to store, read and write configuration files in an<br>> SQLite3 database instead of using the configuration files inside the<br>> /etc/asterisk/ directory? If it is then can you point me to the right
<br>> documentation on how to do this or probably hints on how to do this?<br>><br>> Thank you in advance.<br>><br>> GNUbie<br>><br><br>It is possible to store configuration files in any relational database
<br>which has ODBC compatibility. Thus, sqlite qualifies. If you are using<br>trunk, you won't even need to use ODBC, because Asterisk has native<br>support for sqlite.<br><br>If you're looking for an overview of the Asterisk Realtime Architecture
<br>(the means by which you can store configurations in a database) look in<br>the doc directory of your asterisk source for realtime.txt and<br>extconfig.txt, or search <a href="http://voip-info.org">voip-info.org</a> for "asterisk realtime".
<br><br>If you're looking for more in-depth coverage of integrating Asterisk<br>with a relational database, I suggest looking at the second edition of<br>Asterisk: The Future of Telephony, available at book stores, or for
<br>download at <a href="http://openbooks.oreilly.com/">http://openbooks.oreilly.com/</a><br>Specifically, check out chapter 12. It doesn't cover sqlite explicitly,<br>but it's not much of a stretch to use it based on what's provided in the
<br>book.<br><br>Mark Michelson<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list
<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>