Documentation for Developer/Administrators
HomeAccount PortalPricing
  • About this Documentation
  • Overview
    • Table of Content
    • Introduction
    • Welcome Kit
      • Add Balance
      • Buy New Phone Number
      • Voice configuration
      • SMS Configuration
        • SMS Forwarding
      • Reporting
        • CDR
        • SMS
        • FAX
  • DIDforSale Portal
    • Register a new account
    • Dashboard
    • Reporting
      • CDR
      • SMS
      • Inbound Calls
      • FAX
      • Group Usage
      • Voicemails
    • Phone Numbers
      • Phone Numbers
      • Channels
      • E911
      • Porting
      • Send FAX
      • FAX Emails
      • SMS Groups
      • Groups
      • CNAM
    • Interconnection
      • Manage IP
      • SIP Accounts
      • Testing Center
      • Phones and Devices
      • Custom Dialplan
      • Audio Files
    • Tools/Settings
      • Outbound Rates
      • API Control
      • Fraud Control
      • Postcalls
    • Account
      • Profile
      • Change Password
      • Add Balance
      • Payment History
      • Voucher
      • Invoices
      • Auto Refill
      • Charges
      • Contact Us
      • Global Settings
      • Logout
  • SIP Trunking
    • Configuration of Phone Numbers
      • Configuring SIP to IP Account
      • Configuring Custom Dial Plan to a Phone Number
      • Configure SIP to SIP Account
      • Set up Call Forwarding to a Phone Number
      • http URL Forwarding Setup
      • Webhook Setup
      • FAX
        • Receive FAX
        • Fax through SIP Account
        • Send FAX
    • Adding IP Address
    • Creating SIP Account
      • VoiceMails
    • SIP Trunk Interconnection Guide
      • 3CX
        • SIP-based Configuration
        • IP-based Configuration
      • Allworx
      • Asterisk
      • CISCO UCM
      • FreePBX
        • FreePBX PJSIP Configuration
          • IP-based
          • SIP-based
        • FreePBX ChanSIP Configuration
          • IP based
          • SIP based
      • FreeSwitch
      • FusionPBX
      • GoAutoDial
      • Grandstream Devices
        • GrandStream 6102 IPPBX
        • GrandStream 502
        • Grandstream 6104 IPPBX
      • HoduSoft PBX System
      • Microsoft Skype for Business
      • NEC Corporation
      • PBXinaFlash
      • Polycom OBi300
      • ShoreTel PBX
      • Vital PBX
      • Yealink Phones
      • ZYCOO
    • DIDForSale Softphone
    • Zoiper Softphone Application
      • Iphone App
    • Grandstream Wave Mobile Application
    • Enable Call Recording
    • Call Transcription
  • Voice and SMS APIs
    • Getting the API key and Token
    • Voice
      • Big Picture
      • Quick Start
        • Identify Caller
        • Collect Response
      • didML Reference Doc
        • Voice API Request Params
        • Voice API Response
      • didML Verbs
        • <dial>
          • <client>
          • <conference>
          • <number>
          • <queue>
          • <sip>
        • <enqueue>
        • <fax>
        • <gather>
        • <hangup>
        • <pause>
        • <play>
        • <postcall>
        • <record>
        • <recordcall>
        • <redirect>
        • <reject>
        • <say>
        • <sms>
    • SMS
      • Configure SMS
      • Send/Receive SMS via Email
      • SMS Forwarding
        • SMS forwarding to Phone Number
        • SMS forwarding to Email
        • SMS forwarding to a Webhook
      • SMS/MMS Desktop Application
      • SMS APIs
        • Activate SMS
        • Deactivate SMS API
        • Send SMS
        • SMS CDR
        • Set SMS Forwarding
      • Bulk SMS Feature
        • Creating SMS Campaign
        • Custom or Dynamic Text Sms
  • UC Editor
    • UC Editor
      • Features
      • How to configure/setup the Custom Call Flow
  • FAX via Email
    • Send & Receive FAX via Email
Powered by GitBook
On this page

Was this helpful?

  1. SIP Trunking
  2. SIP Trunk Interconnection Guide
  3. 3CX

IP-based Configuration

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

PreviousSIP-based ConfigurationNextAllworx

Last updated 1 year ago

Was this helpful?

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 :

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.

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

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

here
Adding IP Address
Add new Trunk
Sip Trunk
Generic SIP Trunk 1
Sip Trunk General Tab
Save the changes, click on OK
Configure Generic SIP Trunk2
SIP Trunk2
Save the changes
Add new Outbound Rule
Make configurations
Use Two SIP trunks created to make outbound calls
Save the changes
Create Inbound Route
Configure Inbound Route
Save the changes