
What is FreePBX?
FreePBX is a web-based open source GUI that controls and manages Asterisk. We cannot use the FreePBX inside our Web app. We have to use this in a separate domain. We can access the call history and recordings from our app.
System Requirements
FreePBX Installation
Run the below commands to install FreePBX.
apt-get install unzip git gnupg2 curl libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev subversion -y
Open the blog and follow the Asterisk Installation steps to install Asterisk - https://e2ehiring.com/blogs/asterisk%20server%20setup-151
apt-get install apache2 mariadb-server libapache2-mod-php7.2 php7.2 php-pear php7.2-cgi php7.2- common php7.2-curl php7.2-mbstring php7.2-gd php7.2-mysql php7.2-bcmath php7.2-zip php7.2- xml php7.2-imap php7.2-json php7.2-snmp
Download and Extract the latest version of FreePBX -
wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-15.0-latest.tgz
tar -xvzf freepbx-15.0-latest.tgz
Install the Node.js package and set the required permission -
cd freepbx
apt-get install nodejs -y
./install -n
Open the web browser and access the FreePBX GUI using the URL - http://your-server-ip/admin
Register the Admin user and login with the credentials -> It will be redirected to the FreePBX dashboard.
FreePBX Configurations