3CX - Setup guide

How to setup 3CX to work with a User-Based or IP-Based SIP Trunk

Registering a User-Based SIP Trunk

This is a general guide for configuring TTNC SIP Trunks with 3CX. UI changes may occur between different versions, but it should be possible to use this guide for any recent installations of the software. This guide is based on version 16.

This guide assumes you have successfully installed 3CX and you have the following configured:

  • You have configured an Administrative user
  • You have created one or more extensions that are registering correctly

Navigate to SIP Trunks
Click + Add SIP Trunk
Under Add SIP Trunk/VoIP Provider, set the following:

Select CountryGeneric
Select Provider in your CountryGeneric SIP Trunk
Main Trunk NoThe outbound CLI configured on your Trunk

Under Trunk Details, set the following:
These details are found in myTTNC.

Enter the name for TrunkEndpoint nickname
Registrar/Server/Gateway Hostname or IPDomain / Outbound Proxy
Outbound ProxyDomain / Outbound Proxy
Number of SIM CallsYou can specify this value

Under Trunk Details, set the following:
These details are found in myTTNC.

Type of AuthenticationRegister/Account-Based
Authentication ID (aka SIP User ID)Username
Authentication PasswordPassword

Registering an IP-Based SIP Trunk

This is a general guide for configuring TTNC SIP Trunks with 3CX. UI changes may occur between different versions, but it should be possible to use this guide for any recent installations of the software. This guide is based on version 16.

This guide assumes you have successfully installed 3CX and you have the following configured:

  • You have configured an Administrative user
  • You have created one or more extensions that are registering correctly

Navigate to SIP Trunks
Click + Add SIP Trunk
Under Add SIP Trunk/VoIP Provider, set the following:

Select CountryGeneric
Select Provider in your CountryGeneric SIP Trunk
Main Trunk NoThe outbound CLI configured on your Trunk

Under Trunk Details, set the following:
These details are found in myTTNC.

Enter the name for TrunkEndpoint nickname
Registrar/Server/Gateway Hostname or IPDomain / Outbound Proxy
Outbound ProxyDomain / Outbound Proxy
Number of SIM CallsYou can specify this value

Under Trunk Details, set the following:

Type of AuthenticationDo not require - IP Based

Configuring a DID Inbound Rule

Navigate to Inbound Rules
Click + Add DID Rule

Under General, give the rule a name to help identify it.
Select the DID/DDI from the dropdown.

Under Route calls to, set the following:

Destination for calls during office hoursExtensionSelect the extension

Configuring a CID Inbound Rule

Navigate to Inbound Rules
Click + Add CID Rule

Under General, give the rule a name to help identify it.
Enter the Caller ID from which you'd like to filter inbound calls.

Under Choose a SIP Trunk to link to this Inbound rule, select the necessary SIP Trunk.

Under Route calls to, set the following:

Destination for calls during office hoursExtensionSelect the extension

Configuring an Outbound Route

Navigate to Outbound Routes
Click + Add

Under General, give the rule a name to help identify it.

Under Apply this rule to these calls, set the following:

Calls to numbers starting with prefix0
Calls from extension(s)Enter the extension numbers which will use this outbound rule
Calls to Numbers with a length of9-14

Under Make outbound calls on, set the following:

Route1Select your Trunk