This manual will guide you on every detail about how to install and use the Billing for FusionPBX native application. If you want to have a quick setup, you may read the quick guide and later return here.
Before you start Billing for FusionPBX installation, you must satisfy the next requirements:
When you satisfy these requisites, please follow the next steps:
To configure LCR for FusionPBX, you need to understand the following concepts:
Remember to fill the accountcode field with the correct value when creating items in FusionPBX. After having your first billing profile ready, you need to change the bridging statements to lcr/default/XXXXXX, usually lcr/default/$1. It depends on your dialplans. The default profile will pass the information you need to bill properly.
The following files can be edited and place into a crontab:
Sometimes, you may need to change billing logic (only in specific cases). You can edit the file resources/functions/ratings.php
You may follow the installation procedure for any update.
The application architecture within the /app directory of FusionPBX allows a very quick installation. Please follow the following steps:
ShadowPHP is encryption technology that Billing for FusionPBX uses. It is important to properly install this component.
If you are in doubt about how to configure ShadowPHP extension, you will find this site http://phpshadow.com/download.php very useful. There is a User Guide (in English) that explains step by step how to install.
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:
If you are using CentOS 6, 7 and 8 you can do the following:
At this time the application is ready to be configured.