How to configure a FusionPBX User/Pass Trunk
FusionPBX can be used as a highly available single or domain based multi-tenant PBX, carrier grade switch, call center server, fax server, voip server, voicemail server, conference server, voice application server, appliance framework and more. FreeSWITCH™ is a highly scalable, multi-threaded, multi-platform communication platform. This article guides you on how to configure this PBX for making and receiving calls over the internet through a next generation carrier like Telnyx!
You'll need to have created a credentials based connection on your Telnyx Mission Control Portal account, assigned this connection to a DID and outbound profile in order to make and receive outbound calls. This provides you with the username and password you will use to register FusionPBX with Telnyx.
There are currently 4 downloads available for unix based systems only. Download them here.
You can view the installation guide here.
Coming soon! This walkthrough will demonstrate setting up a credential based connection with FusionPBX. We'll also show you how to assign this connection to a newly purchased DID which will allow you to receive inbound calls. Then we'll walk you through how to assign the connection to an outbound profile such that you can make outbound calls!
CONFIGURING YOUR TELNYX MISSION CONTROL PORTAL
For step by step instructions on each of the requirements on the Telnyx Mission Control Portal, please follow this guide.
Once you've configured your Telnyx account, you can now proceed to setup Zoiper following the guide below.
CONFIGURING YOUR FUSIONPBX
You are now all set on the Mission Control Portal side and are ready to configure your Telnyx trunk within your 3CX system.
We recommend using Debian as the operating system version that should be running FusionPBX. The current Debian version that we tested FusionPBX on was Debian-9.9.
There are many applications that can be used to set up a Debian Operating System on your computer. In this article we use a program called VirtualBOX VM to set up a Debian Virtual Machine. Follow these steps to install the Virtual Machine on your computer. If you don't want to use a Virtual Machine you can skip these steps and go straight installation of the FusionPBX.
Virtual Box Machine Installation.
Step 1: Download the Debian network installer.
Go to http://www.debian.org and download the network installer disk image.
Step 2: Create a new VirtualBox VM
Click on the New icon in the VirtualBox menu bar.
This will start the New Virtual Machine Wizard. The first screen is just a welcome screen so click Continue to proceed.
VM Name and OS Type
In the Name field type any name you choose. In the Operating System field, enter “Linux” and in the Version field, enter “Debian (64 bit)”. The click Continue.
Use the default setting for the amount of base memory.
Virtual Hard Disk
We will create a new virtual hard disk to use as our VM file system. So, use the default setting on this screen.
In the next screen, select the format for the virtual hard disk. Here. we will us the default settings, again. So, we will use the native VirtualBox Disk Image (VDI) format. Then, click Continue.
In the next screen, we need to choose between a Dynamically Allocated or a Fixed size virtual disk file. We should choose “dynamically allocated”, which is the default.
Then, choose the location and maximum size of the VM disk image file on your host computer’s file system. Again, we just use the defaults.
Then you click create to proceed. You will then see this screen
Step 3: Insert the Debian install file into the VM storage system
Go into the settings on the debian VM and you will see an option for storage. Click on this and select the Debian file you downloaded earlier as the Controller: IDE. Like pictured below.
Now you can see that the network install ISO image is configured for the Debian VM. We should be able to start it now and it will boot from the image and the software on the disk image will start the Debian Linux installation process in the virtual machine.
Once you have that completed you can go to the Virtual Box home page and select power on for your Debian Virtual Machine. Once you have done that you will go through the configuration of your virtual machine like languages etc. After that you should be good to go to install your FusionPBX.
FusionPBX can be installed on several different operating systems however we recommend using Debian. If you are installing Debian from scratch it will have prompted you during the installation phase to have created a root password. This will be the password you will enter when you run the command "su root" in the terminal.
Visit this website where FusionPBX recommends that you follow the install script as it is much simpler and faster than previous ways.
FusionPBX also have a youtube video demonstration available to walk you through the process.
Run the following commands as root. The script installs FusionPBX, FreeSWITCH release package and its dependencies, iptables, Fail2ban, NGINX, PHP-FPM and PostgreSQL.
These are the commands that you will enter into the terminal.
#upgrade the packages
apt-get update && apt-get upgrade -y
apt-get install -y git lsb-release
#get the install script
cd /usr/src && git clone https://github.com/fusionpbx/fusionpbx-install.sh.git
#change the working directory
At the end of the install script you will be instructed to go to the IP address of the server in your web browser to finish the install in the FusionPBX GUI.
Once you have opened a browser with the URL the terminal gave you, you should see a GUI where you will go on to configure FusionPBX.
2) Choose your language and click next
3) Your event socket settings will be automatically detected so you can click next again.
4) Here you will need to enter a username and password as your login credentials for FusionPBX.
5) Any writing in bold indicates that you must fill it in. At this point you will need to go back to the terminal and grab the details you would have seen, just above the server IP, that relate to the database username and password. Click next.
6) You'll be brought back to the login page where you will sign in with the username and password from the screenshot number 4.
Once you have the installation of your FusionPBX set up, It is now time to configure your PBX so that you can make and receive calls through Telnyx!
1) Go to the Advanced header and to Upgrade in the drop down list. Make sure to tick App Defaults and press the execute button on the bottom right.
2) Go to the Accounts header and select Gateway.
Gateway = Telnyx
Username = The username from your Telnyx credentials based connection.
Password = The password from your Telnyx credentials based connection.
From User = The username from your Telnyx credentials based connection.
From Domain = sip.telnyx.com
Proxy = sip.telnyx.com
3) At this point you can click save. The next screenshot will show you that your Fusion-PBX server has registered with our domain.
Go to the Accounts header and select Extensions.
4) You will need to click the Add button to add your extensions in, I have added two extensions below.
5) Click into the extension you just created and change the password that was given if you want. This is an example config of an extension, account code will be your servers IP and automatically filled. Click Save.
Note: Depending on your phone configuration, you may also wish to configure an outbound caller ID to be in accordance with our caller ID number policy. You can apply this via the "Outbound Caller ID Number" field. For more information on the fields below, please visit FusionPBX's extensions documentation.
6) Go to the Dialplan header and select Destinations. Click the Add button to add your destinations.
7) You'll want to add in a number that you purchased on your Portal account to Destination - Make sure to add a +1 in front of the number. Then for Actions, select an extension you created from the drop-down list. Click save.
8) Go to the Dialplan header and select Inbound routes. Your inbound routes should be added automatically that relate to your destinations you created.
When you click on any of the numbers you created as inbound routes you will see a dialplan like the picture below.
You will need to make sure that your number format is set to E164 on your connection you created in your Mission Control Portal.
9) Go to the Dialplan header and select Outbound routes. Click the Add button to create your different outbound routes.
10) Create your outbound route.
Gateway = Telnyx from drop down list
Dialplan Expression = North America from drop down list but you can choose other types also.
Go to the Status header and select Registrations. At this point you will need to register the extensions you created with whatever device you choose.
11) In my case I used Zoiper and Xlite softphone to register both my extensions. All your registered devices will show up on the registration’s page below.
Both extensions are registered with the servers IP address so they can now make and receive calls internally via calling 1000 or 1001. Your inbound and outbound routes are set and you will be able to make and receive calls externally also.
That's it, you've now completed the configuration of FusionPBX and can now make and receive calls by using Telnyx as the SIP provider.
Review our getting started with guide to make sure your Telnyx Mission Control Portal account is setup correctly!
Checkout FusionPBXs help section for extra support!
Can't find what you're looking for?
Our knowledge base is currently undergoing a makeover which will include more up to date videos to match our ever growing platform!
Can't find what you're looking for? Click the chat bubble at your lower right hand corner and start a chat!