Elastix: Connect a SIP Trunk
Table of Contents
Scope
Intended Audience: All End Users
This article outlines how to configure a SIP Trunk between your hosted PBX and an Elastix PBX.
This article was written using Elastix 2.5.
Requirements
- SIP Trunk Information (see Create a SIP Trunk)
NOTE: This article was written using an IP-based SIP trunk - Existing Elastix instance
Configure SIP Trunk
- Using Internet Explorer, log in to the Elastix instance with admin credentials
- Navigate to PBX
- Under the Basic group, select Trunks
- Click Add SIP Trunk
- Trunk Name: Enter a descriptive name for the trunk
-
Outbound Caller ID: "<CID Name>" <CID Number>
- Leave Dialed Number Manipulation Rules empty and proceed to Outgoing Settings
- Trunk Name: pbx-out
-
PEER Details:Copy and paste the code below, replace <Domain> with the full domain name and <Core> with the closest geographical core. If unsure, contact support
- ATL: sbc.ucaasnetwork.com
- NYJ: sbc-ne.ucaasnetwork.com
- SJE: sbc-west.ucaasnetwork.com
type=peer trustrpid=yes session-timers=refuse rfc2833compensate=yes qualify=no outboundproxy=<Core> nat=no insecure=port,invite host=<Core> fromdomain=<Domain> dtmfmode=rfc2833 disallow=all context=from-pstn canreinvite=no&no allow=ulaw,alaw
- Under Incoming Settings, set USER Context to pbx-in
-
USER Details: Copy and paste the code below, replace <Domain> with the full domain name and <Core> with the closest geographical core. If unsure, contact support
- ATL: sbc.ucaasnetwork.com
- NYJ: sbc-ne.ucaasnetwork.com
- SJE: sbc-west.ucaasnetwork.com
type=user outboundproxy=<Core> host=<Core> fromuser=<Domain> fromdomain=<Domain>
-
Click Submit Changes
- Click Apply Config
Configure Outbound Routes
- Under the Basic group, select Outbound Routes
- Route Name: Enter a descriptive name for the route
-
Route position: First before 9_outside
- Under Dial Patterns that will use this route, add a match pattern for XXXXXXXXXX
- Add an additional pattern for 1XXXXXXXXXX
- To enable international calling, add a pattern for 011.
- Set Trunk 0 to follow the previously created trunk
- Click Submit Changes
- Click Apply Config