AMETHYST SMDRLink and AVAYA IP Office

All documents from the original Software Support Library (SSL)

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

AMETHYST SMDRLink and AVAYA IP Office

Postby Belinda Frick » Thu Nov 18, 2010 11:34 am

Overview

The AVAYA DeltaCCC service connects to the PABX and writes a
Comma Seperated Values (CSV) file to the harddisk where the
service is installed on. In this example it writes to

C:\Program Files\Avaya\IP Office\SMDR.CSV

SMDRLink Filereader is a text file reader and TCP server.
This will "Read" the text file and open a TCP listen port
for SMDRLink to connect to to retrieve the data. The filereader
keeps track of it's place in the file.


Solution

Installing the SMDRLink FileReader on the DeltaCCC computer.

Upon receiving SMDRLink Filereader.exe place it in

C:\Program Files\Datatex\SMDRLink Filereader\

Note: Keep the Window open. We will be returning to it later.

Open up Command prompt by clicking on "Start" > run > CMD
Navigate to the path by typing "cd C:\Program Files\Datatex\SMDRLink Filereader\
and pressing enter.

Then install the service with
-install
in our example we received the FileReader.exe. The command prompt should look like

C:\Program Files\Datatex\SMDRLink Filereader\FileReader.exe -install


There'll be a window popup saying "Service installed succesfully"

Once that is done the Filereader needs to be configured to read
in the SMDR.CSV file.

Configuring SMDRLink Filereader

Start > Run > Type Services.msc

A window will pop up with all the currently installed services. These are background
"applications" that run without and user intervention.

Look for SMDRLink File Reader > click on "Start"

A progress bar will pop up. After the service started. Stop the service, by clicking on "Stop"

Note: Keep the Window open. We will be returning to it later.

Go back to the folder with the exe C:\Program Files\Datatex\SMDRLink Filereader\
There will be an smdrlinkFileReader.ini file. Open the file. It will open with any
textfile editor. Notepad is normally the default.

Explaination of the file reader ini

[CONNECTION]
ListenPort=27997 : The TCP port number that FileReader will listen on for a connection
[DATA]
EOLChar=10 : The end of line Character
CheckInterval=2000 The time in milliseconds between reading the file for changes
FileName=data.txt : The path of the text file.


The filename as per example will be
C:\Program Files\Avaya\IP Office\SMDR.CSV

Our smdrlinkFileReader.ini will look like this:

[CONNECTION]
ListenPort=27997
[DATA]
EOLChar=10
CheckInterval=2000
FileName=C:\Program Files\Avaya\IP Office\SMDR.CSV

Go back to the "Services" window and Start SMDRLink File Reader


Configuring SMDRLink to connect to the FileReader

Log on to SMDRLink on port 3081.
user: admin
pass: ******* (password is encrypted. Phone Datatex Support (0861114351) if you have forgotten the password)

Change the 'Communication' settings in SMDRlink to connect to the FileReader.

PABX IP : IP adres of the DELTACCC server
PABX Port : 27998
EoL Character : Should match the EOL of the Filereader (10) in our example.

Click "Apply Changes"


Confirming SMDRLink is receiving call info

On the "Configure SMDRLink" page in SMDRLink (First icon)

Change Log Level to "all"
Select "Write Rawdata"

Click Apply Changes


Click on the 3rd icon from the left "View Log files"
Make sure the date is (Today)
Check if there is a "Download Rawdata" link on top of "SMDRLink Status log"
If that is the case SMDRLink is receiving rawdata. It has succesfully connected to the
FileReader service.

Check in the "SMDRLink Detail log" that the following is received.
This just confirms that the correct plugin is currently being used.

getPBX <== 05/16 07:49:31 0000:00:24 T4 **** 8349 8349
getPBX ==> 16-05-2008|07:49:31|8349|INCOMING|I||00|00|00|4|I_UNANSWER|0|24||||||
Plugin data = 16-05-2008|07:49:31|8349|INCOMING|I||00|00|00|4|I_UNANSWER|0|24||||||
SMDR data [R:8349|INCOMING||0:00:00|R0.00|2008-05-16|07:49:31||4|I||]


Where the important part of this log entry is

SMDR data [R:8349|INCOMING||0:00:00|R0.00|2008-05-16|07:49:31||4|I||]

Verify that the extension number is preceded by the R:

Making sure received in the string is the number and duration of the call


If no SMDR data [R:xxxx] is received contact Datatex Support for information on
the correct plugin.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (Amethyst)

Who is online

Users browsing this forum: No registered users and 1 guest