[asterisk-commits] juggie: branch juggie/cdr_conf_thoughts r78568 - /team/juggie/cdr_conf_thoughts/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 7 22:38:16 CDT 2007
Author: juggie
Date: Tue Aug 7 22:38:15 2007
New Revision: 78568
URL: http://svn.digium.com/view/asterisk?view=rev&rev=78568
Log:
maybe this way
Modified:
team/juggie/cdr_conf_thoughts/cdr.conf.thoughts.sample
Modified: team/juggie/cdr_conf_thoughts/cdr.conf.thoughts.sample
URL: http://svn.digium.com/view/asterisk/team/juggie/cdr_conf_thoughts/cdr.conf.thoughts.sample?view=diff&rev=78568&r1=78567&r2=78568
==============================================================================
--- team/juggie/cdr_conf_thoughts/cdr.conf.thoughts.sample (original)
+++ team/juggie/cdr_conf_thoughts/cdr.conf.thoughts.sample Tue Aug 7 22:38:15 2007
@@ -36,10 +36,19 @@
; as each module loads it will check cdr.conf for instances of itself
; looking for one or more depending on if it supports multiple
; registrations or not (eg, manager would never support multiple)
+; enginename=instance
+;csv=>csv
+;radius=>radius
+;odbc=>odbc1,odbc2
+;pgsql=>pgsql
+;sqllite=>sqllite
+;csvcustom=>csvcustom
+;manager=>manager
+;adaptive_odbc=adaptive_odbc_first,adaptive_odbc_second,adaptive_odbc_third
+
[csv]
enable=yes
-engine=csv
filename=Master.csv
usegmtime=yes ;log date/time in GMT
loguniqueid=yes ;log uniqueid
@@ -47,7 +56,6 @@
;[radius]
;enable=yes
-;engine=radius
;usegmtime=yes ;log date/time in GMT
;loguniqueid=yes ;log uniqueid
;loguserfield=yes ;log user field
@@ -57,7 +65,6 @@
;[odbc1]
;enable=yes
-;engine=odbc
;dsn=MySQL-test
;username=username
;password=password
@@ -68,7 +75,6 @@
;[odbc2]
;enable=yes
-;engine=odbc
;dsn=PgSQL-test
;username=username
;password=password
@@ -79,7 +85,6 @@
[pgsql]
;enable=yes
-;engine=pgsql
;hostname=localhost
;port=5432
;dbname=asterisk
@@ -89,14 +94,12 @@
;[sqllite]
;enable=yes
-;engine = sqllite
;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)}'
;[csvcustom]
;enable=yes
-;engine=csvcustom
;Master.csv = "${CDR(clid)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CDR(start)}","${CDR(answer)}","${CDR(end)}","${CDR(duration)}","${CDR(billsec)}","${CDR(disposition)}","${CDR(amaflags)}","${CDR(accountcode)}","${CDR(uniqueid)}","${CDR(userfield)}"
;[manager]
@@ -106,19 +109,16 @@
;[adaptive_odbc_first]
;enable=yes
-;engine = adaptive_odbc
;connection=mysql1
;table=cdr
;[adaptive_odbc_second]
;enable=yes
-;engine = adaptive_odbc
;connection=mysql1
;table=extracdr
;[adaptive_odbc_third]
;enable=yes
-;engine = adaptive_odbc
;connection=sqlserver
;table=AsteriskCDR
;alias src => source
More information about the asterisk-commits
mailing list