These instructions will walk you through how to configure your FreePBX to Voyant Trunking and the Voyant Admin Portal. It will not cover setting up the base PBX or the setup of your extensions and subscriber numbers.

Note: This guide assumes the FreePBX is already set up and installed, and that the user has administrator account access to both the PBX and the Voyant Admin Portal. 

Versions Tested

FreePBX 14.0.3.13

Known Limitations and Caveats

The following setup instructions are done assuming you are using the default chan_pjsip driver. 

The older chan_sip driver will not properly utilize the SIP Domain SRV record, which Voyant provides. If using chan_sip In the event of a service interruption, the PBX will need to be manually pointed at a redundant Voyant SBC. 

To avoid this and have redundancy work seamlessly, chan_pjsip is the driver that Voyant recommends and has tested. 

Configuration

Setting up the Voyant SIP Trunk

After logging into the Voyant portal navigate to “SIP Trunking” → “Trunks”.

Press the “Add New Trunk” button. On this screen you will configure the details necessary to create and enable the SIP Trunk for use.

Trunk Creation

Enter a friendly name for the SIP Trunk in the “Enter SIP Trunk Name” box as well as a SIP Domain Name for use in registering to this Trunk. The SIP Domain Name will create a custom SRV record, which will be used to connect to this trunk while also providing redundancy between Voyant SBCs.

Endpoint Creation

You will create your SIP Endpoint beneath the SIP Trunk section.

Select the “Create New Endpoint” button to bring up the Endpoint creation wizard.

From here select the option for “Registration” and enter a friendly name for the Endpoint, as well as a username that will be used to register. By default inbound and outbound calling are enabled; however, they can be changed at this time. 

Once done, press the “Add Endpoint” button.

After adding the Endpoint, a screen will be displayed providing you with all the information you will require to setup the trunk in your PBX. Please do not lose this information.

After closing this screen, you are returned to the main SIP Trunk Creation Screen. If you are satisfied with your choices press the “Create SIP Trunk” button at the bottom of the page.

Connecting to the Voyant SIP Trunk

PBX Configuration

After logging in as an Admin to the FreePBX GUI, navigate to “Connectivity” → “Trunks” and press the “Add Trunk” button.

Select the option “Add SIP (chan_pjsip) Trunk”

Once done, this will bring up the Trunk Creation Screen.

Under the General tab, enter a name for the trunk. For ease of management, It is recommended that this match the name of the SIP Endpoint you created in the Voyant Admin Portal. 

Once done, navigate to the “pjsip Settings → General” tab. Here you will need to enter the registration information you created in the Voyant Admin Portal for your SIP Endpoint. Leave all the options at their default values except the following:

Username: Enter the registration username for your SIP Endpoint

Secret: Enter the password for your SIP Endpoint

SIP Server: Enter the domain of your SIP Trunk

SIP Server Port: Set this to 6000

Once done, select the “PJSIP Settings” --> “Advanced” Tab.

Leave all the options at their default values except the following:

Support T.38 UDPTL: Set to “Yes”

T.38 UDPTL NAT: Set to “Yes”

Fax Detect: Set to “Yes”

Trust RPID/PAI: Set to “Yes”

Send RPID/PAI: Set to “Send P-Asserted-Identity header”

Once done, select the “PJSIP Settings” --> “Codecs” Tab.

Ensure “ulaw” is selected.

Once done, “Submit” the configuration and press the “Apply Config” button. The Trunk should now be registered and enabled.

The final step is to configure the route to the SIP Trunk. This is done under “Connectivity” → “Outbound Routes” and by selecting the “Add Outbound Route” button.

Under “Route Settings” leave everything as the default except the following:

Route Name: Add a friendly name for the route you are creating.

Trunk Sequence for Matched Routes: Use the drop down button to select the SIP Trunk you just created.

Once done, select the “Dial Patterns” tab. Here you will set this route to send all calls in E.164 format as shown below.

To configure Options pings, go to Connectivity > Trunks > (your trunk) > pjsip tab > Advanced tab.  Set the frequency to zero as shown below.

Once done, save your configuration and then apply it. The route is ready to be used and your FreePBX is now configured to utilize the Voyant Trunking service.

Did this answer your question?