diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-16 22:57:31 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-16 22:57:31 +0000 |
commit | efc03034007146213e63411054941ed37e1040b3 (patch) | |
tree | 43f67aacabfb057bef16047bd442d64d8e231df0 | |
parent | d6c8c0c07a14308b1424a1b6b819f8b1b36b34a9 (diff) |
update clearly wrong documentation regarding cdr_custom
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47776 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | doc/README.cdr | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/doc/README.cdr b/doc/README.cdr index cb9813845..2f6891ed6 100644 --- a/doc/README.cdr +++ b/doc/README.cdr @@ -102,21 +102,6 @@ ${CDR(uniqueid)} The channel's unique id. ${CDR(userfield)} The channels uses specified field. In addition, you can set your own extra variables by using Set(CDR(name)=value). - -______________________________ -cdr_csv2 ------------------------------- - -This module is an experimental new cdr module to demonstrate the cdr vars. -usage( - -*) Create a file called cdr.conf and place it in your /etc/asterisk (or wherever your config files are) in the [cdr_csv2] section. -*) Add an entry called format to indicate any format you want for the output. - -The following format string will emulate the regular cdr file format: -[cdr_csv2] - -format => "${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)}" - -You can put anything you want as the value of format incuding new cdr vars you make up or any global variables. - +These variables can be output into a text-format CDR by using the cdr_custom +CDR driver; see the cdr_custom.conf.sample file in the configs directory for +an example of how to do this. |