Follow

3CX V20 IP Auth Method

This article provides a walkthrough for the IP authentication registration process for 3CX V20 with SIP.US. In addition to configuring your 3CX, your SIP trunk will also need to be configured via the customer portal. Refer to this article on How to Set Up IP Auth for complete details. Please note this guide is only for new installs of 3CX. Screenshots are included throughout to demonstrate the process.

 

IMPORTANT: You must implement the following whitelisting requirements detailed in the article Interconnecting with SIP.US.

 

1. There is no longer a separate Admin Console for 3CX. Access the Admin panel from the Web Client by clicking on the cog in the lower left corner.

 

3cx-v20-admin-console-view.jpg

 

Trunk Configuration and Registration

2. The trunk setup process is different for IP Authentication and you cannot use the preconfigured provider templates directly from 3CX. Instead, a custom template must be uploaded using the Generic Provider option. SIP.US has created a custom template (attached) for you to use that matches the standard SIP.US preconfigured template. The file contains customized inbound parameters which differ from the generic provider settings. Begin by downloading the XML file edit attached at the end of this guide. 

 

3. In the 3CX Admin panel, navigate to Advanced > Templates > Provider Templates and choose “Import Provider”. Upload the SIPUSGeneric XML file and confirm the import. It will automatically configure a new generic Trunk.

 

3cx-trunk-generic-v20-settings-siptrunk.jpg

 

4. Name the Trunk and assign a User. Next, go to the SIP.US customer portal, navigate to the “SIP Trunking” menu and view the SIP trunk to get the number. Enter your trunk number in the “Main Trunk Number” and “Authentication ID” fields. You may leave the “Authentication password” field blank since your public IP will serve as the authentication method. Lastly, click on the “Type of authentication” dropdown and choose the “Do not require – IP based” option.

 

3cx-v20-ip-auth-registration-sip-trunk-us.jpg

 

5. The gateways should already be configured from the template and read “gw.sip.us” in the “Registrar/Server” field and “gw1.sip.us” in the “Outbound Proxy” field. Check the “Auto discovery” option for both. Lastly, navigate to the “Options” tab for the Trunk and confirm “gw2.sip.us” is in the Alternate Proxy field. “Save” the Trunk changes.

 

NOTE: You will receive a prompt to finish setting up SMS. You may simply disable the toggle and then “Save” the changes. The custom SIP.US template will also allow for SMS if you wish to set it up later on that SIP trunk.

 

NOTE: Unlike digest registration, there is no viewable registration status for IP Auth in the SIP.US customer portal. You will only see “IP Auth” in the Registration Status of the SIP trunk. Proceed with setup of the inbound and outbound routing. Once that is complete, then place test calls to confirm IP authentication is working correctly.

 

ip-auth-status-customer-portal-registration.jpg

 

Inbound Calling

6. Go back into the trunk settings again to add the phone numbers under the “DID Numbers” tab for the inbound routing. Add your DIDs in either of the following formats based upon your requirements (both will work):

  • DIDs will be formatted as *1NPANXXXXXX
  • DIDs will be formatted as +1NPANXXXXXX (a 1 followed by the number in a 10-digit format)

When adding a number, be sure to click the SAVE icon next to the field or press Enter. The number now needs to be assigned to a User. First, SAVE the trunk changes before navigating away to the User panel. Otherwise, you will lose everything you just set up.

 

inbound-did-how-to-format-routes-user-siptrunk-3cx-v20.jpg

 

7. The DID number will appear Unassigned by default and still needs to have an assigned User to route inbound calls. Navigate to the “Users” menu and select the User you want to associate to the DID you just created. Find the DID in the “Assigned DID number(s) drop down to assign it to that User. Save the changes. You’ll now see the DID is assigned to the User in the trunk settings. Configure the rest of the User profile based upon your setup and needs.

 

You should now be able to call the User at the number you just created and assigned.

 

sip-user-assign-did-how-to-3cx-v20.jpg

 

Outbound Calling

Next is how to set up outbound calling. We will create several rules to support different types of calls including domestic (11 digits), 3-digit, and international. Remember to SAVE all of your settings for each rule.

 

8. Click on the Outbound Routes tab and click “Add Rule”.

 

9. Name the first rule 11-digit dialing, because we require you to send 11 digits outbound for domestic calling. Enter 11 in the field “Calls to numbers with a length of”. If you dial 10 digits, calls will fail. Create another rule for 10 digits and prepend a 1 if your client only wishes to dial 10 digits.

 

10. Click on the Route and set the trunk for each rule. You can also add your CID in the “Outbound caller ID” field.

 

3cx-v20-outbound-dialing-pattern-rules-11-digits.png

3cx-v20-outbound-dialing-pattern-rules-10-digits.jpg

 

3-Digit Dialing

11. SIP.US supports 911, 933, and 988 regarding 3-digit dialing. Name and then set the rule to apply to calls with a length of three digits. Assign the Trunk in the Route field.

 

Enter a caller ID in the “Outbound caller ID field”. If you plan to use the rule for dialing to 911, enter your Enhanced number for the caller ID here.

 

3cx-v20-e911-provisioning-outbound-calling-cid.jpg

 

International Dialing

12. For International dialing, enter 011 into the “Calls to numbers starting with prefix” field and then set the “Strip digits” to 3. This will tell the PBX when you dial 011 to ignore any other rule no matter the number of digits dialed. The strip will remove the 011 so you only send us the international phone number you’re dialing.

 

3cx-v20-international-dialing-calling-outbound-rule-pattern.jpg

 

NOTE: Remember to select the Trunk and set the CID.

 

The SIP trunk should now be fully configured with IP Authentication and both inbound and outbound call routing. You will also need to ensure you have the proper whitelisting rules in place. Review the requirements in this article on Interconnecting with SIP.US. Once you have implemented these rules, proceed to place both inbound and outbound test calls.

 

If you experience technical issues or have additional questions, please submit a ticket to our Support team and support@sip.us.

 

SIP.US Custom Template (XML)

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk