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
| Item | NEC SV9300 |
|---|---|
| Interface | LAN. The PBX accepts a connection on TCP port 60010; the logger connects to the PBX IP address. |
| Port | 60010 |
| Parser to select | NEC SV9300 |
| Fields extracted | 27 |
| Other NEC systems | NEC 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.
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.

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.
| Setting | Documented value |
|---|---|
| TCP application port for SMDR on IP | 60010, fixed |
| RS-232C SMDR port baud rate | software-selectable 1200/2400/4800/9600/19200 bps |
| RS-232C SMDR stop bit | 1 or 2 bits |
| RS-232C port (CM40) data speed default | 9600 bps when Y=08 second data is NONE |
| RS-232C port (CM40) data length | 7 bits or 8 bits |
| RS-232C port (CM40) parity check | 0=Effective, 1=Ineffective |
| RS-232C port (CM40) kind of parity | 0=Odd parity, 1=Even parity |
| RS-232C port (CM40) stop bit | 0=1-stop bit, 1=2-stop bits |
| SMDR device/collection unit number | fixed at 00, only one device supported |
Switching SMDR output on, as documented
- Set the SMDR terminal destination to the PBX IP address from CM0B Y=0XX/1XX>00 and TCP port 60010
- Select IP interface for SMDR via CM0B Y=001>92 (0=Maintenance Port, 1=VOIP Port)
- 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
- For RS-232C output, assign port function via CM40 Y=00 second data 14 (SMDR) or 11 (MCI and SMDR)
- 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).

2. Configure the TCP settings as shown below.

192.168.1.220
60010
192.168.1.220:60010
Selecting the correct parser for NEC SV9300

NEC SV9300
NEC SV9300
Data items
| Description | Data type | Column name |
|---|---|---|
| Device number | string | DEVICE_NUMBER |
| Sequence number | string | SEQ_NUM |
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Route + Trunk | string | TRUNK |
| Calling party type | string | FLAG2 |
| Tenant number | string | FLAG3 |
| Calling party | string | EXT |
| Call time | datetime | CALL_TIME |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Condition code | string | FLAG4 |
| Dialed number | string | DIALED_PHONE |
| Called tenant | string | FLAG5 |
| Account | string | ACC |
| Selected route | string | FLAG6 |
| First route | string | FLAG7 |
| Metering pulses | integer | PULSES |
| Call phone | string | CALLER_PHONE |
| Authorization code | string | AUTH |
| Charge unit | string | CHARGE_UNIT |
| Cost (in basic units) | float | COST |
| ATT Billing Report Indication | string | ATT_BILLING_IND |
| Billing Report ATT Number | string | ATT_BILLING_REPORT_NUM |
| Data Identification | string | DATA_ID |
| Calling Party Number or ANI Presentation Identifier | string | DATA_FLAG |
| Calling Party Number or ANI | string | ANI |
Sample record
As delivered by the system; phone numbers, names and public addresses are masked.
200xxxxxx0!KB 001xxxx 121xxxxxxxxxxxxxxxxx 001000 012706 001 0000 2020
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.
Related topics: Advanced PBX Data Logger
hereCall logging Call accounting SMDR to SQL SMDR Listener Cables and signals
