IP-based Configuration

Configure your 3cx Sip trunk with DIDForSale SIP Trunking Services using IP based registration

First, begin with adding an IP to your account by logging in to your DIDforSale Customer Portal.

Follow this link for steps on how to add an IP to your account :

pageAdding IP Address

Now, login to your 3CX web portal to configure the trunks.

To create a SIP trunks, click on SIP Trunks>Add Sip Trunk. Select country as Generic and providers as Generic SIP Trunk. Enter the Main Trunk No as your DID number as shown below and click on OK.

Step 2: In the next window, add Registrar/Server/Gateway Hostname or IP as 209.216.2.211 and SIP server port as 5060(which is next to hostname) and Outbound Proxy as 209.216..2.212 . Under Authentication , select "Do not require-IP based" as Type of Authentication as shown in image given below:

Step 3: After Scrolling Down, Select the destination to which the DID number should be forwarded in your 3CX system, you can send the calls to an extension, voicemail, fax or to an external number.

Step 4: Once above step is done, scroll on top of the screen and click OK.

Step 5: Lets create second trunk same way with Registrar/Server/Gateway Hostname or IP as 209.216.15.70, SIP server port as 5060(which is next to hostname) and Outbound Proxy as 209.216.15.71. Select Type of Authentication as "Do not require-IP based" as shown in the image below:

Step 6: Select the desired destination.

Step 7: Scroll up and click on OK.

Routing Outbound Routes

Step 8: The next step is configuring Outbound routes for this trunk. Click on Outbound Rules on the left pane of the window and then click on Add. The below window appears.

Step 9: Enter the Rule Name as dfs_out (or anything you want). For Calls from extension(s) enter 000. Under Calls to Number with a length of enter 10 as number length.

Step 10: Under Make outbound calls on, for Route 1 Select Generic SIP Trunk(the sip trunk you created before). Enter 1 for Prepend

Step 11: Once everything is done , Scroll up the same window and click on OK.

Routing Inbound Routes

Step 12: Go to Inbound routes option on the left window. Now, click on Add DID Rule as show in figure below:

Step 13: Give any name to this Inbound Rule, say "dfs". Under Route calls to option you can route calls as per your requirement to an extension, voicemail, fax or to an external number. Refer the image below for better understanding:

Step 14: Scroll up the same window and click on OK.

For detailed description of how to add this IP to your DIDforSale account, take a look at this documentation here.

Hope this document helps. Please reach us for any further queries.

Last updated