bg

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

ItemNEC 2400
InterfaceSerial printer port or LAN, whichever the system uses for SMDR output. The record layout identifies the format.
Parser to selectNEC 2400
Fields extracted13
Other NEC systemsNEC 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.

SettingDocumented value
Serial baud rate9600 (selectable 1200/2400/4800/9600)
Serial parityNone (Odd/Even selectable)
Serial data bits8
Serial stop bitsOne (1 or 2 selectable)
SMDR TCP port (Flexible Format / LAN)60010
LAN transmission codeASCII 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

  1. ASYD Index 32 Bit 7 must be set to enable SMDR service
  2. ASYD System Data 2 Index 3 Bit 0 must be set to enable SMDR service
  3. ASFC assign Service Feature Class SFI 14 to enable SMDR for trunk calls
  4. ARTD CDN 10 (SMDR) must be set per route to enable SMDR
  5. ASYD Index 34 Bit 0 enables RS232C output for SMDR
  6. 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

Parser Selection For PBX Data Logger

NEC 2400

NEC 2400

Data items

DescriptionData typeColumn name
Call typestringCALL_TYPE
DirectionstringDIRECTION
Route + TrunkstringTRUNK
Calling partystringFLAG2
Tenant numberstringFLAG3
ExtensionstringEXT
Call timedatetimeCALL_TIME
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
AccountstringACC
Condition codestringFLAG4
PhonestringDIALED_PHONE
Call phonestringCALLER_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 Series
NEC (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.