summaryrefslogtreecommitdiff
path: root/configs/res_config_sqlite.conf
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-03-13 21:22:33 +0000
committerRussell Bryant <russell@russellbryant.com>2007-03-13 21:22:33 +0000
commit5bea998a5559588601bee122324814bddcce0b64 (patch)
tree09826367dd718544b289f1484e5bb40393f8c414 /configs/res_config_sqlite.conf
parentb4490af8acb8976e62bed77dd00c24ee77834e2e (diff)
Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a SQLite3 database. (issue #7149, alerios) * Add new module, res_config_sqlite, which adds realtime database configuration support for SQLite version 2. I decided that this was ok since we didn't have any realtime support for version 3. If someone ports this to version 3, then version 2 support can be removed or marked deprecated. (issue #7790, rbarun_proformatique) * Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom. Also, note that there were other modules on the bug tracker that did not make the cut because they provided some duplicated functionality. Those are: * cdr_sqlite3 (issue #6754, moy) * cdr_sqlite3 (issue #8694, bsd) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/res_config_sqlite.conf')
-rw-r--r--configs/res_config_sqlite.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/configs/res_config_sqlite.conf b/configs/res_config_sqlite.conf
new file mode 100644
index 000000000..87f1e08bf
--- /dev/null
+++ b/configs/res_config_sqlite.conf
@@ -0,0 +1,15 @@
+[general]
+
+; The database file.
+dbfile => /var/lib/asterisk/sqlite.db
+
+; Both config_table and cdr_table are optional. If config_table is omitted,
+; you must specify it in extconfig.conf. If it is both provided here and in
+; extconfig.conf, the value given here is used. If cdr_table is omitted, CDR
+; support is simply disabled.
+config_table => ast_config
+cdr_table => ast_cdr
+
+; This parameter controls the registration of the SQLITE() Dialplan application.
+app_enable => yes
+