Skip to main content

3CX

This guide outlines the steps to configure your 3CX PBX to make and receive phone calls using didlogic. Before calling, ensure you have an active phone number and a SIP account created on your didlogic account.

Configuring a SIP Trunk in 3CX (Digest Authentication)

To set up inbound and outbound calling on your 3CX PBX:

  1. Log in to the 3CX management console using an admin account.
  2. Click on the Gear Icon labeled Admin in the bottom left corner, then click on Voice & Chat → Add Trunk to configure the didlogic trunk.
  3. You will see a prompt saying "Choose your SIP Trunk VoIP Provider". Select Worldwide from the Country Dropdown list, and Generic VoIP Provider from the Provider dropdown list, then click OK.
tip

For this guide, we select the "Generic VoIP Provider (Registration)" option, as we will be using Digest Authentication (username and password). If you are using IP Authentication, submit a request to the didlogic Support Team at [email protected] and provide the static public IP address of your 3CX instance for configuration.

  1. Configure the details for didlogic SIP Trunk in 3CX:

    Name: Choose your own name for the Trunk.
    Default Route: Set default destination for inbound calls. For test purposes, we set the default route to a user, but you can choose a destination that best fits your organization.
    Main Trunk No: Type the default Caller ID you want to appear on Outbound Calls via this trunk.
    Authentication ID (SIP User ID): 5-digit SIP Account Number that was generated earlier in the didlogic portal.
    Authentication password: SIP Account Password you created on the didlogic portal.
    Registrar/Server: Enter any of our regional SIP gateways (e.g. sip.nl.didlogic.net)


  2. For more details on how to configure a SIP trunk, please review the 3CX documentation.

info

You can find a full list of our regional gateways here. We recommend selecting the regional gateway with the lowest latency from the public IP address of your PBX.

Configuring IP Authentication SIP account

Create a SIP account on the didlogic platform

To create a new IP-authenticated SIP account on the didlogic platform, please submit a request to the Support Team at [email protected] or open a ticket on the Support tab and provide the static IP of your CloudUCM for configuration. By default, an IP address can be associated with one SIP account. If you need multiple didlogic SIP accounts to share the same IP address, please contact the Support Team.

Once the SIP account is created, it will appear in the list of SIP accounts in your account.

Configure IP Authentication for your SIP account

The didlogic SIP account refers to the IP-based trunk in the 3CX PBX. You need to set up the trunk at the system administrator level of the 3CX PBX. Please follow the steps below:

  1. Log in to the 3CX Web Portal. Navigate to the bottom left, click Admin Voice & Chats.
  2. Click Add trunk, select the Worldwide option in the Country list, and choose Generic SIP Trunk (IP Based) in the Provider list.
  3. In the Account Details section, enter the SIP user name for the SIP account from the didlogic portal.
  4. Enter your default Caller ID in the Main Trunk Number field. The Caller ID should be an active or verified phone number from your didlogic account.
  5. Set the Type of authentication to Do not require → IP-based from the drop-down menu.
  6. In the Server Details section, enter the address of one of didlogic's regional SIP proxies in the field labeled Registrar/Server. We recommend using the address of the regional SIP proxy closest to you. The list of regional gateways can be found here or under SIP Accounts in the SIP tab on the user portal.
  7. Add a name for your 3CX Trunk.
  8. Click Save to save the configuration.

warning

An IP-based trunk cannot be used as a destination for DIDs, meaning it cannot be used for routing inbound calls.

By default, "Create an Outbound Rule" is selected, so when you click Save for the trunk settings, it automatically takes you to the Outbound Rules Settings.

You can also get here by clicking Outbound Rules on the left side. For the test setup, all we did was add the "DEFAULT" department to use the Outbound Rule. And apply our purchased DID as the Outbound Caller ID.

For more information on Outbound Rules, please review the 3CX documentation.

  1. Confirm you have an active Registration on your 3CX SIP trunk by clicking on Voice & Chat. If the SIP trunk is successfully registered to didlogic, you will see a green indicator next to the trunk.
  2. Edit the settings of the trunk, and click on the tab labeled DID Number. Then, click Add and enter the DID you purchased from the didlogic Portal earlier. Multiple numbers can be added here.

For inbound routing, you can adjust the Assigned To field in the User section. In this case, as we assigned this to a User, a test user was created and got the DID assigned.

Troubleshooting

After setting everything up, we recommend testing inbound and outbound calling. The most common causes of issues are registration-related. To troubleshoot, we suggest reviewing logs to see if there are any error messages.

IssueLikely CauseSolution
603 DeclinedRegistration FailedVerify that Registration Required is checked and credentials match.
603 DeclinedMax Rate LimitEnsure the destination rate doesn't exceed your account's "Max Rate" setting. If you would like to increase it, please contact [email protected].
No AudioFirewall/NATEnsure UDP ports 10000-20000 are open for RTP traffic.
Calls FailWrong FormatUse E.164. Never dial 00 or + unless your ARS handles the conversion.
Inbound Calls Don't Come ThroughFirewall/NAT or Setup IssueMake sure IP addresses of didlogic regional gateways are allowed on the firewall. Verify Line Group ID: Ensure the correct Line Group ID is assigned to both the trunk and the route. Use System Monitor in IP Office to see how the call is being presented. This can help you verify the format of the incoming DID and troubleshoot mismatches.