mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
manual update, since automerge is not running at this time
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@48421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -40,6 +40,7 @@ Overview
|
||||
- Configuration
|
||||
- Dial and Options String
|
||||
- misdn cli commands
|
||||
- mISDN Variables
|
||||
- Debugging and sending Bugreports
|
||||
- Examples
|
||||
- Known working Configurations
|
||||
@@ -235,6 +236,14 @@ where 1 is the Port of the Card where the phone is plugged in, and 101 is the
|
||||
msn (callerid) of the Phone to send the text to.
|
||||
|
||||
|
||||
mISDN Variables
|
||||
---------------
|
||||
|
||||
mISDN Exports/Imports a few Variables:
|
||||
|
||||
- MISDN_ADDRESS_COMPLETE : Is either set to 1 from the Provider, or you
|
||||
can set it to 1 to force a sending complete.
|
||||
|
||||
|
||||
Debugging and sending bug reports
|
||||
---------------------------------
|
||||
|
||||
Reference in New Issue
Block a user