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
| Item | Grandstream UCM6500 (Real Time) |
|---|---|
| Interface | LAN. The PBX sends records to the logger PC; the logger listens on TCP port 7777. |
| Port | 7777 |
| Parser to select | Grandstream UCM6500 (Real Time) |
| Fields extracted | 19 |
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.
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).

2. Configure the TCP settings as shown below.

7777
7777
Selecting the correct parser for Grandstream UCM6500 (Real Time)

Grandstream UCM6500 (Real Time)
Grandstream UCM6500 (Real Time)
Data items
| Description | Data type | Column name |
|---|---|---|
| Record ID | string | FLAG1 |
| Account code | string | ACC |
| Dialed phone | string | DIALED_PHONE |
| Caller phone | string | CALLER_PHONE |
| Call type | string | CALL_TYPE |
| Source channel | string | SRC_CH |
| Destination channel | string | DEST_CH |
| Direction | string | DIRECTION |
| Caller name | string | FLAG2 |
| Charged user ID | string | EXT |
| Call time | datetime | CALL_TIME |
| Call duration (s) | integer | CALL_DURATION_S |
| Call duration | datetime | CALL_DURATION |
| Ring | datetime | RING |
| Disposition | string | FLAG3 |
| Unique ID | string | FLAG4 |
| User field | string | FLAG5 |
| Service | string | FLAG6 |
| Action type | string | FLAG7 |
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 UCM6200Grandstream 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.
Related topics: Advanced PBX Data Logger
hereCall logging Call accounting SMDR to SQL SMDR Listener Cables and signals
