5. PJSIP trunks

PJSIP Trunks require Asterisk v12+.

If the PJSIP option is not available it will need to be enabled in the Freepbx menu Settings > Advanced Settings > SIP Channel Driver.

5.1. Configuration

5.1.1. Overview

From the dropdown menu select Connectivity > Trunks.

select trunk from menu

click to enlarge


Click on the Add SIP (chan_pjsip) Trunk link.

add pjsip trunk

click to enlarge

The following screenshot shows a typical example for one particular SIP trunk provider using IP authentication (no username or password required).

pjsip trunk configuration details

click on the image twice to fully enlarge

Note

  • At a minimum you have to enter information for Username, Password, and SIP Server. Depending on the provider, you may be able to leave everything else at defaults.
  • Even if using IP authentication it appears that a username is still required. It does not seem to matter what the username is so an arbitrary name 123 was used in this example.

Note

To change PJSIP port go to Settings > Asterisk SIP Settings > Chan PJSIP. This port cannot be the same as the SIP port setting at Settings > Asterisk SIP Settings > Chan SIP. You will need to reboot the server or restart Asterisk for these changes to take effect.

From the dropdown menu select Connectivity > Trunks > Add SIP (chan_pjsip) Trunk to add PJSIP trunk

5.1.1.1. skyetel.com

General

configure general settings

click to enlarge

PJSIP Settings

configure pjsip settings

click to enlarge

Advanced Settings

configure advanced settings

click to enlarge