bg

Grandstream UCM6500 (Real Time) SMDR setup and CDR format

This page shows how to get call records out of the Grandstream UCM6500 (Real Time) into Advanced PBX Data Logger: the connection settings, the parser to select and the 19 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

ItemGrandstream UCM6500 (Real Time)
InterfaceLAN. The PBX sends records to the logger PC; the logger listens on TCP port 7777.
Port7777
Parser to selectGrandstream UCM6500 (Real Time)
Fields extracted19

PBX Settings

Note: The CDR Real-Time Output feature was added starting from firmware version 1.0.17.16 on the UCM6510.

You can modify the PBX settings using the web interface:
1. Open your preferred browser.
2. Go to http://192.168.0.10/ (replace the IP address with the address of your PBX)
3. Log in as Administrator.
4. From the menu on the left side:
4.1 Select "CDR → API Configuration".
4.2 Or, in newer versions, "Value-added features → API Configuration".
5. Switch to the "CDR Real-time output settings" tab.
6. Enter the destination IP address/port of the computer with Advanced PBX Data Logger (for example: 192.168.0.25 and 7777). Ensure that this computer has a static IP address.
7. Choose the "TCP" delivery method.

Real Time CDR. API configuration

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:7777 (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 Grandstream UCM6500.

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 Grandstream UCM6500

7777

7777

Selecting the correct parser for Grandstream UCM6500 (Real Time)

Parser Selection For PBX Data Logger

Grandstream UCM6500 (Real Time)

Grandstream UCM6500 (Real Time)

Data items

DescriptionData typeColumn name
Record IDstringFLAG1
Account codestringACC
Dialed phonestringDIALED_PHONE
Caller phonestringCALLER_PHONE
Call typestringCALL_TYPE
Source channelstringSRC_CH
Destination channelstringDEST_CH
DirectionstringDIRECTION
Caller namestringFLAG2
Charged user IDstringEXT
Call timedatetimeCALL_TIME
Call duration (s)integerCALL_DURATION_S
Call durationdatetimeCALL_DURATION
RingdatetimeRING
DispositionstringFLAG3
Unique IDstringFLAG4
User fieldstringFLAG5
ServicestringFLAG6
Action typestringFLAG7

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 Grandstream systems

Grandstream UCM6200
Grandstream UCM6200 (Real Time)
Greenlite
HITACHI CX-256MS
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.