Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

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 Free PBX FreePBX with VoIP Innovations using PJSIP trunks.

Table of Contents:

Table of Contents

Step 1: Creating the Trunks

...

Go to Connectivity → Trunks. Then click on + Add Trunk and select Add SIP (chan_pjsip) Trunk.

...

Let’s create an a trunk for inbound trunkcalls. 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:

...

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

...

Follow the exact same steps as above, however this time we’ll be creating trunks for outbound trunkscalls. Your settings should may look something like this:

...

Info

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

...

).

When you’re done creating trunks, it should look something like this:

...

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 trunk an outbound route for 911 calls. Your settings should may look something like this: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 should 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!