FusionPBX is an amazing WEB frontend for FreeSWITCH. But as any non-proprietary project (I mean OpenSource licenced), installation is not as easy as everyone would wish. So, here I explain one of the many methods available to install it.
This installation by default will install FusionPBX with the following capabilities:
- Multi-tenant enabled
- MySQL/MariaDB enabled for the Profiles registrations
- MySQL/MariaDB enabled for the FreeSWITCH core
- MySQL/MariaDB enable for the FusionPBX
- FusionPBX XML Handler enabled
- LCR and Billing for FusionPBX
- FreeSWITCH 1.6 (latest available when writing this post)
- Database index optimized
This way, if you want to do later advanced configuration such as load balancing or HA, you don't need to do a big thing in the FreeSWITCH or FusionPBX end.
Let's start, follow these steps:
- Disable the SELinux, usually edit the file /etc/selinux/config.
- Reboot your system (this is a must after disabling SELinux, if SELinux was already disabled then you can skip this step).
- Install the EPEL and OKay RPM repositories.
- If you already have MySQL or MariaDB installed, you will need database user root@localhost passwordless. You can put a password later, but RPM scripts look for that user to push the database information. RPM's will create its own database user for FuionPBX and FreeSWITCH interaction.
- Type yum install fusionpbx-all
You will see it will download many dependencies, this is normal. Please put attention to the output because it will give you useful information. If something goes wrong, you will need to send me that output to figure out why the installation has fallen. Yum will start automatically the mysql/mariadb, memcached, httpd (apache) and freeswitch daemons, but if you want to enable them in the next reboot you need to use the chkconfig or systemctl command.
Default username and password will be superadmin for both cases, please change it as soon as possible. You will be able to reach the FusionPBX console by accessing http://YOUR_SERVER_IP/fusionpbx
LCR and Billing applications for FusionPBX need a license. So you will need to purchase one, but the installation process is already done.
This RPM pushes many indexes into the database. You won't have these indexes if you install FusionPBX without my RPM's. The default installer does not push indexes. Using indexes can speed your database queries up to 7 times. So I think you should use them.
Enjoy!blog comments powered by Disqus