How to Setup FreePBX Server on Azure/AWS/GCP (FreePBX Hosting)

FreePBX is a web-based open source GUI (graphical user interface) that controls and manages Asterisk (PBX), an open source communication IP PBX server. FreePBX hosting is licensed under the GNU General Public License (GPL), an open source license. This solution is a pre-configured self hosted FreePBX Distro that includes the system OS (Debian), Asterisk, FreePBX GUI and assorted dependencies.  Deploy and install FreePBX the VOIP server straight into your cloud environment from the links below.

Cloud FreePBX Hosting

Setup FreePBX on Azure

Setup FreePBX on AWS

Setup FreePBX on Google

FreePBX Features

IP PBX using FreePBX VoIP Solution on Ubuntu Server with the following features:

  • Add or change extension and voicemail accounts 
  • Native support of SIP, IAX, and ZAP clients (other endpoints are supported through custom extensions)
  • Supports all Asterisk supported trunk technologies
  • Reduce long distance costs with LCR
  • Route incoming calls based on time-of-day
  • Create interactive Digital Receptionist (IVR) menus
  • Design sophisticated call groups
  • Manage callers with Queues
  • Upload custom on-hold music (MOH)
  • Search company directory, based on name
  • Detect and receive incoming faxes
  • Share administrative duties
  • Backup and Restore your system
  • Save audio recordings of calls
  • View call detail reporting with asterisk-stat
  • View ext and trunk status with Flash Operator Panel
  • View conversation recordings with Asterisk Recording Interface (ARI)
  • Unlimited number of Voicemail boxes
  • “Follow Me” functionality
  • Ring Groups with calls confirmation (so if, eg, a cellphone is out of range and diverts to voicemail, all the other phones keep ringing)
  • Unlimited number of Conferences
  • Paging and Intercom functionality for man SIP phones that support it
  • Music on Hold (via MP3s, or streamed off the internet)
  • Call Queues
  • And many other features

Table of Contents

Getting Started with FreePBX Hosting

Once your FreePBX server has been deployed, the following links explain how to connect to a Linux VM:

 

 

Once connected and logged in, the following section explains how to configure FreePBX to get you up and running.

Setup FreePBX

You’re now ready to access the FreePBX Admin GUI. Follow instructions further down on accessing FreePBX admin.

First step is to confirm your services have started. Run the following commands to check the status and for any inactive status to start the service:

FreePBX Service

				
					sudo systemctl status freepbx
				
			

If service shows as active its running so no need to start the service, if it shows as inactive (dead) its not started, then run the following command:

				
					sudo systemctl start freepbx
				
			

Asterisk Service

				
					sudo systemctl status asterisk
				
			

If service shows as active its running so no need to start the service, if it shows as inactive (dead) its not started, then run the following command:

				
					sudo systemctl start asterisk
				
			

Apache Service

				
					sudo systemctl status apache2
				
			

If service shows as active its running so no need to start the service, if it shows as inactive (dead) its not started, then run the following command:

				
					sudo systemctl start apache2
				
			

Now all the services are running, you’re now ready to access the FreePBX admin GUI.

Access the FreePBX Admin GUI (Graphical User Interface)

Once the above has been configured, you are now ready to login.  Get the IP address of your VM (use http instead of https if it fails to load the login page) and paste into your browser and you should see the following. Setup a new admin account to login:

Update FreePBX / Asterisk Modules

Once you have logged in, perform the following steps:

 

  • Click Apply Config on the top right corner when completed loading.
  • Goto Admin manu click Module Admin.
  • Click Check online.
  • Click Download all.
  • Click Process.
  • Goto bottom click Confirm. Now you see all package start download and install.
  • Click Return.
  • Finally click Apply Config on the top right corner.

 

Now enjoy your FreePBX server. 

FreePBX Firewall Ports

You will need to make sure that if you have any firewalls in your environment (security groups) that the required ports are open. For a full list check the following link:

 

https://wiki.freepbx.org/display/PPS/Ports+used+on+your+PBX

 

To setup AWS firewall rules refer to – AWS Security Groups

To setup Azure firewall rules refer to – Azure Network Security Groups

To setup Google GCP firewall rules refer to – Creating GCP Firewalls

FreePBX Documentation / Support

For documentation on how to start using FreePBX hosting, take a look at their official documentation:

 

https://wiki.freepbx.org/display/FPG/Configuring+Your+PBX

 

For any support or issues you are experiencing have a look at FreePBX support forum:

https://community.freepbx.org/

FAQ

Q) I’m trying to get your Azure Freepbx VM to work. It seems fine until you stop the vm and restart and then Freepbx reports it can’t connect to asterisk

 

A) Sounds like you just need to start asterisk. If you login via your ssh terminal and run the following commands:

 

cd /usr/src

 

cd freepbx

 

./start_asterisk start

Disclaimer: This solution is built using FreePBX. FreePBX is a registered trademark of Sangoma Technologies Inc and is licensed under the GPL. No warrantee of any kind, express or implied, is included with this software Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

5 1 vote
Article Rating
Subscribe
Notify of
1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
1
0
Would love your thoughts, please comment.x
()
x