FreePBX (chan_pjsip)

Overview

Setting up Skyetel to work with FreePBX is very straight forward. Please make sure you have our IP List handy.

chan_pjsip is the replacement for chan_sip and is being strongly encouraged by both the Asterisk team and the FreePBX team. Fortunatly, Skyetel works just as well with PJSIP as we do with Chan_Sip. 

Advanced Users

For our advanced users who are confident in their knowledge of DNS, you may also follow this guide:

https://mangolassi.it/topic/19615/setting-up-a-skyetel-sip-trunk-in-freepbx

While this guide is different from our recommended solutions (it relies on DNS instead of IPs) it works very well. Just make sure you have your DNS set to something bulletproof; we recommend 1.1.1.1 and 8.8.8.8

Update Asterisk SIP Settings

By default, FreePBX disables your ability to update the PJSIP advanced settings upon clicking "Apply Config" after making a change to PJSIPs advanced settings. This is because doing so may result in active calls being negatively impacted (dropped). Because of this, we need to make changes to the Advanced SIP Settings for PJSIP. 

Make sure you return the Allow Reload setting back to "No" once you have finished adding Skyetel to your PBX

Step 1 - Navigate to Settings → Asterisk SIP Settings

Screen_Shot_2018-08-27_at_10.23.14_AM.png

Step 2 - Navigate to the PJSIP Tab

Screen_Shot_2018-08-27_at_10.44.41_AM.png

Step 3 - Enable "Allow Reload"

Screen_Shot_2018-08-27_at_10.24.12_AM.png

Step 4 - Save and Apply Config

First Submit your settings:

Screen_Shot_2018-08-27_at_10.49.02_AM.png

Then Apply them:

Screen_Shot_2018-08-27_at_10.49.07_AM.png

Add Skyetel Trunks

Step 1 - Navigate to the Trunks Menu

The trunk menu is under Connectivity → Trunks:

2017-07-28_17_41_15-FreePBX_Administration__1_.png

Step 2 - Add a chan_pjsip Trunk

From the Trunks menu, click the "Add Trunk" button. Then select "Add SIP (chan_pjsip) Trunk:

Screen_Shot_2018-08-27_at_9.49.27_AM.png

Step 3 - Input the Trunk Information

Screen_Shot_2018-08-27_at_9.51.29_AM.png

Trunk Name - A name that identifies the region for this particular trunk
Hide CallerID - No (unless you need the caller ID to come through as hidden)
Outbound CallerID - The site's main phone number
CID Options - Allow Any CID
Maximum Channels - Leave Blank (unless you need to limit the channels for this location)
Asterisk Trunk Dial Options - Leave as default
Continue if Busy - Yes
Disable Trunk - No
Monitor Trunk Failures - No

Dialed Number Manipulation Rules:

The Skyetel Network prefers to receive calls with 11 digits. We will accept calls with 10 (but not 7), but some of our fancier features have strict digit requirements. These settings are not required - but they are strongly recommended.

2017-07-28_17_54_47-FreePBX_Administration__1_.png

PJSIP Settings:

General

Screen_Shot_2018-08-27_at_9.54.54_AM.png
Authentication - None
Registration - None
Language Code - Default
SIP Server - A Skyetel IP address: Skyetel IP Addresses
SIP Server Port - We recommend using 5060, but you can specify any port here so long as it matches what you put in our portal
Context - Default
Transport - Default

Advanced

Most of these settings should remain the default. However, make sure your advance settings contain these configurations.

Screen_Shot_2018-08-27_at_10.28.01_AM.png

Trust RPID/PAI - Yes
Send RPID/PAI - Both
Inband Progress - No
Direct Media - No
Rewrite Contact - No
RTP Symmetric - Yes

Save and Apply

Now that your trunk is configured, you should see it in the Trunk List:

Screen_Shot_2018-08-27_at_10.47.33_AM.png

Make sure you click "Apply Config" to make the changes you just made effective:

2017-07-28_18_03_18-FreePBX_Administration__1_.png

Make sure that you add all 5 of our IPs (so you'll have to follow these steps 5 times to add all 5 IPs). This insures that your PBX always has access to one of out data centers. 

Was this article helpful?
0 out of 1 found this helpful
Return to top