Toolpack:Enabling CDR A

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(List of Parameters)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
  
 
2- Select '''Use CDR behavior''' to enable it.
 
2- Select '''Use CDR behavior''' to enable it.
* Expand the '''CDR Options''' section
+
 
* For '''CDR Mode''', select '''Text CDR Only'''
+
3- Configure the CDR behavior in the '''CDR Options''' section:
* Click '''Save'''.
+
* '''Enable periodic CDR update''' will add one entry in the CDR per '''Periodic CDR update time''', in minutes.
 +
* Select one of the '''Text CDR''' mode from the '''CDR Mode''' :
 +
**'''Text CDR only''': Will store the CDRs in a flat file. See [[Text Call Detail Records (CDR)|Text CDR]]
 +
**'''RADIUS CDR only''': Will send the CDR to an external RADIUS Server. See [[RADIUS|Radius CDR]]
 +
**'''Text and RADIUS CDR''': Will store the CDRs in a flat file and send the CDR to an external RADIUS Server.
 +
**'''RADIUS CDR with Text CDR Fallback''': Will send the CDR to an external RADIUS Server and if the RADIUS server cannot handle the load of CDRs, they will be stored in a flat file.
 +
 
 +
* Click '''Save''' to save your changes.
  
 
[[File:Cdr_0_0.png]]
 
[[File:Cdr_0_0.png]]
  
  
3- Expand the '''Text CDR parameters''' section
+
4- Expand the '''Text CDR parameters''' section
 
* Configure the '''Text CDR parameters''' as required. Refer to the description of parameters described below.
 
* Configure the '''Text CDR parameters''' as required. Refer to the description of parameters described below.
  
Line 31: Line 38:
 
* [[Parameter: Rotation delay in seconds|Rotation delay in seconds]]
 
* [[Parameter: Rotation delay in seconds|Rotation delay in seconds]]
 
* [[Parameter: Max total size of gzipped CDR logs|Max total size of gzipped CDR logs]]
 
* [[Parameter: Max total size of gzipped CDR logs|Max total size of gzipped CDR logs]]
 
 
'''Advanced Parameters'''
 
 
CDR log file path:
 
cdr_logs/cdr
 
 
CDR format (start):
 
@{Timestamp:%Y-%m-%d %H:%M:%S.@m%z},BEG,SessionId='@{SessionId}',LegId='@{LegId}',StartTime='@{StartTime}',ConnectedTime='@{ConnectedTime}',Calling='@{CallingNumber}',Called='@{CalledNumber}',NAP='@{NAP}',Protocol='@{Protocol}',Direction='@{OrginatorName}'
 
 
CDR format (update):
 
@{Timestamp:%Y-%m-%d %H:%M:%S.@m%z}:UPD,SessionId='@{SessionId}',LegId='@{LegId}'
 
 
CDR format (end):
 
@{Timestamp:%Y-%m-%d %H:%M:%S.@m%z},END,SessionId='@{SessionId}',LegId='@{LegId}',StartTime='@{StartTime}',ConnectedTime='@{ConnectedTime}',EndTime='@{EndTime}',FreedTime='@{Timestamp}',TerminationCause='@{TerminationCauseString}',TerminationSource='@{TerminationSource}',Calling='@{CallingNumber}',Called='@{CalledNumber}',NAP='@{NAP}',Direction='@{OrginatorName}'
 

Latest revision as of 09:07, 25 April 2016

Applies to version(s): v2.7

To enable CDR:

1- Select Gateway from the navigation panel.

Cdr 0.png


2- Select Use CDR behavior to enable it.

3- Configure the CDR behavior in the CDR Options section:

  • Enable periodic CDR update will add one entry in the CDR per Periodic CDR update time, in minutes.
  • Select one of the Text CDR mode from the CDR Mode :
    • Text CDR only: Will store the CDRs in a flat file. See Text CDR
    • RADIUS CDR only: Will send the CDR to an external RADIUS Server. See Radius CDR
    • Text and RADIUS CDR: Will store the CDRs in a flat file and send the CDR to an external RADIUS Server.
    • RADIUS CDR with Text CDR Fallback: Will send the CDR to an external RADIUS Server and if the RADIUS server cannot handle the load of CDRs, they will be stored in a flat file.
  • Click Save to save your changes.

Cdr 0 0.png


4- Expand the Text CDR parameters section

  • Configure the Text CDR parameters as required. Refer to the description of parameters described below.

Text CDR Parameters.jpg

List of Parameters

Personal tools