Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

The main guide can be found here.

This is just a WAY shortened down version for my reference.

PreReq's:

yum install -y httpd php php-pear php php-gd php-mysql php-pdo php-mbstring php-process php-xml mariadb-server mariadb
systemctl enable mariadb.service
systemctl start mariadb
mysql_secure_installation 
Install : (Download)
cd /usr/src
wget http://www.fop2.com/download/centos64 -O fop2.tgz
tar -zxvf fop2.tgz
cd fop2* 
make install
Rec Script :
/usr/local/fop2/generate_override_contexts.pl -write 

Note:

What this script does is to write some dialplans that will override the FreePBX defaults to integrate the FOP2 presence box with the DND FreePBX featurecode, and the CallForward FreePBX Feature Codes with the CF note for FOP2 Buttons. Your original file that is saved with the name /etc/asterisk/extensions_override_freepbx.conf.bak. Simple replace it to undue the changes.

Check Credentials :

/usr/local/fop2/fop2_server --test
FOP2 Check Auth

If good then go to -->
Start FOP2 :

service fop2 start 

http://your.server/fop2/admin

You must login to the manager at least once before trying to access FOP2. This populates the databases etc etc.
Note : You must create a user in FreePBX and then log into FOP2 with those credentials. (Vanilla install, or just use your already existing FreePBX credentials)
Read here if you have trouble.

Configure Server :
Centos/Fedora FOP2 WebRoot :

/var/www/html/fop2 

FOP2 Main Config :

/usr/local/fop2/fop2.cfg 

Asterisk's manager Main Config :

/etc/asterisk/manager.conf 

Please be sure not to remove nor modify existing users or settings in the manager.conf file, you only need to add the [fop2] user or check the [admin] user secret. You will also need to check that enabled is set to yes.

In FreePBX based installations, you might want to add the user in the manager_custom.conf file instead of manager.conf

Activate License

  • No labels