Thursday, October 12, 2017

Install ASTERNIC CallCenterPro on FreePBX distribution

Install ASTERNIC CallCenterPro on FreePBX distribution 

If you have the FreePBX distro (tested on 10.13.66-64bit and SNG7-FPBX-64bit-1707-1) at least and want to install ASTERNIC CCenter Pro on your installation you should just need to do the following:

The core of these instructions are from the Asterinic webpage

cd /usr/src
wget http://download.asternic.net/asternic-stats-pro-2.1.1.tgz 

tar zxvf asternic-stats-pro-2.1.1.tgz

cd asternic-stats-pro-2.1.1

(when it asks for SQL password just press "ENTER", the password is blank)

make install

If for some reason your machine doesn't have the "MAKE" app on your instance you can usually get it by issuing this command: yum -y install make

cat /etc/asterisk/manager.conf

Look for the following.  Copy the entry for the secret for your system.
secret=XXXXXXXXXXXXXXXXXXXXXX

Now edit the following file with your favorite linux editor. NANO and VI are very popular

/var/www/html/stats/config.php

enter the password into the following section:

$MANAGER_SECRET = "XXXXXXXXXXXXXXXXXX";

Save the changes.

service asterniclog start

Log into the GUI http://ipOfServer/stats

(i've had situations where at this point, nothing seemed to happen.  In my case, i issued a " service httpd restart"
to kick the webserver off again and it sorted my issue.

(admin admin)

goto SETUP-> PREFERENCES

Click on "ADD"

keyword: asterisk_18
leave parameter field empty
and set value=1 

In FREEPBX goto 
SETTINGS -> Advanced Settings 

enable "Display Readonly Settings" and "Override Readonly Settings"
Press SUBMIT then the read RELOAD button that appears.

Find:
POST CALL RECORDING SCRIPT and enter the value:

/usr/local/parselog/update_mix_mixmonitor.pl ^{UNIQUEID} ^{MIXMONITOR_FILENAME}

Press SUBMIT then the read RELOAD button that appears.

Should be good to go

No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.