E2EHIRING Logo
Jobs
Jobs
courses
Courses
mentorship
Mentorship
more
Moredropdown
E2EHIRING Logo
more
Jobs
Jobs
courses
Courses
mentorship
Mentorship
HomeSepratorIconBlogsSepratorIconFreePBX Server SetupSepratorIcon

FreePBX Server Setup

Han SoloVigneswaran Sekar
calendar11 Jul 2022
poster

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

  1. Server with Linux OS
  2. Registered Domain Name with installed TLS(“Let’s Encrypt”) certificate.
  3. SIP account to make the outbound calls.

FreePBX Installation

Run the below commands to install FreePBX.

  1. Install all the dependencies 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 
     
  2. Open the blog and follow the Asterisk Installation steps to install Asterisk - https://e2ehiring.com/blogs/asterisk%20server%20setup-151
  3. Install Apache, MariaDB and PHP - 
    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
  4. 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

  5. Install the Node.js package and set the required permission - 

    cd freepbx

    apt-get install nodejs -y

    ./install -n
  6. Open the web browser and access the FreePBX GUI using the URL - http://your-server-ip/admin
    
  7. Register the Admin user and login with the credentials -> It will be redirected to the FreePBX dashboard.

FreePBX Configurations

  1. Applications -> Add extension - Fill all the details and add the Outbound route then save it.
  2. 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).
  3. Application-> certificate->add the SSL certificate.
  4. UCP -> Create the user to login with the dialer.
  5. Open the URL - http://your-server-ip/admin.
  6. Login with your UCP credentials.
  7. Open the Dialpad and Start dial the number.
  8. Open the Admin portal -> Application-> Recordings - You can get the list of the call recordings.
  9. Open the Admin portal -> Application-> Call history- List of call history.



Recent Posts

Rapid Changes in the Coding World: Need for High Skilled Programmers e2eHiring Bridges this Gap with the Mentorship Program April 2023

Rapid Changes in the Coding World: Need for High Skilled Programmers e2eHiring Bridges this Gap with the Mentorship Program April 2023

How to publish your Android app on Google Play Store

How to publish your Android app on Google Play Store

Creating Dynamic User Interfaces with Android Motion Layout

Creating Dynamic User Interfaces with Android Motion Layout

Bean Life Cycle

Bean Life Cycle

Pom.XML

Pom.XML

copycopycopycopy

Han Solo

Recent Posts

Rapid Changes in the Coding World: Need for High Skilled Programmers e2eHiring Bridges this Gap with the Mentorship Program April 2023

Rapid Changes in the Coding World: Need for High Skilled Programmers e2eHiring Bridges this Gap with the Mentorship Program April 2023

How to publish your Android app on Google Play Store

How to publish your Android app on Google Play Store

Creating Dynamic User Interfaces with Android Motion Layout

Creating Dynamic User Interfaces with Android Motion Layout

Bean Life Cycle

Bean Life Cycle

Pom.XML

Pom.XML