3CX


We recommend you create configurations for each ClearlyIP Server that your service is setup for. 
  • You can use our template located at ClearlyIP-3CX. In your 3CX web gui, go to the "SIP Trunks" menu item on the left. 
  • Click on the "Import Provider" button.
  • Click the Upload button and select the ClearlyIP-3CX file you downloaded above.
    • Enter your primary phone number in the "Main Trunk No" field
    • Click the OK button
  • Update fields with your location information. You can locate the Server Domain name, SIP Username and SIP Password from within the SIP Trunking Portal under the Location as outlined here.
    • Replace [Update with Trunk Server] with a description you understand in the field "Enter name for Trunk".  This is for reference when viewing your trunks.
    • In the field "Registrar/Server/Gateway Hostname or IP", enter "us.clearlyip.com" (without quotes) and make sure you enable Auto Discovery option.
    • Update the field "Number of SIM Calls" to the quantity of call paths you have purchased.
    • Enter the Sip Credentials Username from your location into the "Authentication ID (aka SIP User Id)" field.
    • Enter the Sip Credentials Password from your location into the "Authentication Password" field.
    • Set your routing as you would like.
  • Click on the "DIDs" tab
    • Add each of your DIDs by clicking the "Add Single DID" button.
  • Click on the "Caller ID" tab
    • Set a default Caller ID if desired by filling in the "Configure Outbound Caller ID" field.
  • Click on the "Options" tab
    • Verify that only the following are selected:
      • Allow inbound calls
      • Allow outbound calls
      • Disallow video calls
      • PBX Delivers Audio
      • Transport Protocol is set to UDP
      • Codec Priority has G.711 U-law as the first entry.
  • Click OK to save changes.
Your trunk is now created.  You will need to setup an Outbound Rule to utilize the service for outbound calling. For a very simplistic setup, follow the steps below:
  • Click on "Outbound Rules" on the left Menu
  • Click on "Add"
    • Provide a descriptive Rule Name in the "Rule Name" field
    • In the "Calls to Numbers with a length of" field, enter 10
    • For "Route 1", select the trunk name you created above
    • Leave "Strip Digits" at 0
    • Add "1" into the "Prepend" field (without the quotes)
    • Click "OK" to save.
This will allow any 10 digit number dialed to add a 1 to it (ClearlyIP trunking expects an 11 digit number), and be routed out the trunk created above.
You can add additional rules such as:
  • 911
    • Numbers with a length of "3"
    • No strip digits
    • No prepend digits
  • 7 digit local numbers
    • Numbers with a length of "7"
    • No strip digits
    • Prepend digits of "1" and your area code, ie: "1920"
  • 11 digit numbers (if someone dials a 1 first)
    • Numbers with a length of "11"
    • No strip digits
    • No prepend digits

To Set up trunks with failover:

For a trunk with ClearlyIP to have correct failover to another trunk in the case of an outage of a single trunk you have to create the following in the trunking store and 3CX:


  • Create a sub location in the ClearlyIP trunking store, copy the SIP user name and password.
  • Go into each number at your location in the trunking store and set the “Routing Options” of each number to have a 2nd route to the new sublocation you just created
  • Open 3CX admin panel and Create another trunk on your 3CX PBX, set this trunk up exactly how you have your original trunk, make sure the options, inbound parameters, and outbound parameters are the same
  • Add all of your numbers to this trunk as well so it’s a mirror image of your original trunk however you will use the new SIP user name and password you copied in the first step
  • Set your first original trunk to 1.us-central.clearlyip.com or 1.us-east.clearlyip.com depending on your location, then set the new 2nd trunk to the other
  • In outbound rules in 3CX set the new failover trunk to the 2nd route for each on of your outbound routes so you not only have fail over for your inbound but also your outbound as well
  • If you would like to add more then one failover route just repeat these steps and use 2.us-east.clearlyip.com and 2.us-central.clearlyip.com

If you have recommendations or suggestions, please, please post a comment below.






     RSS of this page