Run FusionPBX for FreeSWITCH on CentOS in 4 steps

FusionPBX is customizable and flexible web interface to the very powerful and highly scalable multi-platform voice switch called FreeSWITCH. Yes of course its open source.It can be setup and run on any operating system you are comfortable with, bringing in the same flexibility as freeSWITCH. The thing I like about fusion is that its done in PHP without any MVC framework dependencies. However that said, it is very powerful and a neat tool to mange your FreeSWITCH box. I was able to set it up and get running in under 10 mins.

Below are some of the features of FusionPBX:

Unlimited extensions, voicemail-to-email, music on hold, call parking, Direct Inward System Access, Auto Attendant, Call Detail Records, Call Monitoring, Call Routing etc..

For a complete list visit their website

Note: If you already have Apache, PHP and MySQL & Phpmyadmin setup, then jump directly to step 4

Step 1: Install Install Apache2

yum install httpd httpd-devel

Step 2: Install PHP 5.3(with PDO) & MySQL

Since CentOS does not yet ship a recent enough version of PHP, so we you use the RPMs provided in the REMI repository. To do so:

1
2
3
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Now use remi to install php and MySQL

yum --enablerepo=remi install php php-common php-mysql php-gd php-mbstring php-mcrypt php-devel php-pdo php-soap php-xml php-xmlrpc mysql mysql-server mysql-devel

Step 3: Install Phpmyadmin (This step is optional)

yum --enablerepo=remi install phpmyadmin

You might encounter the following errors while configuring phpmyadmin.

1. Forbidden : You don’t have permission to access /phpmyadmin/ on this server.

Fix:

vi /etc/httpd/conf.d/phpmyadmin.conf 
 
Remove or comment the first two lines in bold.
 
<strong>#Order Allow,Deny
#Deny from all</strong>
Allow from 127.0.0.1

2. Error: The configuration file now needs a secret passphrase (blowfish_secret)

Fix

vi /usr/share/phpmyadmin/conf.inc.php
 
Look for a line and enter any password. Just dont leave it empty!
 
$cfg['blowfish_secret'] = 'mydemopass'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
 
Now, Restart the Apache Server
 
service httpd restart

To Test

1. Open http://localhost/phpmyadmin in your local web browser. You should be prompted for authentication
2. Enter the system root username and password and click OK
3. You should now be presented with the phpMyAdmin home page


Step 4 :
Download and install FusionPBX

1
2
3
cd /var/www/html
wget http://www.fusionpbx.com/downloads/fusionpbx-1.0.tar.gz
tar -zxvf fusionpbx-1.0.tar.gz

Now Restart apache

service httpd restart

Next create a database name fusionpbx using Phpmyadmin. If needed you can also create a separate db user or by default we can use root.

Now Open the fusionpbx Auto-Install Wizard

http://(yourserver hostname or localhost)/fusionpbx/install.php

On the Install screen enter the mysql db name, user, password you created. For the database host you can use localhost and the port can be empty.

On Submission, if you see any of the below errors, then please fix these before trying again:

* Write access to /var/www/html/fusionpbx/includes/ is required during the install.
* Write access to the ‘FreeSWITCH Directory’ and most of its sub directories is required.
* Write access to the ‘Secure Directory’ is required. If the /var/www/html/fusionpbx/secure is incorrect please change it below.
* Write access to /var/www/html/fusionpbx and its sub-directories are required during the install.

This is basically a permission issue, so change the permissions for write access

Correct all the errors before you proceed further. Then click “Install” button to proceed further.

If all goes well, you should see a “Congratulations Page”. Cool… We are done.. Now play around with freeswitch and this powerful GUI.

Special thanks to Mark J Crane, the lead developer of Fusion, for supporting me through the install. It was a breeze.

Share this Post
  Facebook  Digg It  Delicious

Similiar Posts


    Fatal error: Call to undefined function related_posts_by_category() in /home/venkysb1/public_html/wp-content/themes/cleanr/single.php on line 38