bg

AudioCodes SBC SMDR setup and CDR format

This page shows how to get call records out of the AudioCodes SBC into Advanced PBX Data Logger: the connection settings, the parser to select and the 30 fields the logger extracts for reports or a database. The settings apply to our logger; other call accounting software may expect a different configuration.

Quick facts

ItemAudioCodes SBC
InterfaceLAN. The PBX sends records to the logger PC; the logger listens on TCP port 514.
Port514
Parser to selectAudioCodes SBC
Fields extracted30
Other AudioCodes systemsVoIP PBX, softswitch and gateway CDR formats

Configuring CDR

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

1. Open the Syslog Settings page (Troubleshoot menu > Troubleshoot tab > Logging folder > Syslog Settings).
2. From the Enable Syslog drop-down list, select Enable.
3. Specify the Syslog Server IP address 0.0.0.0.
5. Specify the Syslog Server Port number (default: 514).
6. Open the Call Detail Record Settings page.
7. Under the CDR Reports group:
7.1. Specify the IP address of your computer or server with Advanced PBX Data Logger in the CDR Server IP Address field.
7.2. Select End Call in CDR Report Level and Medial CDR Report Level drop-down lists.
7.3. Select Disable in CDR Syslog Sequence Number.

Syslog settings

CDR settings

SBC CDR Format

8. Open the SBC CDR Format page.
9. Define fields as showed on fig. 3 (the column order is important).

SBC CDR settings

Settings from the manufacturer's documentation

Taken from AudioCodes CDR Field Description. Values are those stated in the documentation; confirm them against your firmware release.

Record format notes

  • SBC produces two CDR streams: a signaling CDR per SBC leg (CALL_START/CALL_CONNECT/CALL_END) and a separate media CDR per active media stream (MEDIA_START/MEDIA_UPDATE/MEDIA_END), each media CDR sharing the SIPCallId of its signaling CDR.
  • CDRs can be output as syslog CDRs, CDRs stored locally on the device, or RADIUS CDRs, and fields can be added via CDR customization.
  • The syslog display is tabular and pipe-delimited: a header line names each field, followed by a value line, e.g. for a normally terminated SBC call.
  • Each field has a fixed 'default field title' used in the raw syslog output, e.g. LatchedRtpIp, which can differ from the descriptive name shown in configuration screens.

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:514 (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 SBC.

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 SBC

514

514

Selecting the correct parser for AudioCodes SBC

Parser Selection For PBX Data Logger

AudioCodes SBC

AudioCodes SBC

Data items

DescriptionData typeColumn name
Call typestringCALL_TYPE
Call timedatetimeCALL_TIME
Connect timedatetimeCONNECT_TIME
Release timedatetimeRELEASE_TIME
RingdatetimeRING
Call IdentifierstringFLAG6
Call OriginatorstringFLAG5
DirectionstringDIRECTION
TrunkstringTRUNK
ExtstringEXT
Dialed IPstringDIALED_PHONE
Caller phonestringCALLER_PHONE
Source URLstringFLAG1
Destination URLstringFLAG2
Call duration (sec)integerCALL_DURATION_S
Call durationdatetimeCALL_DURATION
Termination ReasonstringFLAG7
Caller Display IDstringFLAG3
Callee Display IDstringFLAG4
Termination ReasonstringTERM_REASON
Termination Reason CategotystringTERM_REASON_CAT
IP Group NamestringIP_GROUP
SRD ID and NamestringSRD_ID
SIP interface IDstringSIP_ID
Proxy Interface IDstringPROXY_ID
IP Profile IDstringIP_PROFILE
Medial Realm IDstringMEDIA_REALM
Direct Media IDstringDIRECT_MEDIA
SIP Termination ReasonstringSIP_TERM_REASON
SIP Termination DescriptionstringSIP_TERM_DESC
Reads AudioCodes SBC records over TCP port 514. The parser is built in - 31 fields extracted.

Reports and a database

Once records arrive, the logger writes them to a text file or to any ODBC database in real time, or hands them to the PBX Reports utility for manual, scheduled and e-mailed reports with a built-in web server. See exporting call log data to a database for the database setup.

Related AudioCodes systems

AudioCodes Mediant 1000
AudioCodes Gateway (Extended)
AudioCodes VoIP Gateway
Australia Mobile (CSV)
VoIP PBX, softswitch and gateway CDR formats
All supported PBX systems

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.