FreePBX
Instructions for Deploying and Configuring FreePBX
FreePBX Project
Overview
FreePBX is a wrapper around Asterisk, the free, open source PBX system, which provides features for managing and routing phone calls for an organiztion.
This documentation seeks to outline how to install and configure a basic FreePBX System.
Installation
Download Debian ISO and Install Onto a Bare Metal Server / Virtual Machine
- FreePBX only runs on the Debian Linux Distribution
- A known ISO that works can be found here
- Provision the Debian Server using your prefered method of installing a Linux System (i.e. onto a bare metal server, inside of a Hypervisor)
- The only requirement is that the provisioned server needs to have a Static IP assigned to it in order for SIP Clients to be able to connect back to the server
Execute FreePBX Installation Script
- FreePBX is configured by running a project-provided installation script
- Execute the following to run the script:
sudo -i # Escalate to Root Privileges
wget https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -O \
/tmp/sng_freepbx_debian_install.sh # Download Installation Script
bash /tmp/sng_freepbx_debian_install.sh # Run Installation Script
- Script can take time to execute, so please wait until the script is complete
- After running this script, FreePBX will now be installed, allowing for the user to begin configuring the application
Initial Configuration
Logging into the UI
- In order to begin configuring telephony-releated settings, some initial configuration must be completed first
- To begin, access the FreePBX UI by going to
https://$IP, where$IPis the IP address of the FreePBX Server - After accessing the UI, you will be greated with a form to provide credentials to the FreePBX Admin User
- After providing the desired credentials, click on the
FreePBX Administrationbutton to continue configuration
Language Settings
- This form configures the language configuration used by FreePBX
- Set System Locals to English
Sangoma Smart Firewall
- This form configures FreePBX's system firewall, which will dictate which telephone connections will be passed onto the FreePBX Server
- Answer the forms questions are directed below:
- Should your client be trusted? -> Yes
- Should your network be trusted? -> Yes
- Should you enable Responsive Firewall -> Yes
- Should you let Asterisk Decide IP Settings -> Yes
Disable Analytics
- By default, FreePBX enables analytics to be sent back to
Sangoma, FreePBX's vendor - These can be disabled by doing the following:
- Go to
Settings -> Advanced Settings -> System Setup section - Set
Browser StatstoFalse - Click
Submit - Click
Apply Configin the top-righthand corner
- Go to
Create Extensions
- TODO:
Create SIP Trunk
- TODO:
Create Inbound Rule
- TODO:
Create Outbound Rule
- TODO: