FreePBX makes SIP trunk configuration easy with its web-based GUI. This guide walks you through creating a PJSIP trunk, configuring outbound and inbound routes, and connecting your FreePBX system to IPComms.
At least one DID (phone number) assigned to your account
Your server's public IP address (for IP authentication)
Network access to s1.ipcomms.net on ports 5060 (UDP) and 10000-20000 (UDP)
Step 1: Create a New Trunk
1
Log into your FreePBX admin panel (typically http://your-server/admin)
2
Navigate to Connectivity > Trunks
3
Click Add Trunk and select Add SIP (chan_pjsip) Trunk
4
Enter a Trunk Name: IPComms
Step 2: Configure PJSIP Settings
General Tab
Field
Value
Trunk Name
IPComms
Outbound CallerID
Your DID number
CID Options
Allow Any CID
PJSIP Settings Tab - General
Field
Value
Username
Your IPComms username
Secret
Your IPComms password
Authentication
Outbound
Registration
Send
SIP Server
s1.ipcomms.net
SIP Server Port
5060
Context
from-pstn
PJSIP Settings Tab - Advanced
Field
Value
From Domain
Your SIP domain from the welcome email (e.g. yourcompany.s1.ipcomms.net) — recommended. It may be left blank when the SIP Server above is our hostname; it is required if you point the trunk at an IP address.
From User
Your IPComms username
Direct Media
No
Match (Inbound)
34.23.59.14
Building this? Your PBX will need a number
Find a phone number for your trunk
Local numbers $1.50 a month, toll-free $2.00, $1.00 one-time setup. Pick one here and it carries into signup.
Enter an area code, or wait a moment for numbers near you.