Overview:
By default SMDRLink is always installed on the AMETHSYT server. If you
are using the SMDLink on a Windows PC, make sure that the Linux version
is not running (by default it should not be running).
All configuration is done on the Windows box in the amtsmdrlink.ini file.
All logs files is also created on the Windows box. By default you have the
'rawdata' file and the 'smdrlink.log' file. To view the smdrlink detail log
it needs to be enabled to write out this file.
SMDRLink for Windows runs as a service. After changes in the ini file it
needs to be stopped and started again.
Requirements:
AMTSMDRLink version 1.0.0.25 or newer.
The update, for example 'amt-amtsmdrlink_(win32)-update-1_0_0_25.exe' is
available on the internet, www.datatex.co.za, under our member area.
Install and configuration:
Run the exe on the Windows PC which is connected to the PABX via
serial cable.
ALSO SEE: How to install the AMTSDRLINK as a service
You need to do the configuration in the ini file:
The smdrlink.ini file is located in 'C:\Program Files\Datatex\smdrlink'.
Configure the PABX communication settings in the '[SERIALCOMM]' section:
[SERIALCOMM]
TermChar=10
ComPort=COM1
Baud=9600
Bits=8
Parity=N
Stop=1
SoftFlow=0
HardFlow=0
under the '[SMDRLINK]' section configure:
the AMETHYST port(serverPort) and
AMETHYST IP (serverip) and
the plugin for your PABX (pluginName) and
the location of the plugin dll on the windows box (pluginPath)
[SMDRLINK]
pluginName=PTopazPipe.dll
pluginPath=C:\Program Files\Datatex\smdrlink\
exchangePath=C:\Program Files\Datatex\smdrlink\
vipLinkPath=C:\Program Files\Datatex\smdrlink\
getSetPath=\
enableGetExchange=0
enableVipLink=0
serverIP=127.0.0.1
serverPort=27000
debug=0
listenUDP=1
listenUDPPort=25000
createRawData=1
UdpToPabx3=1
pabx3ServerIP=jose
pabx3Port=25001
Testing:
Check if rawdata is created.
Location: C:\Program Files\Datatex\smdrlink\RawData.
For configuration errors, see smdrlink.log.
Location: C:\Program Files\Datatex\smdrlink\Logs.
To see the detailed logging, enable 'debug' in the '[SMDRLINK]' section:
[SMDRLINK]
debug=1
This will allow you to see the rawdata received, and how the data is translated
for AMETHYST. The log file will list all call data. In this example the pip plugin
is used, therefore the first line does not list actual rawdata, but an already
translated pip delimited string. Find example below:
Incoming call with no CLI:
2005-10-25 07:06:00 - getPBX <== 25-10-2005|07:08:43|207|INCOMING|I||00|00|14|5|I_NORMAL|0|0|
2005-10-25 07:06:00 - getPBX ==> 25-10-2005|07:08:43|207|INCOMING|I||00|00|14|5|I_NORMAL|0|0||
2005-10-25 07:06:00 - Plugin data = 25-10-2005|07:08:43|207|INCOMING|I||00|00|14|5|I_NORMAL|0|0||
2005-10-25 07:06:00 - SMDR data [R:207|INCOMING|INCOMING|0:00:14|R0.00|2005-10-25|07:08:43||5|I|AUTO ATTENDANT 207|]
Incoming call with CLI:
2005-10-25 07:54:12 - getPBX <== 25-10-2005|07:56:55|105|0437271009|I||00|00|41|5|I_NORMAL|0|0|
2005-10-25 07:54:12 - getPBX ==> 25-10-2005|07:56:55|105|0437271009|I||00|00|41|5|I_NORMAL|0|0||
2005-10-25 07:54:12 - Plugin data = 25-10-2005|07:56:55|105|0437271009|I||00|00|41|5|I_NORMAL|0|0||
2005-10-25 07:54:12 - SMDR data [R:105|0437271009|CAMBRIDGE - (ZA)|0:00:41|R0.00|2005-10-25|07:56:55||5|I|AUTO ATTENDANT 105|]