NEC 2400 SMDR setup and CDR format
This page shows how to get call records out of the NEC 2400 into Advanced PBX Data Logger: the connection settings, the parser to select and the 13 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 | NEC 2400 |
|---|---|
| Interface | Serial printer port or LAN, whichever the system uses for SMDR output. The record layout identifies the format. |
| Parser to select | NEC 2400 |
| Fields extracted | 13 |
| Other NEC systems | NEC Electra Elite, Aspire, DS2000, XN120 SMDR formats |
| Serial baud rate (documented) | 9600 (selectable 1200/2400/4800/9600) |
| Serial parity (documented) | None (Odd/Even selectable) |
| Serial data bits (documented) | 8 |
| Serial stop bits (documented) | One (1 or 2 selectable) |
Settings from the manufacturer's documentation
Taken from NEC NEAX SMDR Manual v5.0, nec neax 2400 smdr 2, nec neax 2400 smdr 3, Veramark - Connectivity Guide. Values are those stated in the documentation; confirm them against your firmware release.
| Setting | Documented value |
|---|---|
| Serial baud rate | 9600 (selectable 1200/2400/4800/9600) |
| Serial parity | None (Odd/Even selectable) |
| Serial data bits | 8 |
| Serial stop bits | One (1 or 2 selectable) |
| SMDR TCP port (Flexible Format / LAN) | 60010 |
| LAN transmission code | ASCII 8 bit, no parity |
| Alternate serial defaults (Veramark integration guide) | 9600 baud, 8 data bits, no parity, 2 stop bits, DTR/RTS flow control |
Switching SMDR output on, as documented
- ASYD Index 32 Bit 7 must be set to enable SMDR service
- ASYD System Data 2 Index 3 Bit 0 must be set to enable SMDR service
- ASFC assign Service Feature Class SFI 14 to enable SMDR for trunk calls
- ARTD CDN 10 (SMDR) must be set per route to enable SMDR
- ASYD Index 34 Bit 0 enables RS232C output for SMDR
- ASYDL Index 576 Bit 2 selects RS232C or LAN as the SMDR interface type
Record format notes
- Record header bytes are fixed: System Address is always '0', Unit Address is always '!', matching the page's '0!K...' sample prefix
- 'K' after the '0!' header identifies the line as an SMDR record
- KA = Outgoing call, Normal Format, fixed length 131 characters, Serial RS232C only
- KB = Station-to-Station call, Normal Format (matches the page's '0!KB' sample line)
- KE = Incoming call, Normal Format (matches the page's '0!KE' sample lines)
- Only 'Flexible Format' (KK/KL/KM) records support LAN/TCP-IP output; Normal Format (KA/KB/KE, shown in the page sample) is Serial RS232C only
- Up to four SMDR collection devices ('0' through '3') can connect, each receiving identical records
Selecting the correct parser for NEC 2400

NEC 2400
NEC 2400
Data items
| Description | Data type | Column name |
|---|---|---|
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Route + Trunk | string | TRUNK |
| Calling party | string | FLAG2 |
| Tenant number | string | FLAG3 |
| Extension | string | EXT |
| Call time | datetime | CALL_TIME |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Account | string | ACC |
| Condition code | string | FLAG4 |
| Phone | string | DIALED_PHONE |
| Call phone | string | CALLER_PHONE |
Sample record
As delivered by the system; phone numbers, names and public addresses are masked.
0!KB 001281 061xxxxxxxxxxxxxxxxx 001000 01522 001 0000 0707 0!KE021xxxxxxxxx 061xxxxxxxxxxxxxxxxx 001xxxxxxxxx 0000 0707 0!KE021xxxxxxxxx 061xxxxxxxxxxxxxxxxx 001xxxxxxxxx 0000 0707
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 NEC systems
NEC 2000 IVS SeriesNEC (LAN Normal Format Fixed Length)
NEC Aspire (Format2,Date)
NEC Aspire 300IP
NEC Electra Elite, Aspire, DS2000, XN120 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.
Related topics: Advanced PBX Data Logger
hereCall logging Call accounting SMDR to SQL SMDR Listener Cables and signals