bg

Mitel 5000 SMDR setup and CDR format

This page shows how to get call records out of the Mitel 5000 into Advanced PBX Data Logger: the connection settings, the parser to select and the 9 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

ItemMitel 5000
InterfaceLAN. The PBX accepts a connection on TCP port 4000; the logger connects to the PBX IP address.
Port4000
Parser to selectMitel 5000
Fields extracted9
Other Mitel systemsMitel SX-200D, CS-5000 and Inter-Tel SMDR formats
SMDR login handshake (documented)<Byte_Count><Socket_Type=0x84><Password>0x00
SMDR password location (documented)Database Programming, System\Sockets

Settings from the manufacturer's documentation

Taken from Mitel 5000 CP SMDR Connection Guide, Mitel 5000 CP v5.1 Features and Programmming Guide, Mitel CallAccounting InstallationGuide. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
SMDR TCP socket port4000
SMDR login handshake<Byte_Count><Socket_Type=0x84><Password>0x00
SMDR password locationDatabase Programming, System\Sockets
Listening Port for socket connections4000, under System > IP Settings
record framing80 ASCII characters plus CR/LF

Switching SMDR output on, as documented

  1. Select System > Sockets > SMDR and enable the socket, matching the SMDR password configured in Database Programming System\Sockets.
  2. Verify System > IP Settings has the Listening Port set to 4000 before connecting.

Record format notes

  • Normal call record layout: TYP EXT TRUNK DIALED-DIGITS START ELAPSED COST ACCOUNT-CODE, fixed columns, space-separated.
  • Two-line header (title/time, then column headers) is sent at connection and at the start of each day.

Configuring PBX Data Logger as a TCP client

Our software should work in the TCP client mode. It means that our software will initiate connection with the PBX and the PBX will work as a server. Add one or several PBX IP addresses here (the IP address of the Mitel 5000). The port number should match the port that you have defined within the PBX (4000 in the example below).

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 Client Mode - Mitel 5000

192.168.1.220

4000

192.168.1.220:4000

Selecting the correct parser for Mitel 5000

Parser Selection For PBX Data Logger

Mitel 5000

Mitel 5000

Data items

DescriptionData typeColumn name
Call typestringCALL_TYPE
ExternalstringEXT
TrunkstringTRUNK
PhonestringDIALED_PHONE
Call timedatetimeCALL_TIME
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
CostfloatCOST
AccountstringACC

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

Mitel 5000 CP
Mitel 3300 ICP (Universal)
Mitel CS-5000
Mitel MiVoice Office 400
Mitel SX-200D, CS-5000 and Inter-Tel SMDR 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.