This article was adapted from the official Free PBX Wiki: https://wiki.freepbx.org/pages/viewpage.action?pageId=176194371
Let’s take a look at how to configure Free PBX with VoIP Innovations.
Step 1: Creating the Trunks
Inbound Trunk
Go to Connectivity → Trunks. Then click on + Add Trunk and select Add SIP (chan_pjsip) Trunk.
Let’s create an inbound trunk. You can name it whatever you like.
Next, click on the pjsip Settings tab. Set the Authentication to None, and Registration to None. For the SIP Server, type in 64.136.173.31:
Next, click on the Advanced tab:
Scroll all the way down until you see Match Permit. Enter all of the IP addresses that VoIP Innovations uses for inbound SIP traffic. You can just copy and paste the list below:
64.136.173.31,64.136.174.30,64.136.174.20,209.166.154.70,192.240.151.100,64.136.173.22,209.166.128.200
Outbound Trunks
Follow the exact same steps as above, however this time we’ll be creating outbound trunks. Your settings should look something like this:
We recommend creating multiple outbound trunks to fully utilize our geo-redundant network. Follow the same steps as above to create other trunks, except replace the SIP Server field with the rest of our outbound IP addresses (64.136.173.22, 209.166.128.200, 192.240.151.100).
When you’re done creating trunks, it should look something like this:
Step 2: Creating Firewall Entries
Go to Connectivity → Firewall and make the following entries in the Networks tab. Be sure to white list all of our SIP Signaling IP addresses.
Step 3: Creating Outbound Routes
Go to Connectivity → Outbound Routes.
First, we will create a trunk for 911 calls. Your settings should look something like this:
Below is a screenshot of the Dial Patterns for 911:
Now let’s create another Outbound Route
Under Trunk Sequence for Matched Routes, let’s use all of the outbound trunks that we created.
Your Dial Patterns tab should look something like this: