bg

Aastra MX-ONE CDR setup and formats

This page covers the Aastra Aastra MX-ONE and Aastra MX-ONE (ASB501 format) variants in Advanced PBX Data Logger. Each section gives the connection settings, the parser to select and the fields the logger extracts for reports or a database; where the setup steps are the same for every variant they are given once. The settings apply to our logger; other call accounting software may expect a different configuration.

Quick facts

ItemAastra MX-ONE CDR setup and formats
Variants on this pageAastra MX-ONE, Aastra MX-ONE (ASB501 format)
InterfaceLAN. The PBX accepts a connection on TCP port 2112; the logger connects to the PBX IP address.
Port2112
ParsersAastra MX-ONE, Aastra MX-ONE (ASB501 format)
Fields extracted15 to 21
Other Aastra systemsAastra Intelligate and MX-ONE MDFP15 formats

Variants on this page

Aastra MX-ONE

Parser: Aastra MX-ONE
Connection: LAN. The PBX accepts a connection on TCP port 2112; the logger connects to the PBX IP address. Port 2112.
Fields extracted: 21

Call logging for MX-ONE TSE over IP

The PBX can send the SMDR directly to the Advanced PBX Data Logger. You need to configure call info output as:

General format

callinfo_output_set -output 5 -lim 1 -type tcp -subtype general -server 192.168.1.80 -port 2112 - format "FORMAT" -eol NL -record call -localtime

ASB501 format

callinfo_output_set -output 0 -lim all -type tcp -subtype asb501 -server "192.168.1.80" -port 2112 -format -eol CRNL -record call -localtime

MDFP15 format

callinfo_output_set -output 0 -lim all -type tcp -subtype mdfp15 -server "192.168.1.80" -port 2112 -format -eol CRNL -record call -localtime

The following command starting the SMDR stream:

callinfo_status_set -state on -lim all -output OUT_NO
E.g.
callinfo_status_set -state on -lim all -output 0

where FORMAT - the necessary format name (see docs for the PBX);
OUT_NO - the output number from the callinfo_output_set command;
192.168.1.80 - IP address of a remote server, where our software was installed; 2112 - TCP IP port number on the server.

Data items: Aastra MX-ONE

DescriptionData typeColumn name
Call timedatetimeCALL_TIME
Call duration (s)integerCALL_DURATION_S
Call metering pulsesstringFLAG1
Condition code 1stringCALL_TYPE
DirectionstringDIRECTION
Access code 1stringFLAG2
Access code 2stringFLAG3
Account codestringACC
Authorization codestringAUTH
Transit network selection codestringFLAG5
Operator system access codestringFLAG6
Queue time busy external lineintegerQUEUE_TIME
Dialed phonestringDIALED_PHONE
ExtstringEXT
TrunkstringTRUNK
Dialed phonestringCALLER_PHONE
Operator queue timestringOP_QUEUE_TIME
Ring duration (s)integerRING_S
Ring durationdatetimeRING
Queue time duration (s)integerQUEUE_TIME_DUR
Condition code 2stringFLAG4

Aastra MX-ONE (ASB501 format)

Parser: Aastra MX-ONE (ASB501 format)
Connection: LAN. The PBX accepts a connection on TCP port 2112; the logger connects to the PBX IP address. Port 2112.
Fields extracted: 15

Call logging for MX-ONE TSE over IP

The PBX can send the SMDR directly to the Advanced PBX Data Logger. You need to configure call info output as:

General format

callinfo_output_set -output 5 -lim 1 -type tcp -subtype general -server 192.168.1.80 -port 2112 - format "FORMAT" -eol NL -record call -localtime

ASB501 format

callinfo_output_set -output 0 -lim all -type tcp -subtype asb501 -server "192.168.1.80" -port 2112 -format -eol CRNL -record call -localtime

MDFP15 format

callinfo_output_set -output 0 -lim all -type tcp -subtype mdfp15 -server "192.168.1.80" -port 2112 -format -eol CRNL -record call -localtime

The following command starting the SMDR stream:

callinfo_status_set -state on -lim all -output OUT_NO
E.g.
callinfo_status_set -state on -lim all -output 0

where FORMAT - the necessary format name (see docs for the PBX);
OUT_NO - the output number from the callinfo_output_set command;
192.168.1.80 - IP address of a remote server, where our software was installed; 2112 - TCP IP port number on the server.

Settings from the manufacturer's documentation

Taken from Aastra MX-ONE - asb501. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
record format / field layoutASB 501 standard format is fixed-width: e.g. End date bytes 3-6, End time bytes 7-10, Call duration time bytes 12-16, Dialled number bytes 37-56, Calling number bytes 58-67, record ends with CR (byte 111), LF (112), Null (113-115).

Record format notes

  • The record is fixed-width with space-delimited fields, ending with Carriage Return, Line Feed and Null bytes.
  • Account code occupies bytes 69-83 and Authorization code bytes 85-90 in this layout.

Data items: Aastra MX-ONE (ASB501 format)

DescriptionData typeColumn name
Call timedatetimeCALL_TIME
Call duration (s)integerCALL_DURATION_S
Call durationdatetimeCALL_DURATION
Call metering pulsesintegerFLAG1
Call typestringCALL_TYPE
DirectionstringDIRECTION
Access code 1integerFLAG4
Access code 2integerFLAG6
Account codeintegerACC
Authorization codeintegerAUTH
COstringTRUNK
ExtstringEXT
Dialed phonestringDIALED_PHONE
Caller phonestringCALLER_PHONE
Forwarded fromstringFLAG2

Sample record

As delivered by the system; phone numbers, names and public addresses are masked.

   020xxxxx 00016 0000 NT                            2893 495xxxxxxx                               00      2992
   020xxxxx 00000 0000 CI                            1023 495xxxxxxx                               00      1023
   020xxxxx 00018 0000 M     98  699           901xxxxxxx 77709                                    00 011xxxxxx

Connecting the logger

All variants on this page use the same connection settings; the steps below apply to each of them.

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 Aastra MX-ONE). The port number should match the port that you have defined within the PBX (2112 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 - Aastra MX-ONE

192.168.1.220

2112

192.168.1.220:2112

Selecting the correct parser for Aastra MX-ONE

Parser Selection For PBX Data Logger

Aastra MX-ONE

Aastra MX-ONE

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

Aastra MX-ONE (MDFP15 format)
Alcatel 100 model 64 phase II
Alcatel 4100
Aastra Intelligate and MX-ONE MDFP15 formats
Aastra Intelligate IP SMDR
Aastra Intelligate (tab)
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.