cdr

This command provides sub-commands that configure various settings for CDRs.  

Syntax

(config-troubleshoot)# cdr
(cdr)# 

Command

Description

aaa-indications {accounting-only|none}

Configures which Authentication, Authorization and Accounting indications to use.

call-duration-units {centi-seconds|deci-seconds|milliseconds|seconds}

Defines the units of measurement for the call duration field in CDRs.

call-end-cdr-sip-reasons-filter

Defines SIP release cause codes that if received for the call, the devicedoes not sent Call-End CDRs for the call.

call-end-cdr-zero-duration-filter {off|on}

Enables the device to not send Call-End CDRs if the call's duration is zero (0).

call-failure-internal-reasons

Defines the internal response codes (generated by the device) that you want the device to consider as call failure, which is indicated by the optional 'Call Success' field in the sent CDR.

call-failure-sip-reasons

Defines the SIP response codes that you want the device to consider as call failure, which is indicated by the optional 'Call Success' field in the sent CDR.

call-success-internal-reasons

Defines the internal response codes (generated by the device) that you want the device to consider as call success, which is indicated by the optional 'Call Success' field in the sent CDR.

call-success-sip-reasons

Defines the SIP response code that you want the device to consider as call success, which is indicated by the optional 'Call Success' field in the sent CDR.

call-transferred-after-connect

Defines if the device considers a call as a success or failure when the internal response (generated by the device) "RELEASE_BECAUSE_CALL_TRANSFERRED" (807) is generated after call connect (SIP 200 OK).

call-transferred-before-connect

Defines if the device considers a call as a success or failure when the internal response (generated by the device) "RELEASE_BECAUSE_CALL_TRANSFERRED" (807) is generated before call connect (SIP 200 OK).

cdr-file-name

Defines the filename using format specifiers for locally stored CDRs.

cdr-format

Customizes the CDR format (see cdr-format).

cdr-history-privacy [disable| hide-caller-and-callee]

Enables the device to hide (by displaying an asterisk) the values of the Caller and Callee fields in CDRs that are displayed by the device: SBC CDR History table (Web), Gateway CDR History table (Web), show voip calls history (CLI), and show voip calls active (CLI).

cdr-report-level {connect-and-end-call|end-call|none|start-and-end-and-connect-call|start-and-end-call}

Defines the call stage at which media- and signaling-related CDRs are sent to a Syslog server.

cdr-seq-num {off|on}

Enables sequence numbering of SIP CDR syslog messages.

cdr-servers-bulk-size

Defines the maximum number of locally stored CDR files (i.e., batch of files) that the device sends to the remote server in each transfer operation.

cdr-servers-send-period

Defines the periodic interval (in seconds) when the device checks if a locally stored CDR file is available for sending to the remote CDR server.

cdr-srvr-ip-adrr

Defines the syslog server IP address for sending CDRs.

compression-format {gzip|none|zip}

Defines the file compression type for locally stored CDRs.

enable {off|on}

Enables or disables the RADIUS application.

file-size

Defines the maximum size per locally stored CDR file, in KB.

files-num

Defines the maximum number of locally stored CDR files.

rotation-period

Defines the interval size for locally stored CDR files, in minutes.

media-cdr-rprt-level {end|none|start-and-end|start-end-and-update|update-and-end}

Enables media-related CDRs of SBC calls to be sent to a Syslog server and configures the call stage at which they are sent.

no-user-response-after-connect

Defines if the device considers a call as a success or failure when the internal response (generated by the device) "GWAPP_NO_USER_RESPONDING" (18) is received after call connect (SIP 200 OK).

no-user-response-before-connect

Defines if the device considers a call as a success or failure when the internal response (generated by the device) "RELEASE_BECAUSE_CALL_TRANSFERRED" (807) is generated before call connect (SIP 200 OK).

non-call-cdr-rprt {off|on}

Enables creation of CDR messages for non-call SIP dialogs (such as SUBSCRIBE, OPTIONS, and REGISTER).

radius-accounting {end-call|connect-and-end-call|start-and-end-call}

Configures at what stage of the call RADIUS accounting messages are sent to the RADIUS accounting server.

rest-cdr-http-server

Defines the REST server (by name) to where the device sends CDRs through REST API.

rest-cdr-report-level {connect-and-end-call|connect-only|end-call|none|start-and-end-and-connect-call|start-and-end-call}

Enables signaling-related CDRs to be sent to a REST server and defines the call stage at which they are sent.

time-zone-format

Defines the time zone string (only for display purposes).

Command Mode

Privileged User

Example

This example configures the call stage at which CDRs are generated:

(config-troubleshoot)# cdr
(cdr)# cdr-report-level start-and-end-call