How to configure a SIP Trunk on 3CX
This article covers how to configure 3CX using our SIP Trunk service
Overview
This guide will walk you through the deployment of a Hosted Network SIP Trunk to a 3CX Server so that you can send/receive calls through your existing or new 3CX platform.
To complete this guide you will need:
A provisioned Hosted Network SIP Trunk
Admin access to your 3CX platform
Basic ~ Moderate understanding of the 3CX platform
This guide does not cover all facets of provisioning a SIP Trunk within 3CX, it only covers getting the SIP Trunk configured, ensuring it registers and some minor outbound call routing changes
Deployment Steps
Assuming you have gathered all the information mentioned above and have Admin access to your 3CX platform you can follow the steps below to deploy a Hosted Network SIP Trunk.
Step 1. Download the below Provider Template (Right click on the link, then "Save link as..."), this contains a few settings that Hosted Network recommends you enable/modify
https://www.hostednetwork.com.au/HostedNetwork-3CXTrunkTemplate.xml
Step 2. Login to your 3CX phone system
Step 3. Once logged in click on "SIP Trunks" in the menu on the left
Step 4. At the top of the page find the "Import Provider" button and click on it
Step 5. Select the downloaded XML Provider template you downloaded above and then enter the primary DID for the trunk. Click "Ok" to upload the template
Step 6. On the page that appears scroll down adjust the below settings as per the below. Click "OK" at the top of the page once done
Number of SIM Calls = Number of channels you purchased with the SIP Trunk
Authentication ID = SIP Username, provided in the SCA in the format of xxxx*xxxx
Authentication Password = SIP Password, provided in the SCA
Step 7. Your SIP Trunk should now be registered and ready for use.
Outbound Call Changes
If you don't already have a SIP Trunk configured or aren't too familiar with the outbound call configuration you will need to make some minor adjustments to allow calls to flow outbound correctly.
In the 3CX portal simply go to "Outbound Rules" in the menu along the left side of the page.
Once the next page loads up you should have a default rule called "Outbound", edit this trunk and adjust the settings to match the below
Calls to numbers with a length of = 10
Route 1 = HostedNetwork - SIP Trunk (Or if you changed the name whatever you specified in the SIP Trunk configuration)
Click "Ok" at the top to save the settings, and then add another rule by clicking on "+add".
Change the settings to match the below. This will allow them to call outbound to their local numbers without adding the area code. Click "Ok" at the top to create the table
Rule Name = Stamp Local Prefix to outbound calls
Calls to numbers with a length of = 8
Route 1 = HostedNetwork - SIP Trunk (Or if you changed the name whatever you specified in the SIP Trunk configuration)
Route 1 Prepend = Your area code (e.g. 02 for sydney)
You should now be able to call outbound to local, national and special numbers without a problem. Although you may still need to go through additional configuration to achieve the call flow the customer is after.
If you encounter any issues with this guide or have any questions please dont hesitate to reach out to our support team via email at support@hostednetwork.com.au or via phone on 1300 781 148.
Last updated