Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This short guide details how to install and start using FOP2 in FreePBX/PBXact v14 and above.

Installation

  1. Install FOP2

Code Block
wget -O - http://download.fop2.com/install_fop2.sh | bash
  1. Modify FOP2's script for locating the TLS cert and key files insideĀ FreePBX/PBXact

Code Block
sed -i.BAK '/CERT=\$/s/.*/CERT=\$(grep "SSLCertificateFile \/" \/etc\/httpd\/conf.d\/ssl.conf | grep -o " \/.*")/' /usr/src/fop2/server/setSSL.sh ; sed -i '/KEY=\$/s/.*/KEY=\$(grep "SSLCertificateKeyFile \/" \/etc\/httpd\/conf.d\/ssl.conf | grep -o " \/.*")/' /usr/src/fop2/server/setSSL.sh
  1. Run the script that we just modified

Code Block
/usr/src/fop2/server/setSSL.sh

Usage

To start using FOP2 point your web browser to https://pbx.ip.or.domain/fop2 . The default Passwords are the same extension numbers themselves:

...