Call detail record

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(fix format)
m (Corrected the English)
Line 46: Line 46:
  
 
== Call Detail Records in High Availability (HA) Environment ==
 
== Call Detail Records in High Availability (HA) Environment ==
This HA refers to system with Primary and Secondary host controllers (redundant TMG7800-ctrl or Tmedia 1+1 system)
+
The term HA refers to a system equipped with primary and secondary host controllers (i.e. An SBC deployed in a 1+1 configuration, a TMG7800 gateway with redundant controllers or Tmedia gateways deployed in a 1+1 configuration)
  
* '''Text CDR only''' CDR Mode
+
* '''Text CDR only''' Mode
** Active gateway application host is storing actual content of the CDR record (i.e. nonzero Byte of CDR log file)
+
** The active gateway application is storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
** Each CDR records will only be present either on the primary or secondary host
+
** Each CDR record will only be present either on the primary or on the secondary host
** User need to merge the CDR records from both hosts to get all the data
+
** The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
* '''Radius CDR only''' CDR Mode
+
* '''RADIUS CDR only''' Mode
** CDR records will be sent out to Radius server(s) from gateway application active host only
+
** CDR records will be sent out to the RADIUS server(s) from the gateway application on the active host only
** No CDR records are store on Tmedia system
+
** No CDR records are stored on the HA system
* '''Text and Radius CDR'''
+
* '''Text and RADIUS CDR''' Mode
** CDR records will be sent out to Radius server(s) from gateway application active host
+
** CDR records will be sent out to RADIUS server(s) from the gateway application on the active host
** Active gateway application host is storing actual content of the CDR record (i.e. nonzero Byte of CDR log file)
+
** The active gateway application is also storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
** Also, Each CDR records will only be present either on the primary or secondary host
+
** Also, each text-based CDR record will only be present either on the primary or on the secondary host
** User need to merge the CDR records from both hosts to get all the data
+
** The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
* '''Radius CDR with Text CDR fallback''' CDR Mode
+
* '''RADIUS CDR with text CDR fallback''' Mode
** If Radius server(s) are in service
+
** If the RADIUS server(s) is(are) in service
*** CDR records will be sent out to Radius server from gateway application active host only
+
*** CDR records will be sent out to the RADIUS server(s) from the gateway application on the active host only
** If Radius server(s) are out of service
+
** If the RADIUS server(s) is(are) out of service
*** Active gateway application host is storing actual content of the CDR record (i.e. nonzero Byte of CDR log file)
+
*** The active gateway application is storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
*** Each CDR records will only be present either on the primary or secondary host
+
*** Each CDR record will only be present either on the primary or on the secondary host
*** User need to merge the CDR records from both hosts to get all the data
+
*** The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
 
   
 
   
  

Revision as of 12:39, 7 March 2018

Call detail records, or CDR for short, are the foundation of subscriber billing activities by telecom service providers. They are data records containing call-related information such as:

  • Incoming Network
  • Outgoing Network
  • Calling number
  • Called number
  • Start time
  • End Time

See this link from more details Wikipedia - Call Retail Record

Contents

TelcoBridges and call detail records

TelcoBridges TMG800, TMG3200 and TMG7800 products support the generation of call detail records in text format. They also support the ability to export call detail records to a RADIUS server for accounting purposes. Both methods can be used simultaneously.

Text CDRs are stored locally on the TMG units and must be extracted from the system either manually, or automatically.

If the network supports RADIUS, this method is preferred as each record will be sent in a timely manner to an external database for storage.

CDR High-level drawing v2.bmp

Call Detail Records Generation

TelcoBridges CDRs are generated on a per-leg bases when the call is answered and when the call is terminated.

In the cases illustrated below:

Id is a 128 bits unique identifier for all the records of a same call.

  • h323-conf-id for RADIUS and @{SessionId} for Text CDR

'Original Id is a 128 bits unique identifier used for Call Transfer records. Each call transfer outgoing legs has its own unique Id with its Original Id associated call legs (incoming+outgoing).

  • h323-incoming-conf-id for RADIUS and @{OriginalSessionId} for Text CDR

Case 1: Call Answered

CDR CallAnswer.jpg

Case 2: Call Unanswered

CDR UnansweredCall.jpg

Case 3: Call Transferred

CDR CallTransferBleg.jpg

CDR CallTransferCleg.jpg

Text-based Call Detail Records

Text-based call detail records

RADIUS Call Detail Records

RADIUS

Call Detail Records in High Availability (HA) Environment

The term HA refers to a system equipped with primary and secondary host controllers (i.e. An SBC deployed in a 1+1 configuration, a TMG7800 gateway with redundant controllers or Tmedia gateways deployed in a 1+1 configuration)

  • Text CDR only Mode
    • The active gateway application is storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
    • Each CDR record will only be present either on the primary or on the secondary host
    • The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
  • RADIUS CDR only Mode
    • CDR records will be sent out to the RADIUS server(s) from the gateway application on the active host only
    • No CDR records are stored on the HA system
  • Text and RADIUS CDR Mode
    • CDR records will be sent out to RADIUS server(s) from the gateway application on the active host
    • The active gateway application is also storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
    • Also, each text-based CDR record will only be present either on the primary or on the secondary host
    • The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
  • RADIUS CDR with text CDR fallback Mode
    • If the RADIUS server(s) is(are) in service
      • CDR records will be sent out to the RADIUS server(s) from the gateway application on the active host only
    • If the RADIUS server(s) is(are) out of service
      • The active gateway application is storing text-based CDR records on the active host (i.e. non-zero bytes of CDR log file)
      • Each CDR record will only be present either on the primary or on the secondary host
      • The user needs to merge the CDR records from both the primary and secondary hosts to get all the data
Personal tools