3CX: Connect a SIP Trunk

Scope

Intended Audience: All End Users

This article outlines how to configure a SIP Trunk between your hosted PBX and a 3CX PBX.
 
This article was written using 3CX Version 18.0 Update 3 (Build 461)

Requirements

  • SIP Trunk Information
  • Existing 3CX instance

Configure SIP Trunk

  1. Log in to the 3CX PBX instance
  2. Click SIP Trunks
    Graphical user interface, text, application

Description automatically generated
  3. Click Add SIP Trunk
    Graphical user interface, text, table, website

Description automatically generated
  4. Set the Country to Generic
  5. Set the Provider to Generic SIP Trunk
  6. Enter the 10-digit telephone number of your trunk, with no spaces or special characters in the Main Trunk No
  7. Click OK
    Graphical user interface, text, application, email

Description automatically generated with medium confidence
  8. In the General tab, complete the following fields, leaving all others default
    1. Name: Enter a descriptive name for the trunk
    2. Registrar/Server/Gateway Hostname or IP: Enter the name of the SIP Trunk
    3. Auto Discovery: Unchecked
    4. Outbound Proxy: Enter the outbound proxy based on your primary core. If unsure, contact support.
      1. hosted.clearclouds.ca
    5. Number of SIM Calls: Set the number of simultaneous calls for the PBX you wish to allow
      3CX-NumberOfSimCalls
    1. Type of Authentication: This will vary based on the kind of trunk you wish to configure. If an IP-based SIP trunk was set up initially, leave as Do not require - IP based. If an authentication-based trunk was configured, select Register/Account based 
    2. Authentication ID (aka SIP User ID): Enter the SIP User ID from the SIP trunk
      NOTE: This is not needed if an IP-based trunk was configured
    3. Authentication Password: Enter the SIP User Password from the SIP trunk
      NOTE: This is not needed if an IP-based trunk was configured
    4. Destination for calls during office hours: Choose where to route inbound calls during hours
    5. Destination for calls outside office hours: Choose where to route calls outside office hours
  1. Do not modify the outbound parameters
  2. Click OK
  3. Once the trunk is registered, 3CX should show a green circle to the left of the trunk.
  4. For authentication-based trunks, the portal will then show the IP address of the registered trunk

Add Outbound Rules

In order to configure outbound calling through the SIP trunk, outbound rules will need to be added.

  1. Navigate to Outbound Rules
     3CX Sip Trunks
  2. Click Add
    Graphical user interface, text, application, email

Description automatically generated
  3. Set a Rule Name
  4. Set Calls to Numbers with a length of to 10-11
  5. Set Route 1 to the newly created trunk
  6. Click OK

  7. To configure international calling, click Add
    Graphical user interface, text, application, email

Description automatically generated
  8. Set a Rule Name
  9. Set Calls to Numbers starting with prefix to 011
  10. Set Route 1 to the newly created trunk
  11. Click OK

Click OK