The application architecture within the /app directory of FusionPBX allows a very quick installation. Please follow the following steps:

Install ShadowPHP

ShadowPHP is encryption technology that Billing for FusionPBX uses. It is important to properly install this component.

  1. Download the server extension to the version of PHP running. The extension can be downloaded from
  2. Inside, you will find the downloaded extension file, copy it into the directory of modules. If you do not know the route, the php command php -rr "echo ini_get ('extension_dir');" will show you the route.
  3. Edit the php.ini file and add the line extension =, some Linux distributions have php.d directory, you can put into a single file and add the line.
  4. Restart your apache server.

If you are in doubt about how to configure ShadowPHP extension, you will find this site very useful. There is a User Guide (in English) that explains step by step how to install.

Download and Install the LCR and Billing for FusionPBX

The next step is to install the software as such. Please download both applications. The Billing application requires LCR. FusionPBX must be configured with a database backend such as MySQL (or MariaDB) or PostgreSQL. Follow the following steps:

  1. Download both applications.
  2. Copy both .tar.bz2 extension files into FusionPBX server. In this example we will assume that both files are in the /root directory and FusionPBX is installed in /var/www/html directory.
  3. Change to /var/www/html/app directory.  Here is where applications are. You can type cd /var/www/html/app.
  4. Expand both tar.bz2 files with tar -jxvf /root/lcr-crypted.tar.bz2 and tar -jxvf /root/billing-crypted.tar.bz2 commands.
  5. Run php /var/www/html/core/upgrade/upgrade_schema.php. The command will display various SQL statements that indicate that they are building the necessary tables in the database.
  6. Log into FusionPBX as a super-administrator and go to the menu System-> Menu Manager, edit the default menu (default) and select the option Restore defaults.
  7. Go to the menu Advanced-> Group Manager and edit the permissions of the super-administrators group. Check that the permissions for LCR and Billing are checked.
  8. Install the Enhanced XML Importer, change to /var/www/html/app directory and type git clone enhanced-cdr-importer
  9. Edit the /etc/freeswitch/autoload_config/xml_cdr.conf.xml file and edit or add the following line:
    <param name="url" value=""/>
  10. Reload the mod_xml_cdr module, you can type reload mod_xml_cdr from the FreeSWITCH console.

Installation Using RPM's

If you are using CentOS 6, 7 and 8 you can do the following:

  1. Install the OKay RPM repository, follow directions on this page.
  2. After the repository is installed, type: yum install fusionpbx-all, confirm the questions and wait.
  3. Finish the installation by accessing to http://IP/fusionpbx/, use the following default data (you can change it):
    • database name: fusionpbx
    • database username: fusionpbx
    • database password: c4rl0s3l4rt1st4
    • database host:

At this time the application is ready to be configured.

About OKay

An IT Company whose mission is generating value with low cost of ownership.

We will offer you Linux based solutions that satisfy your needs. We focus on VoIP & Linux, but we are up for any other challenge you may want to bring.