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 GenericSIPTrunk. Enter the Main Trunk No as your DID number as shown below and click on OK.
Add new Trunk
Sip Trunk
Step 2: In the next window, add Registrar/Server/Gateway Hostname or IP as 66.209.76.70and SIP server port as 5060(which is next to hostname) and Outbound Proxy as term1.didforsale.com. Under Authentication, select "Do not require-IP based" as TypeofAuthentication, as shown in the 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.
Sip Trunk General Tab
Step 4: Once the above step is done, scroll to the top of the screen and click OK.
Save the changes, click on OK
Step 5: Let's create a second trunk same way with Registrar/Server/Gateway Hostname or IP as 66.209.15.72, SIP server port as 5060(which is next to hostname) and Outbound Proxy as term2.didforsale.com. Select TypeofAuthentication as "Do not require-IP based" as shown in the image below:
Step 6: Select the desired destination.
SIP Trunk2
Step7: Scroll up and click on OK.
Save the changes
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 window below appears.
Add new Outbound Rule
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 10 as the number length.
Make configurations
Step 10: Under Make outbound calls on, for Route 1 Select Generic SIP Trunk(the sip trunk you created before). Enter 1 for Prepend
Use Two SIP trunks created to make outbound calls
Step 11: Once everything is done , Scroll up the same window and click on OK.
Save the changes
Routing Inbound Routes
Step 12: Go to the Inbound routes option on the left window. Now, click on Add DID Rule as shown in the figure below:
Create Inbound Route
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:
Configure Inbound Route
Step 14: Scroll up the same window and click on OK.
Save the changes
For a 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.