CCStats Lite Installation
CCStats Lite Installation
Description
Extract files
Configuration
Copying Files
Parsing Logs
Description
Asternic Call Center Stats Lite is on open source queue reporting solution for the Asterisk© PBX. In order to
use the software you must have a working Asterisk PBX, and you should be using queues with it.
Note
If you want to install the PRO version, please follow this guide (installation.php)
instead.
cd /usr/src
wget http://download.asternic.net/asternic-stats-1.5.tgz
Extract files
Configuration
Edit /usr/src/asternic-stats/html/config.php to set authenticate information for the
database:
$dbhost = ‘localhost’;
$dbname = ‘qstatslite’;
$dbuser = ‘root’;
$dbpass = ”;
$manager_host = “127.0.0.1″;
$manager_user = “admin”;
$manager_secret = “admin”;
$language = “es”;
You must set the correct MySQL user and password in the dbuser and dbpass variables, and you must set
the correct Asterisk Manager user and secret in manager_user and manager_secret variables. You can find
your manager password by looking at the /etc/asterisk/manager.conf under the secret
configuration header.
$queue_log_dir = ‘/var/log/asterisk/’;
$queue_log_file = ‘queue_log’;
$dbhost = ‘localhost’;
$dbname = ‘qstatslite’;
$dbuser = ‘root’;
$dbpass = ”;
You will have to set the correct MySQL user and password again in this file.
Print Download
Copying Files Offline
Move the html directory to Apache DocumentRoot:
mv /usr/src/asternic-stats/html /var/www/html/queue-stats
mv /usr/src/asternic-stats/parselog /usr/local/parseloglite
Parsing Logs
Create a cron job to parse data from queue_log and populate the database:
crontab -e
Finally, you can see the statistics and reports with your browser from http://ip.asterisk/queue-stats
(http://ip.asterisk/queue-stats)
Print Download
Offline