diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-03-13 21:22:33 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-03-13 21:22:33 +0000 |
commit | 5bea998a5559588601bee122324814bddcce0b64 (patch) | |
tree | 09826367dd718544b289f1484e5bb40393f8c414 /configs/cdr_sqlite3_custom.conf | |
parent | b4490af8acb8976e62bed77dd00c24ee77834e2e (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/cdr_sqlite3_custom.conf')
-rw-r--r-- | configs/cdr_sqlite3_custom.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/cdr_sqlite3_custom.conf b/configs/cdr_sqlite3_custom.conf new file mode 100644 index 000000000..55872b383 --- /dev/null +++ b/configs/cdr_sqlite3_custom.conf @@ -0,0 +1,7 @@ +; +; Mappings for custom config file +; +[master] ; currently, only file "master.db" is supported, with only one table at a time. +table => cdr +columns => calldate, clid, dcontext, channel, dstchannel, lastapp, lastdata, duration, billsec, disposition, amaflags, accountcode, uniqueid, userfield, test +values => '${CDR(start)}','${CDR(clid)}','${CDR(dcontext)}','${CDR(channel)}','${CDR(dstchannel)}','${CDR(lastapp)}','${CDR(lastdata)}','${CDR(duration)}','${CDR(billsec)}','${CDR(disposition)}','${CDR(amaflags)}','${CDR(accountcode)}','${CDR(uniqueid)}','${CDR(userfield)}','${CDR(test)}' |