bg

NEC SV9300 SMDR setup and CDR format

This page shows how to get call records out of the NEC SV9300 into Advanced PBX Data Logger: the connection settings, the parser to select and the 27 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 SV9300
InterfaceLAN. The PBX accepts a connection on TCP port 60010; the logger connects to the PBX IP address.
Port60010
Parser to selectNEC SV9300
Fields extracted27
Other NEC systemsNEC Electra Elite, Aspire, DS2000, XN120 SMDR formats
RS-232C SMDR port baud rate (documented)software-selectable 1200/2400/4800/9600/19200 bps

NEC SV9300

This PBX can output SMDR data using the TCP/IP interface.

Our software acts as an SMDR terminal and communicates with the CPU blade in the main unit. Therefore, in the communication settings, set the IP address to connect to the address specified by system data (CM0B YYY=0XX/1XX>00), and the application port number shown in the above table. The PBX outputs data using the fixed TCP port #60010.

The SMDR settings should be adjusted on your PBX. Please, pay attention to the SMDR message format.

Additionally, it would help if you verified that the device number and parity type (CM08 > 827, CM08 > 828) in the PBX settings match the parser's corresponding.

SMDR settings

Fine tuning: LAN Address Type

Configure SMDR Device Destination (Address Type). This setting designates where the system will deliver billing information. By default, our software uses the default address 0.

Command: CM08 > 01
0: SMDR terminal via LAN Port (Default/Most common)
1: SMDR terminal via RS-232C Port2.

Fine tuning: Parity type

Configure Parity Verification (Enable/Disable). This determines whether a parity bit check is active for text transmissions. By default, PBX Data Logger does not use parity checking.

Command: CM08 > 827
0: Not Provided (None/No parity).
1: Provided (Enables check and the parity type is determined by the next step).

If you enabled parity in the step above, use the following command to configure the parity type.

Command: CM08 > 828
0: Odd Parity
1: Even Parity

Go to "Modules → Query Parse Filter → Data query → Click "Setup" and configure the corresponding option in the parser settings.

NEC9300 device address and parity type

Settings from the manufacturer's documentation

Taken from NEC SV9300-SMDR-MCI-PMS-InterfaceSpec-V3, NEC SV9300 UNIVERGE Programming Manual v8, NEC SV9300-SMDR-InterfaceSpec-V3, NEC SV9300-SMDR-InterfaceSpec-V3-Extended. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
TCP application port for SMDR on IP60010, fixed
RS-232C SMDR port baud ratesoftware-selectable 1200/2400/4800/9600/19200 bps
RS-232C SMDR stop bit1 or 2 bits
RS-232C port (CM40) data speed default9600 bps when Y=08 second data is NONE
RS-232C port (CM40) data length7 bits or 8 bits
RS-232C port (CM40) parity check0=Effective, 1=Ineffective
RS-232C port (CM40) kind of parity0=Odd parity, 1=Even parity
RS-232C port (CM40) stop bit0=1-stop bit, 1=2-stop bits
SMDR device/collection unit numberfixed at 00, only one device supported

Switching SMDR output on, as documented

  1. Set the SMDR terminal destination to the PBX IP address from CM0B Y=0XX/1XX>00 and TCP port 60010
  2. Select IP interface for SMDR via CM0B Y=001>92 (0=Maintenance Port, 1=VOIP Port)
  3. Select message format for SMDR via CM04 Y=01 (RS-232C) or Y=01>08 (IP): values include Extended 2400 IMS Format variants and Former 2400 IMS Format
  4. For RS-232C output, assign port function via CM40 Y=00 second data 14 (SMDR) or 11 (MCI and SMDR)
  5. Billing data can be output from RS-232C Port1 or Port2, but only one RS-232C SMDR device may be connected

Record format notes

  • Combined manual title is 'SMDR/MCI/PMS Interface Specifications'; Chapter 1 = SMDR, Chapter 2 = MCI, Chapters 3-4 = PMS (hotel front desk)
  • Extended format record runs fields 001-176 (adds ANI info, Advice of Charge, and a Time-of-Start-Incoming-Calls sub-record); Former format record is shorter and lacks these
  • Legend for record prefix characters: SA=Station Address ('0'), UA=Unit Address ('!'), K=Entry Index, type-of-record letter follows (A/E/B for Former format, H/I/J for Extended format)
  • PMS chapters (3-4) are explicitly hospitality/front-desk features (guest room status, maid status, check-in, guest name, DID for guest stations), not generic call accounting
  • SMDR-on-IP protocol frames are NEC-proprietary messages (Data Request/Sending Data/Server Response/Client Response/Status Monitoring) sent over the TCP 60010 socket
  • PBX must respond to a Data Request within 10 seconds by default (adjustable 1-30s) or the client re-requests and eventually resets the connection

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 NEC SV9300). The port number should match the port that you have defined within the PBX (60010 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 - NEC SV9300

192.168.1.220

60010

192.168.1.220:60010

Selecting the correct parser for NEC SV9300

Parser Selection For PBX Data Logger

NEC SV9300

NEC SV9300

Data items

DescriptionData typeColumn name
Device numberstringDEVICE_NUMBER
Sequence numberstringSEQ_NUM
Call typestringCALL_TYPE
DirectionstringDIRECTION
Route + TrunkstringTRUNK
Calling party typestringFLAG2
Tenant numberstringFLAG3
Calling partystringEXT
Call timedatetimeCALL_TIME
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
Condition codestringFLAG4
Dialed numberstringDIALED_PHONE
Called tenantstringFLAG5
AccountstringACC
Selected routestringFLAG6
First routestringFLAG7
Metering pulsesintegerPULSES
Call phonestringCALLER_PHONE
Authorization codestringAUTH
Charge unitstringCHARGE_UNIT
Cost (in basic units)floatCOST
ATT Billing Report IndicationstringATT_BILLING_IND
Billing Report ATT NumberstringATT_BILLING_REPORT_NUM
Data IdentificationstringDATA_ID
Calling Party Number or ANI Presentation IdentifierstringDATA_FLAG
Calling Party Number or ANIstringANI

Sample record

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

200xxxxxx0!KB      001xxxx  121xxxxxxxxxxxxxxxxx          001000      012706  001                     0000                  2020           
Reads NEC SV9300 records over TCP port 60010. The parser is built in - 28 fields extracted.

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 SV9100 (General Overseas Format)
NEC SL1100
NEC Topaz
NEC Univerge SV8100 (General Overseas Format)
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.