AudioCodes VoIP Gateway. SMDR/CDR data format and connection settings


This data is being extracted with help of the "Advanced PBX Data Logger" software only. It may not applicable for other software titles.

Configuring CDR

Note: For CDR reporting, you must also enable the Syslog feature.

1. Open the "Advanced Parameters" page (Configuration tab > VoIP menu > SIP Definitions submenu > Advanced Parameters).
2. Under the CDR and Debug group, perform the following:
  a. In the "CDR Server IP Address" field, enter the IP address of the CDR server to where the device sends the CDR logs.
  b. From the "CDR Report Level" drop-down list, select when the CDR"s are generated and sent to the CDR server:
    [0] None = CDRs are not used (default).
    [1] End Call = CDR is sent to the Syslog server at the end of each call.
    [2] Start & End Call = CDR report is sent to Syslog server at the start and end of each call.
    [3] Connect & End Call = CDR report is sent to the Syslog server at connection and at the end of each call.
    [4] Start & End & Connect Call = CDR report is sent to the Syslog server at the start, at connection, and at the end of each call.
Note: If no IP address is defined, the CDR logs are sent to the Syslog server.

Advanced SMDR Parameters

Configuring Advanced PBX Data Logger as a TCP server

Advanced PBX Data Logger should be configured to the TCP server mode and listen on 0.0.0.0:4000 (see below). The IP address 0.0.0.0 allows receiving data from all network connections on your computer. The port number should match the value from the SMDR settings in your AudioCodes VoIP Gateway.

1. Add a new configuration with the TCP data source (if you didn't it before).

TCP/IP Data Interface

2. Configure the TCP settings as shown below.

TCP Server Mode for AudioCodes VoIP Gateway

4000

4000

Selecting the correct parser for AudioCodes VoIP Gateway

Parser Selection For (none)

AudioCodes VoIP Gateway

AudioCodes VoIP Gateway

Data items

DescriptionData typeColumn name
Call typestringCALL_TYPE
Call timedatetimeCALL_TIME
Connect timedatetimeCONNECT_TIME
Release timedatetimeRELEASE_TIME
RingdatetimeRING
Cid Port NumberstringEXT
Call IdentifierstringFLAG6
TrunkstringTRUNK
Selected B-ChannelstringFLAG5
Conference IDstringFLAG4
Trunk groupstringFLAG3
Endpoint TypestringENDPOINT_TYPE
Call OriginatorstringACC
DirectionstringDIRECTION
Source IP AddressstringFLAG1
Destination IP AddressstringFLAG2
Source Phone Number TypestringSRC_TON
Source Phone Number PlanstringSRC_NPI
Source Phone NumberstringCALLER_PHONE
Destination Phone Number TypestringDEST_TON
Destination Phone Number PlanstringDEST_NPI
Destination Phone NumberstringDIALED_PHONE
Call duration (sec)integerCALL_DURATION_S
Call durationdatetimeCALL_DURATION
CoderstringCODER
Packet IntervalstringINTRV
RTP IP AddressstringRTP_IP
RTP PortstringRTP_PORT
Initiator of Call ReleasestringTERM_SIDE
Termination ReasonstringTERM_REASON
Fax Transaction during the CallstringFAX
Number of Incoming PacketsstringPACKETS_IN
Number of Outgoing PacketsstringPACKETS_OUT
Local Packet LossstringPACKETS_LOSS
Number of Outgoing Lost PacketsstringPACKETS_LOSS_REMOTE
Unique RTP IDstringRTP_ID
RTP DelaystringRTP_DELAY
RTP JitterstringRTP_JITTER
Local RTP SSRCstringRTP_SSRC
Remote RTP SSRCstringRTP_SSRC_REMOTE
Redirect ReasonstringREDIR_REASON
Redirection Phone Number TypestringREDIR_TON
Number of Generated Metering PulsesstringPULSES
Redirection Phone Number PlanstringREDIR_NPI
Redirection Phone NumberstringREDIR_NUMBER

Interested in reports for PBX usage?

We offer the PBX Reports utility with various manual, scheduled and email reports, built-in web-server, and other features. Look here

Want PBX call logs in a database?

This is the standard feature. The logger captures exports SMDR or CDR data in real-time to your database. Follow this link

Note: Products and companies mentioned here are used only for definition and identification purposes and can be trademarks and/or registered trademarks of the respective companies.