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
| Item | Aastra MX-ONE CDR setup and formats |
|---|---|
| Variants on this page | Aastra MX-ONE, Aastra MX-ONE (ASB501 format) |
| Interface | LAN. The PBX accepts a connection on TCP port 2112; the logger connects to the PBX IP address. |
| Port | 2112 |
| Parsers | Aastra MX-ONE, Aastra MX-ONE (ASB501 format) |
| Fields extracted | 15 to 21 |
| Other Aastra systems | Aastra Intelligate and MX-ONE MDFP15 formats |
Variants on this page
- Aastra MX-ONE · LAN, port 2112, 21 fields
- Aastra MX-ONE (ASB501 format) · LAN, port 2112, 15 fields
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
| Description | Data type | Column name |
|---|---|---|
| Call time | datetime | CALL_TIME |
| Call duration (s) | integer | CALL_DURATION_S |
| Call metering pulses | string | FLAG1 |
| Condition code 1 | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Access code 1 | string | FLAG2 |
| Access code 2 | string | FLAG3 |
| Account code | string | ACC |
| Authorization code | string | AUTH |
| Transit network selection code | string | FLAG5 |
| Operator system access code | string | FLAG6 |
| Queue time busy external line | integer | QUEUE_TIME |
| Dialed phone | string | DIALED_PHONE |
| Ext | string | EXT |
| Trunk | string | TRUNK |
| Dialed phone | string | CALLER_PHONE |
| Operator queue time | string | OP_QUEUE_TIME |
| Ring duration (s) | integer | RING_S |
| Ring duration | datetime | RING |
| Queue time duration (s) | integer | QUEUE_TIME_DUR |
| Condition code 2 | string | FLAG4 |
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.
| Setting | Documented value |
|---|---|
| record format / field layout | ASB 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)
| Description | Data type | Column name |
|---|---|---|
| Call time | datetime | CALL_TIME |
| Call duration (s) | integer | CALL_DURATION_S |
| Call duration | datetime | CALL_DURATION |
| Call metering pulses | integer | FLAG1 |
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Access code 1 | integer | FLAG4 |
| Access code 2 | integer | FLAG6 |
| Account code | integer | ACC |
| Authorization code | integer | AUTH |
| CO | string | TRUNK |
| Ext | string | EXT |
| Dialed phone | string | DIALED_PHONE |
| Caller phone | string | CALLER_PHONE |
| Forwarded from | string | FLAG2 |
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).

2. Configure the TCP settings as shown below.

192.168.1.220
2112
192.168.1.220:2112
Selecting the correct parser for Aastra MX-ONE

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.
Related topics: Advanced PBX Data Logger
hereCall logging Call accounting SMDR to SQL SMDR Listener Cables and signals