gw-cdr-format

This command customizes the format of CDRs for gateway (Gateway CDR Format table) calls.

Syntax

(config-troubleshoot)# cdr
(cdr)# cdr-format gw-cdr-format <Index>
(gw-cdr-format-<Index>)# 

Command

Value

Index

Defines the table row index.

cdr-type {json-gw| local-storage-gw| radius-gw| syslog-gw}

Defines the type of CDRs that you want customized.

col-type {acct-stat-type|alert-time|amd-decision|amd-decision-prob|aoc-amount|aoc-currency|aoc-mult|b-channel|blank|call-duration|call-end-seq-num|call-id|call-orig|call-orig-radius|call-success|callee-display-id|caller-display-id|cdr-type|channel-id|coder-type|conn-id|connect-time|dst-host|dst-host-before-map|dst-ip|dst-num|dst-num-before-map|dst-num-plan|dst-num-type|dst-port|ep-type|fax-on-call|global-session-id|h323-id|ip-group-id|ip-group-name|ip-profile-id|ip-profile-name|isdn-line-type|latched-rtp-ip|latched-rtp-port|latched-t38-ip|latched-t38-port|lcl-in-oct|lcl-in-pkt|lcl-jitter|lcl-mos-cq|lcl-out-oct|lcl-out-pkt|lcl-pkt-loss|lcl-r-factor|lcl-round-trip-delay|lcl-rtp-ip|lcl-rtp-port|lcl-ssrc-sender|leg-id|media-realm-id|media-realm-name|media-type|metering-pulses-generated|module-and-port|none|payload-type|pkt-interval|proxy-set-id|proxyset-name|pstn-term-reason|radius-call-id|redirect-num|redirect-num-before-map|redirect-num-plan|redirect-num-type|redirect-reason|release-time|report-type|rmt-in-oct|rmt-in-pkt|rmt-ip|rmt-jitter|rmt-mos-cq|rmt-out-oct|rmt-out-pkt|rmt-pkt-loss|rmt-port|rmt-r-factor|rmt-round-trip-delay|rmt-rtp-ip|rmt-rtp-port|rmt-ssrc-sender|rtp-ip-diffserv|session-id|setup-time|sig-ip-diffserv|sip-int-id|sip-local-tag|sip-remote-tag|sip-term-desc|sip-term-reason|sipinterface-name|src-dial-plan-tags|src-host|src-host-before-map|src-ip|src-num|src-num-before-map|src-num-plan|src-num-type|src-port|src-tags|srd-id|srd-name|term-reason|term-reason-cat|term-reason-val|term-side|term-side-radius|term-side-yes-no|transport-type|trigger|trunk-group-id|trunk-id|var-call-user-def-1|var-call-user-def-2|var-call-user-def-3|var-call-user-def-4|var-call-user-def-5|was-call-started}

Defines the CDR field (column) that you want to customize.

radius-id

Defines the ID of the RADIUS Attribute.

radius-type {standard|vendor-specific}

Defines the RADIUS Attribute type.

title

Configures a new name for the CDR field name.

Command Mode

Privileged User

Example

This example changes the CDR field name "call-duration" to "Phone-Duration" for Syslog messages:

(config-troubleshoot)# cdr
(cdr)# cdr-format gw-cdr-format 0 (gw-cdr-format-0)# cdr-type syslog-media (gw-cdr-format-0)# col-type call-duration (gw-cdr-format-0)# title Phone-Duration