IP PBX Configuration - 3CXv14¶
3CX is a software-based, open standard, IP PBX that offers complete Unified Communications features, out of the box. SIP Trunk configuration instructions below apply to the following 3CX versions:
- 3CX v. 14
Documentation is provided for scenario where 3CX server uses Static IP address on the public Internet and when Dynamic IP address is used.
Static IP address¶
-
Static IP address (
a.b.c.d
in our example above) of your 3CX server will be added to GoTrunk service IP ACL (Access Control List) and outbound calls coming from that IP address will be accepted without requiring any further authentication (SIP username and password). This is the most efficient way of authenticating SIP calls. -
Inbound calls to one of Telephone Numbers on your GoTrunk account will be sent directly to 3CX public IP address. Since the calls will be coming from known IP address of SIP Trunking service (
q.x.y.z
in our example above) 3CX will accept them without requiring any further authentication.
To configure 3CX server to work with GoTrunk SIP trunk using IP authentication the following changes are required:
Follow steps below to add SIP Trunk:
- Select
SIP Trunks
in left menu. - Click
Add Provider
button in top toolbar. - Enter
GoTrunk
into "Name of Provider" field. - Select
Generic
from "Country" drop down list. - Select
Generic SIP Trunk
from "Provider" drop down list. - Click "Next" button.
- Enter
eu.st.ssl7.net
(for Europe POP) into "SIP server hostname or IP (oramn.st.ssl7.net
to use North America POP). - Click "Next" button.
- Enter your Customer ID into "External Number" field - it can be found in top right corner of your GoTrunk web admin panel.
- Enter
100
into "Maximum simultaneous calls" field. - Click "Next" button.
- Select default destination for inbound calls.
- Click "Next" button to configure Outbound Routing rule. Note: example below is for illustration purposes only. You may want to create additional outbound routing rules as per your requirements.
- Enter
Domestic calls via GoTrunk
into "Rule Name" field. - Enter
0
into "Calls to numbers starting with prefix" - Select
GoTrunk
from trunk drop down list. - Select
1
from "Strip digits" drop down list. - Enter
44
(for United Kingdom, enter your own country telephone code as required) into "Prepend" field. - Click "Finish" button.
Next follow "Inbound routing" instructions below.
Dynamic IP address¶
-
For outbound calls from 3CX to GoTrunk SIP Credentials (SIP username and password) authentication is used.
-
For inbound calls to one of Telephone Numbers on your GoTrunk account to work 3CX needs to Register with GoTrunk service (and periodically refresh registration in case IP address changes). Calls will be sent to IP address which was sent in the most recent 3CX Registration. Since the calls will be coming from known IP address of SIP Trunking service (
q.x.y.z
in our example above) 3CX will accept them without requiring any further authentication.
To configure 3CX server to work with GoTrunk SIP Trunk using SIP Credentials authentication the following changes are required:
Follow steps below to add SIP Trunk:
- Select
SIP Trunks
in left menu. - Click
Add Provider
button in top toolbar. - Enter
GoTrunk
into "Name of Provider" field. - Select
Generic
from "Country" drop down list. - Select
Generic SIP Trunk
from "Provider" drop down list. - Click "Next" button.
- Enter
eu.st.ssl7.net
(for Europe POP) into "SIP server hostname or IP (oramn.st.ssl7.net
to use North America POP). - Click "Next" button.
- Enter your Customer ID into "External Number" field - it can be found in top right corner of your GoTrunk web admin panel.
- Enter your Outbound SIP Username into field "Authentication ID".
- Enter your Outbound SIP Password into field "Authentication Password".
- Enter
100
into "Maximum simultaneous calls" field. - Click "Next" button.
- Select default destination for inbound calls.
- Click "Next" button to configure Outbound Routing rule. Note: example below is for illustration purposes only. You may want to create additional outbound routing rules as per your requirements.
- Enter
Domestic calls via GoTrunk
into "Rule Name" field. - Enter
0
into "Calls to numbers starting with prefix" - Select
GoTrunk
from trunk drop down list. - Select
1
from "Strip digits" drop down list. - Enter
44
(for United Kingdom, enter your own country telephone code as required) into "Prepend" field. - Click "Finish" button.
Next follow "Inbound routing" instructions below.
Inbound Routing¶
For each of the Telephone Numbers on your GoTrunk account follow steps below to add Inbound route:
- Select
Inbound Rules
in left menu. - Click
Add DID
button in top toolbar. - Enter your Telephone Number into field "DID/DDI number/mask".
- Select
GoTrunk
in "Available ports" list. - Select destination for your Telephone Number.
- Click "OK" button.