Call detail records

Each call detail record holds the details of a single telephone call.

Creating call detail records

To log call detail records, you need to set the Call Detail Record Logging system parameter in the General parameter group to one of the following values:

cdr.log
Call detail records are written to a log file called $CUR_DIR/oamlog/cdr.log, but not to the DB2 database.
DB2
Call detail records are written to the DB2 database, but not to $CUR_DIR/oamlog/cdr.log.
Both
Call detail records are written to a log file called $CUR_DIR/oamlog/cdr.log and to the DB2 database.

To set this parameter, click Configuration —> System Configuration —> Change —> Blueworx Voice Response —> Call Detail Record Logging.

To avoid using space unnecessarily, the default value of this parameter is No.

There are 3 different versions of CDR record. Version 1 is the default. Version 2 extends Version 1 adding an extra field at the end of the record to indicate if the call was terminated by a call transfer. Version 3 extends upon Version 2, but only the cdr.log output, adding an extra field containing the IP address of the calling party.

DB2 table formats

The DB2 table formats are shown in Statistics database table formats.

Record formats in cdr.log

Each call detail record has the following format for all fields:

     fieldname1=[data], fieldname2=[data],

as shown in the following (Version 1) example:

DAT=1997.04.23 11:15:07, SYS=1, APP=reports_local, CLT=1, CDN=4085551234, GN=?, CLD=1, CSD=3, TNK=1, CHN=5,

Table 1 explains each keyword and gives the corresponding field in the sm_ccr database table from which the information is derived.