CDR knowhow

I hope by the end of this read, it provides you a good knowhow on CDR.


What is CDR?
CDR is call detail record generated after every call- incoming / outgoing / missed. CDR provides the data about original calling number, original called number, date and time when the call started, time when the call was connected , date and time when the call ended and redirected number.

What is CMR?
CMR is call management records also generated after every call. CMR provides the information about the jitter, lost packets, the amount of data sent and received during the call, and latency.

How to enable CDR and CMR on CUCM server?
In order to turn on the CDR, set 'enable CDR flag' and 'CDR Log Calls with Zero Duration' to true in the service parameter on the all call processing nodes.
In order to turn on the CMR, enable 'call diagnostics' in the service parameter on the call processing nodes.

What are flat files?
Flat files are the files which contain call information in the raw format. After every call, flat files gets generated.

Where are flat files kept?
Flat files are kept on the call manager server where the ip phone, which ends the call, is registered with.
For one end to end call, it creates one flat file. For conference call, it creates two flat files.
Flat files are fixed length files. One flat file can have the data of more than one call since it has to reach its fixed size.
Call Manager service is responsible to create flat files on the call manager server.

Why do we use CDR agent service?
CDR agent service pushes flat files from subscriber to CDR repository manager on publisher node. Hence, it needs to run on every call processing node in the cluster.

Where does CDR repository keep the files?
CDR repository manager keeps the files in the preserve folder, the below path-
file list activelog /cm/cdr_repository/preserve/<YYYYMMDD>/
Simultaneously, CDR repository manager creates softlink of these files and store them in car folder, below is the path-
file list activelog /cm/cdr_repository/car/<YYYYMMDD>/

What is the use of CAR scheduler service?
CAR scheduler service needs to be run on publisher node. It reads the contents of the flat files and write them into CAR database.
This service is responsible to process the files of preserve folder and push them into CAR tool
You can see the processed files in the below path-
file list activelog /cm/cdr_repository/processed/<YYYYMMDD>/
Once the files are processed, it deletes the files from preserve and car folder (shown above) and you can get the information into CAR tool, in readable format.

What is CAR?
CAR is CDR analysis and reporting tool, a billing server which provides you the reporting capability as Administrator, Manager and Individual. It provides you system reports, device reports and user reports.
CAR web service is responsible for showing the CDR data on web page.

What is CDR management?
It allows you to configure a third party billing server on CUCM, if you don't want to use CAR tool.

References.

Comments

Popular posts from this blog

Status: Local Agent is not responding. This may be due to Master or Local Agent being down.

Understanding code yellow