This document explains how to install multiple instances of the NEAX service on one PC.
NEC service:
- Using the Installer, install the dtxNec application as the
default instance. It will install to the C:\Program Files\Datatex\Nec directory. - When running the install it will prompt you to edit the ini file.
Please enter for the PABX, the port and IP in section listed below:
PORT=60010
ADDRESS=127.0.0.1
EVENPARITY=1
To create additional instances follow the steps below for each instance.
- Create a new folder for the extra instance with format NECx.
Where x is the instance number
e.g. C:\Program Files\Datatex\Nec1 - Copy the dtxNEC.exe and dtxNEC.ini from the default
folder in to the new folder. - Rename the files to the instance in format dtxNEXx.exe and dtxNECx.ini
Where x is the instance number
e.g dtxNEC1.exe and dtxNEC1.ini. - From the command prompt go to the new folder
e.g cd "C:\Program Files\Datatex\Nec1" - Type in dtxNECx.exe -install
Where x is the instance number e.g dtxNEC1.exe -install - Edit the dtxNECx.ini file.
- Set the SMDR Port. This must be unique for each instance.[SMDR]
PORT=12345 - Also enter the IP and port of this PABX:
- Code: Select all
[PABX]
PORT=60010
ADDRESS=127.0.0.1
EVENPARITY=1[/list]
- In the Service Manager you now should have a dtxNEC1 service
and you can start it.
NB: Repeat above steps for the number of instances you require.
It is very important to create a new folder for each instance and to edit
the ini file for the SMDR Port.- Set Verbose logging
- Code: Select all
[LOGGING]
VERBOSE=1
- If set, you can see if SMDR data received, see example below:
- Code: Select all
[2008-10-28 17:42:51] Got Response on: Data Request
[2008-10-28 17:42:52] SMDR: 0!KH0100000017058 10260251561026025215 00100001001000215927514 0000 090909 08080 A0 Z
else
"Send to Client[192.168.15.99]: ."
PABX3:
NOTE: This is not an install file. It will place the pabx3.exe program in the folder :
C:\Program Files\datatex\pabx3
You must create the profiles\lib and rawdata folder, else it will give error messages when you run the pabx3.exe.
You also need to create pabx3 shortcut and place it in the startup to ensure pabx3 is running when the PC restarts. - Now you can install PABX3 to connect to each instance created above. You
will need multiple PABX3 and you have to connect to the same SMDR port as
configured in the NEC service for that PABX. Use the IP of the PC the NEC
service is installed on as the PABX IP in PABX3, as the NEC service is
simulating the PABX. - Please see PABX3 Plugin: NEC NEAX 2400 IMS Format to select plugin.
Use version 2008.12.23.1 or newer.
PABX3 will write out the pabx.pip file in the default file location of
C:\Program Files\Datatex\Pabx3 - To see if TNG/PABX3 is connecting(via TCP connect) to the NEC service,
check the NEC service log file:
[2008-10-28 17:43:06] Send to Client:- Code: Select all
vd8Wz7RXyfa9zm23tVHJ87Tefba0VM/2v8tvtrFXyfS7zm+ytlTB5q3efaekRtnmrc5ttrVWyfa8zm22tFbJ9LzLZLWzU8jyrd59p6RG2eat3n2npEbZ5q3efaekVsn2vd59p6RG2eatzmS3vVbA5q3efbe8VsH2rd59p6RG2eat3hy3pEbZ5q3efaekRtnmrd59p6RG2eat3n2npEbZ5q3efafeZvnD
[2008-10-28 17:43:06] Client disconnected from buffer: 11084560
[2008-10-28 17:43:06] Got Response on: Data Request
- To see if PABX3 is receiving the SMDR data, please check rawdata file.
If received and correct plugin used, then call data will display on PABX3
CALL DATA screen.
TNG: - Configure TNG to read in the pabx.pip as input file with the TOPAZ pip plugin.
- Set the SMDR Port. This must be unique for each instance.[SMDR]