CHAT NOW

Setting up FreePBX 14 PjSIP

1. In the section Connectivity -> Trunks add SIP(chan_pjsip) trunk.

FreePBX 14 PjSIP Setup

Enter the trunk name in the field Trunk Name and go to tab "pjsip Settings"

FreePBX 14 PjSIP Setup

Data is shown in the example:

xxxxxx: Your sip number

Secret: Your sip-number password

SIP Server: voip.syd.spintel.net.au

xxx: Your PBX extension (xxx)

Secret: Your PBX extension password

SIP Server: yyyyyy-pbx.cust.spintel.net.au (yyyyyy=customer code)

The following settings have to be completed as shown on the screenshot.

FreePBX 14 PjSIP Setup FreePBX 14 PjSIP Setup

Tab PJSIP Settings – Advanced, change the parameters in the following fields:

From User: Your sip number (xxxxxx)

Send RPID/PAI Both

From User: Your sip number (xxxxxx)

Send RPID/PAI Both

FreePBX 14 PjSIP Setup FreePBX 14 PjSIP Setup

PJSIP Settings – Codecs:

Leave codecs alaw and ulaw, as shown on the screenshot.

FreePBX 14 PjSIP Setup

3. In the section Connectivity -> Inbound Routes create routing for incoming calls.

FreePBX 14 PjSIP Setup

Description: Spintel-in

DID Number: Your Inbound dial number (DID) number

Description: Spintel-in

DID Number: Your PBX extension (xxx)

In the section Set Destination you can determine where an incoming call be directed, it can be FreePBX extension number, call group, IVR etc.

FreePBX 14 PjSIP Setup FreePBX 14 PjSIP Setup

4. Enter the section Connectivity -> Outbound Routes and create routing for outgoing calls Spintel-out.

FreePBX 14 PjSIP Setup

Route Name: Spintel-out

Route CID: Your sip number (xxxxxx)

Trunk sequence for matched routes: Spintel

Route Name: Spintel-out

Route CID: Your PBX extension (xxx)

Trunk sequence for matched routes: Spintel

FreePBX 14 PjSIP Setup FreePBX 14 PjSIP Setup

In the section Dial Patterns in the field "match pattern" enter a full stop (.) (shown on the next screenshot with a red arrow) and create routing. If you do not put a full stop, you will not be able to make outgoing calls.

FreePBX 14 PjSIP Setup

The setup is complete.