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
- Server with Linux OS
- Registered Domain Name with installed TLS(“Let’s Encrypt”) certificate.
- SIP account to make the outbound calls.
FreePBX Installation
Run the below commands to install FreePBX.
- Install all the dependencies to install freePBX -
- Install Apache, MariaDB and PHP -
wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-15.0-latest.tgz
tar -xvzf freepbx-15.0-latest.tgz
cd freepbx
apt-get install nodejs -y
FreePBX Configurations
- Applications -> Add extension - Fill all the details and add the Outbound route then save it.
- Connectivity-> Outbound Routes - Fill the details and add the extension then save it.(We needs to add our VOIP credentials here to make the outbound calls).
- Application-> certificate->add the SSL certificate.
- UCP -> Create the user to login with the dialer.
- Open the URL - http://your-server-ip/admin.
- Login with your UCP credentials.
- Open the Dialpad and Start dial the number.
- Open the Admin portal -> Application-> Recordings - You can get the list of the call recordings.
- Open the Admin portal -> Application-> Call history- List of call history.