80
10. Accounter program
The program for remote automatic download cdr information from up to 8* PRIGW units via IP
connection (TELNET).
*
only accounter for Windows, for OS Linux is one script for one PRIGW unit.
10.1. Accounter Program Installation
PRIGW
includes an installation CD with the Accounter program installation. After the CD
is inserted in your PC CD-ROM (or the diskette is inserted in your PC diskette drive), the
installation will start. If you have not selected the automatic running of CD after insertion (or use
diskettes), run the installation program to start the installation. Wait until the installation is
completed.
*) The program can be run under the MS Windows 95 OSR2/98/ME/2000/XP OS only.
**) For OS LINUX you can use 2N-accounter script
10.2. Accounter Program Running
When the installation is complete, run the program by clicking on the "Accounter program"
in your PC menu, clicking on the icon on your desktop, or running the "
Accounter.exe
"
file, which you can find on the appropriate location installed by you using any file explorer,
commander or browser.
If you want to use this function on OS Linux you have to use special script with these
functions.
How to install Accounter script in OS LINUX:
-
Unzip file: unzip Linux-accounter.tar.gz
-
"Untar" file: tar xvf Linux-accounter.tar
-
after it you will have directory: Linux-accounter
-
Inside this directory, you run file "install" : (./install)
-
Script for connect, download cdr and save it to file with format yyyy-mm-dd has name
"2N-accounter". (run type command ./2Naccounter)
-
File "run-2N-accounter" will configure Linux utility "cron" to every 20 min run script 2N-
accounter. (to run type command ./setup-cron).(Setup will modify Linux CRON program)
-
Please, before run file, you must configure IP address, username and password in script
"acounter.pl"
-
previous files and files with cdr info and log file you find in directory: /usr/bin/accounter
log file- accounter.log
cdr info file- yyyy-mm-dd