Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

This article was adapted from the official FreePBX Wiki: https://wiki.freepbx.org/pages/viewpage.action?pageId=176194371

It will also work with PBXact.

Let’s take a look at how to configure FreePBX with VoIP Innovations using PJSIP trunks.

Table of Contents:

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 a trunk for inbound calls. You can name it whatever you like. For this example, we’ll use “VI_Inbound”.

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,64.136.173.22,209.166.128.200

Outbound Trunks

Follow the exact same steps as above, however this time we’ll be creating trunks for outbound calls. Your settings may 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 → + Add Outbound Route.

E911 Outbound Route

First, we will create a an outbound route for 911 calls. Your settings may look something like the ones below. Be sure to add all of the trunks we created under Trunk Sequence for Matched Routes.

Below is a screenshot of the Dial Patterns tab for 911:

Other Outbound Routes

Now let’s create another Outbound Route for all other calls.

Under Trunk Sequence for Matched Routes, let’s use all of the outbound trunks that we created:

Your Dial Patterns tab may look something like this:

Step 4: Creating Inbound Routes

Go to Connectivity Inbound Routes → + Add Inbound Route.

By default, VoIP Innovations sends inbound calls to your network in E.164 format (+15559871234).

NOTE: You can change the DID format in the VoIP Innovations Back Office by going to Endpoints → Endpoint Group Management. Click the name of the endpoint group to open it up. Click the Show More button to display the additional settings.

To remove the "+" check the "Strip Plus" button and click Update Endpoint Group to apply the change. This will result in an 11 digit DID.

For a 10 Digit DID, Un-check the Strip Plus button (if checked ) and check the Strip CC (Country Code) button and click Update Endpoint Group to apply the change.

If you make the change in the VI Back Office, please be sure to update your inbound route in FreePBX.

That’s it! You should now be ready to send and receive calls with VoIP Innovations!

  • No labels