This page outlines the Call Detail Record (CDR) process. Before you begin reading this section, please make sure you first read the information in Working with Call Detail Records.
CDR Data Collection
Call Detail Record data collection is an ongoing process. When any call-related action occurs, the common call control (CCC) module of the
The Active and the Standby instances send CDRs to the configured CDR server individually.
Call Flows for CDR RADIUS Accounting
The diagrams below are sample use cases of when CDRs are generated. "Start Accounting" is the message sent by the SBC Edge to the RADIUS Server with the CDR attributes. It is the starting point of when CDRs are generated. “Stop Accounting” is the message sent by the SBC Edge when a call is terminated.
Incoming Call Rejected with SIP Response Code 404 Not Found
Incoming Call Rejected with SIP Response Code 503 Service Unavailable
Incoming Call Routed but Remote Service Unavailable
Basic Completed Call: A Calls B, Call Disconnected by A
Basic Completed Call: A Calls B, Call Disconnected by B
Call Redirection: A Calls B, Call Redirected to C by SIP Response Code 302 Moved Temporarily
Call Transfer Blind: A Calls B, B Transfers A to C, Call Disconnect by C
Call Reroute: A Calls B, Call via Route 1 Fails with SIP Response Code 503 Service Unavailable and is Rerouted to Route 2
Call Forking to UAS-B, UAS-C, and UAS-D: B Answers Call, Call Disconnect by A
Attributes the SBC or a User Agent Server Sends in Messages
The following provides information on attributes the SBC or a UAS sends in "Start Accounting" and "Stop Accounting" messages, as well as attributes the RADIUS server generates in a CDR Start and Stop records. For "Stop Accounting" messages, attributes for "RTCP-XR (Extended Reports)" statistics are also available if you enabled "RTCP-XR" in the SBC Edge Media System. Note that "RTCP-XR" is only available for SBC 1000/2000.
Start Accounting
- NET-Log-Time
- Acct-Status-Type
- Acct-Session-Id
- NET-Session-Ingress-CallId
- NET-Session-Egress-CallId
- NET-Session-Generic-Id
- Acct-Multi-Session-Id
- NET-Ingress-Signaling-Group (Ingress record only)
- NET-Egress-Signaling-Group (egress record only)
- NET-Ingress-Channel-Number (Ingress record only)
- NET-Ingress-Channel-Number (egress record only)
- NET-Call-Origin
- NET-Calling-Number
- NET-Called-Number
- NET-Calling-Name
- NET-Ingress-Channel-Id (Ingress record only)
- NET-Egress-Channel-Id (egress record only)
- NET-Setup-Time
- NET-Firmware-Version
- NET-Local-Time-Zone
- NET-Gw-Id
- NET-Time-And-Day
- Acct-Delay-Time = 0
- NET-Ingress-Signaling-Group-Desc (ingress record only)
- NET-Egress-Signaling-Group-Desc (egress record only)
Attributes the RADIUS Server Generates in a CDR Start Record
- Acct-Unique-Session-Id
- Event-Timestamp
- NAS-IP-Address
- NAS-Port
- Timestamp
Stop Accounting
- NET-Log-Time
- Acct-Status-Type
- Acct-Session-Id
- NET-Session-Egress-CallId
- NET-Session-Generic-Id
- Acct-Multi-Session-Id
- NET-Egress-Signaling-Group
- NET-Egress-Channel-Number
- NET-Call-Origin
- NET-Call-Type
- NET-Routing-Table-Number
- NET-Primary-Routing-Number
- NET-Disconnect-Cause
- NET-Abort-Cause
- Acct-Terminate-Cause
- NET-Egress-Final-Routing-Num
- NET-Calling-Number
- NET-Called-Number
- NET-Calling-Name
- NET-Egress-Channel-Id
- Acct-Output-Packets
- Acct-Output-Octets
- Acct-Input-Packets
- Acct-Input-Octets
- NET-Fwd-Flow-In-Src-Addr
- NET-Bwd-Flow-Out-Dst-Addr
- NET-Fwd-Flow-Out-Dst-Addr
- NET-Bwd-Flow-In-Src-Addr
- NET-Fwd-Flow-In-Dst-Addr
- NET-Fwd-Flow-Out-Src-Addr
- NET-Bwd-Flow-In-Dst-Addr
- NET-Bwd-Flow-Out-Src-Addr
- NET-Fwd-Flow-In-Src-Port (ingress record only)
- NET-Bwd-Flow-Out-Dst-Port (ingress record only)
- NET-Bwd-Flow-Out-Src-Port (ingress record only)
- NET-Bwd-Flow-In-Src-Port (egress record only)
- NET-Fwd-Flow-Out-Src-Port (egress record only)
- NET-Bwd-Flow-In-Dst-Port ( egress record only)
- NET-Fwd-Flow-Media-Type
- NET-Fwd-Flow-PTime
- NET-Fwd-RTP-Avg-Latency (ingress record only)
- NET-Fwd-RTP-MaxLatency (ingress record only)
- NET-Bwd-RTP-Avg-Latency (egress record only)
- NET-Bwd-RTP-MaxLatency (egress record only)
- NET-Fwd-RTP-Avg-Jitter
- NET-Bwd-RTP-Avg-Jitter
- NET-Fwd-RTP-MaxJitter (ingress record only)
- NET-Bwd-RTP-MaxJitter (egress record only)
- NET-Fwd-RTP-Packets-Lost (ingress record only)
- NET-Bwd-RTP-Packets-Lost (egress record only)
- NET-Bwd-Octets
- NET-Fwd-Flow-Out-Dst-Port
- NET-Bwd-Packets
- NET-Bwd-Max-Packet-Outage
- NET-RTP-Packets-Discarded
- NET-Setup-Time
- Acct-Session-Time
- NET-Alert-Time
- NET-Connect-Time
- NET-Disconnect-Time
- NET-Call-Duration
- NET-Disconnect-Initiator
- NET-Outbound-Seize-Time
- NET-Post-Dial-Delay
- NET-Ingress-Local-Addr (ingress record only)
- NET-Egress-Local-Addr (egress record only)
- NET-P-Asserted-ID
- NET-Egress-Local-Addr
- NET-Ingress-Remote-Addr (ingress record only)
- NET-Egress-Remote-Addr (egress record only)
- NET-Ingress-Net-Interface-Id (ingress record only)
- NET-Egress-Net-Interface-Id (egress record only)
- NET-Session-Ingress-Realm (ingress record only)
- NET-Session-Egress-Realm (egress record only)
- NET-Ingress-Signaling-Port-Num (ingress record only)
- NET-Egress-Signaling-Port-Num (egress record only)
- NET-Transport-Type
- NET-Ing-Signaling-Rem-Port-Num (ingress record only)
- NET-Eg-Signaling-Rem-Port-Num (egress record only)
- NET-Ingress-SIP-Call-Id (ingress record only)
- NET-Egress-SIP-Call-Id (egress record only)
- NET-Firmware-Version
- NET-Local-Time-Zone
- NET-Gw-Id
- NET-Time-And-Day
- Acct-Delay-Time
- NET-INGRESS-SIP-To
- NET-INGRESS-SIP-Local-Contact
- NET-INGRESS-SIP-Remote-Contact
- NET-INGRESS-SIP-Remote-UserAgent
- NET-EGRESS-SIP-To
- NET-EGRESS-SIP-Local-Contact
- NET-EGRESS-SIP-Remote-Contact
- NET-EGRESS-SIP-Remote-UserAgent
Attributes the RADIUS Server Generates in a CDR Stop Record
- Acct-Unique-Session-Id
- Event-Timestamp
- NAS-IP-Address
- NAS-Port
- Timestamp
RTCP-XR Statistics (SBC 1000/2000 Only)
- NET-Send-Discard-Rate
- NET-Send-Burst-Density
- NET-Send-Gap-Density
- NET-Send-Burst-Duration
- NET-Send-Gap-Duration
- NET-Fwd-RTP-Avg-Latency (Ingress Stop Accounting message)
- NET-Bwd-RTP-Avg-Latency (Egress Stop Accounting message)
- NET-Send-Sig-Level
- NET-Send-Noise-Level
- NET-Send-RERL
- NET-Send-RFactor
- NET-Send-EXTRFactor
- NET-MOS
- NET-Send-MOSLQ
- NET-Send-MOSCQ
- NET-Remote-Ssrc-Id
- NET-Recv-Discard-Rate
- NET-Recv-Burst-Density
- NET-Recv-Gap-Density
- NET-Recv-Burst-Duration
- NET-Recv-Gap-Duration
- NET-Recv-Sig-Level
- NET-Recv-Noise-Level
- NET-Recv-RERL
- NET-Recv-RFactor
- NET-Recv-EXTRFactor
- NET-MOS
- NET-Recv-MOSLQ
- NET-Recv-MOSCQ
Queuing
Transmitting CDRs over the network one at a time is an unacceptably slow process. In order to ensure that other
Backup
In the event of lost communications between the
When the RADIUS server becomes available again, the
Retry on CDR Logging Failure
Status-Server (RFC 5997)
Each time the
Request Mode
Each time the
The
In the event there were queued records on system idle for period of 10 minutes, the
RADIUS CDR Logging Failure Scenarios
There are three scenarios in which a logging failure might occur, each of which is described in the following sections.
CDR Logging Quarantine on SBC Reboot
After the
In Status-Server mode, after the
Timeout While Logging a CDR
The
Failure Response Received from the RADIUS Server
If, upon a CDR send attempt, the
Failure to Send the CDR data from Backup or Cache
The
Network Connectivity Failure
The
Failure Handling Scenarios
Depending on the selected operating mode (Active-Active, Active-Standby, Round Robin) and how many servers are configured, the
A Single Server Configuration
In this scenario, there is only one accounting server configured.
RADIUS Accounting Mode | Active-Active | Active-Standby | Round-Robin |
---|---|---|---|
Number of Retries | 2 | 2 | 2 |
Two Configured Accounting Servers
RADIUS Accounting Mode | Active-Active | Active-Standby | Round-Robin |
---|---|---|---|
Number of Retries | 2 | 2 | 2 |
Order of Retry (first Send) | Server 1 and Server 2 | Server 1 | Server 1 and Server 2 in alternation |
Order of Retry on Error or timeout | Retry sending to failed server | Server 2 | Retry sending to failed server |
Call Detail Records are not associated (tagged) with a specific server. When the resend mechanism attempts to send queued CDRs, they are sent to whichever server is available, regardless of the selected accounting mode.
Round-Robin Mode
In the Round-Robin mode, alternate logging occurs only if both servers are in an Up status, If one server is Down then all CDRs are sent to the other server, if both servers are Down the CDRs are queued.
Active-Standby Mode
In this mode, when Active (Server 1) is Down or CDR Logging fails for any other reason, all CDRs are sent to stand-by server (Server 2). If Server 1 becomes available again, logging to that server will resume and Server 2 will then revert to standby status.
Vendor Specific Attributes Dictionary
Each build of the
Vendor Specific Attributes fall into seven general categories:
- Media Attributes
- Session Signaling Attributes
- Call Attributes
- SIP Attributes
- Generic Attributes
For a complete description of vendor specific attributes, see the Vendor Specific Attributes Reference.