# About this Documentation

DIDForSale offer wide variety of communication tools to improve your connection with your customer. This document is designed to implement solution tailored to your needs.

## &#x20;[Table of Content](/overview/introduction)

## What you need to get started?

You can always read the documentation even before you create an account. But to get real advantages create a [portal.didforsale.com/register](https://portal.didforsale.com)

### [ Register now](https://portal.didforsale.com)


# Table of Content

Here goes the list of topics

[Introduction](/overview/introduction-1)

[SIP Trunking](/sip-trunking/sip-trunking)

[Voice and SMS](/voice-and-sms-apis/voice-and-sms)


# Introduction

You will fine DIDForSale Communication platform as most flexible interconnection portal.

DIDForSales is leading Provider for local and toll free numbers. You can build custom Voice and SMS application on top of our platform. Or you can interconnect your Business phone system with our SIP Trunk gateways.&#x20;


# Welcome Kit

These steps will get you started in 5 minutes.

### Quick steps to setup your virtual numbers and sip trunking:

* [Add Balance to your account.](/overview/welcome-kit/add-balance) DIDForSale services are prepaid, to get started you need to have a balance in the account.&#x20;
* [Purchase Phone number. ](/overview/welcome-kit/buy-new-phone-number)
* [Setup Routing:](/sip-trunking/configuration-of-phone-numbers) You can utilize call forwarding to another number or forward the calls to your SIP Phones or SIP Gateways.
* [Setup SMS](/voice-and-sms-apis/sms/configure-sms): If you want to send and receive SMS on this number.&#x20;
* [Reporting:](/didforsale-portal/reporting) You can see the call and sms activities.&#x20;


# Add Balance

Thinking how to add balance

Go to **Account - > Add Balance** or click on the Balance option on top of your dashboard page.

![](/files/-LeNNE634ptwbmMvnqVB)

You can choose the payment option as paypal or credit card.

* **Pay with Paypal:** To pay with paypal, enter your amount or click on buy a fixed amount and click on pay.

![](https://lh3.googleusercontent.com/zBUvI1pBSUc1RSwDCu5jyJ7-Gqs_mCyBaX7oRar-HMwxoIkYXXV26kUfVW7jyTOaWb1UEqW_9Cu_zHMplcRXWEBfnRGNz5qd__-NJBUv1ygNpOPgUR0j7IWuP6Anz_oagd8FCHuU)

* **Pay with credit card:** To pay with credit card, enter your card details including the billing information.

{% hint style="info" %}
**Note:** If you’re using a **NON-US** **credit card**, send us an email at <contact-sales@didforsale.com> so that we can activate the payment from the same.
{% endhint %}

![](https://lh6.googleusercontent.com/rEsTaq5jcGlhVOJDrOFgt9D0fhl-Opb1TOsaha_R1HScOEzQmmN3OwC-q9LGibQ9yVmNhTLgOZAR-XItstF1n-87O-O8MM371SCq7gKFFQLZagNVTCItLBHYAgnO5zi9tx88SVbZ)


# Buy New Phone Number

To Buy  a New Phone Number, go to the **Phone Numbers** tab.

<div align="left"><img src="https://lh4.googleusercontent.com/ovU4oQWq-BmOwQRigGWk_oyoSWI-Et-CaaLz2YWufR0Ur3c6p4Sn_xP-fmSrEQcI18aExfXaIgHGhpCFXK7X0jT9y4q1aLMtILTBJixKAhdYWQCDVWLSXrDc8005qHlum2CBfLey" alt=""></div>

You can buy the Phone Number by clicking on **“Buy New Phone Number”** option.​

![](https://lh4.googleusercontent.com/P-eVU_6mx-T8EhDE1MghlUX95JShMAOv3tAr6ddjITeXtGyTrohZof2JjNJd7n3lLmvx9EbCWkv_WK3Ruy6LYRB1bea7oJpY4brph1Bsii3xCEFOVEwLUIekW9rCeUxp939SsC4C)

Once you click on *Buy New Phone number*, the following page opens:

![](https://lh3.googleusercontent.com/efoxDZzGA0_6itRaOUR-6eN5_nrhccq2SYg1lygDy9eENH5Z3XkiS6TpoeSumKEL3xsOWS6TWMKgxZtRx3OlYyoaFKOBmUZacJoeVf-s5zFSEYkCgaSdJdNZrOx6Rkqy8FMiWHjS)

In case you don’t find the desired DID in our inventory you can always email us on <contact-sales@didforsale.com>.

*Request DID:* When the DID you are looking for is not available under the buy DID section, you can place a request to us.


# Voice configuration

Setup call your routing for the Virtual numbers in your account.

You can setup call routing in many different ways. Based on your setup and needs DIDForSale allows you to transfer calls to your SIP devices at no charge or you can call forward to another number (there may be extra charges).&#x20;

## [Call Routing Configuration  ](/sip-trunking/configuration-of-phone-numbers)


# SMS Configuration

How to configure SMS:

{% content-ref url="/pages/-LVecXVa6GvYNUvTBhgG" %}
[SMS](/voice-and-sms-apis/sms)
{% endcontent-ref %}

Sending and receiving SMS:

{% content-ref url="/pages/-LWDr-TIkEDG0JLAtrIP" %}
[Send/Receive SMS via Email](/voice-and-sms-apis/sms/send-sms)
{% endcontent-ref %}


# SMS Forwarding

You can forward SMS to another Phone Number, Email Address, or a Webhook. Follow these page links for more information:

{% content-ref url="/pages/-LaMbEGwHtBUM4PbB5rJ" %}
[SMS forwarding to Phone Number](/voice-and-sms-apis/sms/sms-forwarding/sms-forwarding-to-phone-number)
{% endcontent-ref %}

{% content-ref url="/pages/-LWDqmVspYOIac8o4kHZ" %}
[SMS forwarding to Email](/voice-and-sms-apis/sms/sms-forwarding/receive-sms)
{% endcontent-ref %}

{% content-ref url="/pages/-LaMVQ1mHQKAshnVgH2k" %}
[SMS forwarding to a Webhook](/voice-and-sms-apis/sms/sms-forwarding/sms-forwarding-to-a-webhook)
{% endcontent-ref %}


# Reporting


# CDR

**CDR** has the basic reporting of all the calls and SMS.

It gives the detailed call records like its source, destination, Date/Time, Duration, Cost(cost of call acc. To plans), DID number,Tag(eg:test).

You  can filter call reports based on :

* **All Cost:** It shows the complete call details for all the calls happening from your account.
* **Zero Cost:** It filter only those calls that are charged 0$.
* **Greater than zero:** It filters the calls charged more than 0$.<br>

{% hint style="info" %}
**NOTE:** You can select any one of the above mentioned filters.
{% endhint %}

* Call Reports can be further filtered on the basis of *Start Date, End Date, Source and Destination .*
* You can download the detailed *CSV report* by clicking the bottom right button **“Download as CSV”**.

![](/files/-LaR6hrcWqnEtkLdLjMu)


# SMS

If you have SMS feature activated in your account,  you can view the SMS history.

* This gives the complete details of the SMS sent like sender, receiver, smsid,cost, status,direction, date, action.

SMS can be filtered based on :

* Starts with
* Ends with
* Contains

{% hint style="info" %}
**NOTE:** You can select any one of the mentioned filters
{% endhint %}

SMS can be further filtered on the basis of Start Date, End Date, SMSID, sender and receiver.

You can download the detailed **CSV** report by clicking the bottom right button **“Download as CSV”**.

![](https://lh3.googleusercontent.com/6Y9ShudbVwalkm8Lb8RgrH1KcK-tDa89bApgqEJHD69D3ny_aah-pDmWpRpK4XxR2SDXL0qovnzTsfDcfOK45JtBB6S-WX6JnPm9g63cw2J5P3UIng7-or-qLPcn1XAAJCebjRro)


# FAX

If the Phone Number has active FAX, then the details like *Source, Destination, Status, Date & Time* are shown in this tab.

You can filter your search further according to *Start Date, End Date, Source, Destination, Status, and Direction* of the Fax.

![](/files/-LaRBSwHyzV8C2PAMWOA)


# Register a new account

To register a new account on DIDforsale portal, follow these steps:

1. Visit  <https://portal.didforsale.com/register/> and click on My Account /FREE TRIAL
2. New window opens. Now click on Register now and fill in the form with details like name, email, password, phone and receive the verification code on the given phone number via call or SMS. Once all the details are entered, click on Register. A confirmation page appears.

![](https://lh4.googleusercontent.com/frrqcjQLzaJjb-jBbyCzb8itpK-3-0YFs-sdKvPK3mWmtAzTbtawN-eE21ModUqDxDFicXtZH-VbnXCYl7zwIK_faXnXWu0Qs7CfjvB7JnOKB6Ox5C3aO-Vfex2V3CRxllJJL0g6)

You should’ve received an email in your inbox with welcome email and a link to activate your account.

&#x20;If not, please check your spam/junk folder. Please remember to allow (safelist) all emails from <contact-sales@didforsale.com>/contact-<support@didforsale.com> to prevent them from accidently going into your spam/junk folder. This will ensure that that you receive all the important communication from us in a timely manner.

Below is a sample email notification.(screenshot)

1. Click on the link to from email to activate your account. Another confirmation page appears, informing you that your account is now active.
2. Log into your account with your email as username and the password you’ve set.   &#x20;


# Dashboard

The dashboard consists of all the useful information once you login to your account.

Here you can :

* Get started by testing our services by reserving a Test DID.
* Configure your IP/SIP account.
* Configure or setup SIP routing.
* &#x20;You can add funds to your account by clicking the “Add Funds” link.
* You can port your existing numbers with us by clicking the “ Port Numbers” link. This link will take you to Products => Port.
* The “useful info” on the right side of the screen will tell you all the steps of registration that you have completed and will show a green tick mark with it if the step has been completed. The various steps are:

1. Signed up
2. Email verified
3. Update profile
4. Add funds

There are different graphical representations that show Weekly / 2 weekly representation of :

* Inbound calls.
* Outbound Calls.
* Toll Free calls.

The dashboard also shows if you have any notifications, what you have added in your cart, your balance, links to contact the DFS sales/support team, option to log out.


# Reporting


# CDR

**CDR** has the basic reporting of all the calls and SMS.

It gives the detailed call records like its source, destination, Date/Time, Duration, Cost(cost of call acc. To plans), DID number,Tag(eg:test).

You  can filter call reports based on :

* **All Cost:** It shows the complete call details for all the calls happening from your account.
* **Zero Cost:** It filter only those calls that are charged 0$.
* **Greater than zero:** It filters the calls charged more than 0$.<br>

{% hint style="info" %}
**NOTE:** You can select any one of the above mentioned filters.
{% endhint %}

* Call Reports can be further filtered on the basis of *Start Date, End Date, Source and Destination .*
* You can download the detailed *CSV report* by clicking the bottom right button **“Download as CSV”**.

![](/files/-LaR6hrcWqnEtkLdLjMu)


# SMS

If you have SMS feature activated in your account,  you can view the SMS history.

* This gives the complete details of the SMS sent like sender, receiver, smsid,cost, status,direction, date, action.

SMS can be filtered based on :

* Starts with
* Ends with
* Contains

{% hint style="info" %}
**NOTE:** You can select any one of the mentioned filters
{% endhint %}

SMS can be further filtered on the basis of Start Date, End Date, SMSID, sender and receiver.

You can download the detailed **CSV** report by clicking the bottom right button **“Download as CSV”**.

![](https://lh3.googleusercontent.com/6Y9ShudbVwalkm8Lb8RgrH1KcK-tDa89bApgqEJHD69D3ny_aah-pDmWpRpK4XxR2SDXL0qovnzTsfDcfOK45JtBB6S-WX6JnPm9g63cw2J5P3UIng7-or-qLPcn1XAAJCebjRro)


# Inbound Calls

Inbound calls show the data of all the calls made like *Phone Number, Source, Start Time, Stop Time, Duration and cost.*

You can search the the call details by filtering your search specific to a *Month-Year* in the Search Box.

![](/files/-LaRB_ixh1x1j16Sqz54)

If you scroll down the page, you can also download the **CDR report** file.

![](/files/-LaRBhUHEq8FLzNwENXi)


# FAX

If the Phone Number has active FAX, then the details like *Source, Destination, Status, Date & Time* are shown in this tab.

You can filter your search further according to *Start Date, End Date, Source, Destination, Status, and Direction* of the Fax.

![](/files/-LaRBSwHyzV8C2PAMWOA)


# Group Usage

This feature enables a user to group more than one DID and see the usage in a consolidated as well as per DID monthly or for a custom period.

You can check the group usage of all the groups in your DIDforSale account and also filter out the information on basis of year and month.

Enter the year and moth details in the text box and click on search icon  on the right side to filter out the details, and it will show you the group usage details of that particular *YYYY-MM*.

Click on the refresh icon to reset the filter options. <img src="https://lh6.googleusercontent.com/aCUS4ornpoAtGbQVxj-lBhgXW5Vn10YPh7Bzh5wyh9LvORwGPtCQ_kEXm6OOxb2Ul9fYclEcmkaoIva2aj7WqGj0jPa6ON-UDtZMOLw7f5A8yjULshP9VsLYc-_d7zKK6dYwyy7x" alt="" data-size="line">

![](/files/-LaRCCt-CNAehqNEi_n4)


# Voicemails

![](/files/-LaRDbhBsv_BiX6iy_ST)


# Phone Numbers

This section will guide you to setup products like local phone numbers, toll-free, SMS, e911, fax and others.


# Phone Numbers

<div align="left"><img src="https://lh4.googleusercontent.com/ovU4oQWq-BmOwQRigGWk_oyoSWI-Et-CaaLz2YWufR0Ur3c6p4Sn_xP-fmSrEQcI18aExfXaIgHGhpCFXK7X0jT9y4q1aLMtILTBJixKAhdYWQCDVWLSXrDc8005qHlum2CBfLey" alt=""></div>

You can buy the Phone Number by clicking on **“Buy New Phone Number”** option.

![](https://lh4.googleusercontent.com/P-eVU_6mx-T8EhDE1MghlUX95JShMAOv3tAr6ddjITeXtGyTrohZof2JjNJd7n3lLmvx9EbCWkv_WK3Ruy6LYRB1bea7oJpY4brph1Bsii3xCEFOVEwLUIekW9rCeUxp939SsC4C)

Once you click on *Buy New Phone number*, the following page opens

![](https://lh3.googleusercontent.com/efoxDZzGA0_6itRaOUR-6eN5_nrhccq2SYg1lygDy9eENH5Z3XkiS6TpoeSumKEL3xsOWS6TWMKgxZtRx3OlYyoaFKOBmUZacJoeVf-s5zFSEYkCgaSdJdNZrOx6Rkqy8FMiWHjS)

In order to search the DID by states click on **“Search by states”**  ![](https://lh6.googleusercontent.com/FAVJ8UOab7Xh-BSVki5bqAFIx7sTlyovwVqvk2nCLiwR1xJ6TAbTmHqfhtw6N_kqmPU2q7Y-fbmwEXd2uP-pQtXZ33wuxJn7EnrbkNbIppI0QrObXPuLAyOFe1VrMLuYFdEDSD1q) . The following window appears.

![](https://lh3.googleusercontent.com/PbP0xa5l0dT3WIIJ-a9vSvk51dysmoP3bXJesYLHfKcYTTp6mZ73_lJpcmjjKaVNIiqlKWHjFjXIc-wWLwosnOFcEoWBdqSWavDEXZYGv11QXd_k6jXha12sjylo7chCjqtm9UO3)

Also, you can buy DID by searching through *area code.*

In case you don’t find the desired DID in our inventory you can always email us on <contact-sales@didforsale.com>.

*Request DID:* When the DID you are looking for is not available under the buy DID section, you can place a request to us.

*DID configuration:* It’s time to set the configuration for the DID you just purchased. Select the DID and go to  ![](https://lh6.googleusercontent.com/RHBl-zTZnwysikX4cg8ptEq-QbPgqdB1FrnSrzrsXUY6G457nE6Q5jhPAzSQgUolyZixz6IKbxCjxMSslYtgTck35ONOVmpYxNymT1b_kZjfF8LydexBF2HWNA4zE-yGYTOBU8kh), you will see the following page:<br>

1. **Tag:** You can  give a name to your DID to uniquely identify it.
2. **Group:** You can create groups for the DIDs
3. **DID type:** It is the plan for your DID which can be metered/flatrate/channelised, depending on your call traffic.
4. **Capabilities:** ![](https://lh4.googleusercontent.com/I0X8FrxGjrSYT2_DwbIb2vIy5OZYV0gOOnGrovKJfn_X3T8GOvyXozqmbRojAghNYAEbbkar-1MGvnf4t83sL4XGeguEEwoGco-viscxEEPTiir7OKSWXvZof5VnKeL-_F1N-DO3). You can enable and disable the following by clicking on the icon.

* SMS
* CNAM
* 911

&#x20;  5\. **Configuration:** It displays the configuration set for your DID and enabled capabilities.

&#x20;  &#x36;**. Cancel Phone number:** Select the phone number you want to Cancel and click           on:

&#x20;![](https://lh5.googleusercontent.com/vEKA3OrtduwZG_D9IlbocpaHkKilappRDHY9ng-PikmL0Dkrf9gff371U04tbkH3z7lGbHzHorV3nwUpYRH_AfMRwwsNwWaobZdKu7QlnC_--0uO6LD35ZDYcM9jzRXIStR-523M)\
\
Click on DID Configs. Select the DID number you want to configure.

1. It can be filtered based on :

* *Starts with: -* Filters the DID that begins with the numbers entered here.
* *Ends with:-* Filters the DID that ends with the numbers entered here.
* *Contains: -* Filters the DID that contains the numbers here in no particular order.

**NOTE: You can select any one of the mentioned filters**

1. From the Drop Down (Select A DID Action), Select Manage Routing and Click on Apply.
2. Select your configuration type.
3. You can choose, Direct to IP or to SIP Account, Click on Save.

Note: Understand different available Configurations to be able to choose the one that best  suits your system.

* Direct to IP – Config 1
* Direct to IP – Config 2
* Forward to Phone: Direct the DID to any phone number
* SIP Client as User: SIP account and Voicemail configuration
* SIP Client as Trunk: Standard SIP account configuration
* Forward to Web URL:
* Forward to SIP URL:
* Configure as existing number: Add configuration same as already configured number in your account.
* Remove configurations: Remove existing configuration.
* Custom call flow: You can modify your call flow using various options like Play message, Call transfer, Group calls, Capture digits, SMS, Hang up.clients.

![](https://lh5.googleusercontent.com/iU9XMWoXM8_DfgDyT3g-qMk9GzODggKw9kZBGFzm46JYDN3B4VMUcqwkOD8L2YWXLDjyolzxr_NfS6TnBqzrfOa8Mf2Oj8vfdKcTw-8VPK0TL_WSKQc4L2apYXA1Mf0iJbvVNU9N)


# Channels

You can add channels to your account. One account can have multiple channels with options like *Inbound SIP Trunk, Outbound SIP Trunk*.

&#x20;You can add channels to your account by clicking on the **“Add Channels”** button.

&#x20;To reduce the number of channels you can click on the **“Reduce Channels”** button.

&#x20;You must have enough balance in your account to purchase channels.<br>

![](https://lh4.googleusercontent.com/DN1_2g4sir8wp9j3pCOmqxlityNn0uiu9se3FRDl0c8IuLFnSxzIeXA1FFgRz0PUlfWGQXZk2OaN5Wo7qIHJguA9tnsUurj_r-fbqH6Gqvxd32LY4o0CZ2eN-h4xCLbua53NxPmi)


# E911

It shows if the DID is activated for emergency calls.

![](https://lh3.googleusercontent.com/B2wI4zsRJRcGvG3E5o4rQ9OR6JPjBoKRr-HvdcQXvrcGCeqJ7-gD9epQYgpgJPe_HRa65B4RokDkxv2XWf-L2yrD-tby9FZxD4AZzls86CIbmxUZD2v9_VDj6cwdaAkcC9KAJHAu)


# Porting

Consists of port orders, Porting information like details about portability. You can place an order for a new port, toll-free port or check your portability.<br>

![](https://lh5.googleusercontent.com/VlUkR5sHiHBanpoiicXeraw1FpOPYu6sip8LVYtc2A3gbY8mla6OerzrizsU0m8RjB0ikaeJ2Erc0B5rT3j850E2__s9B5VSk4QQF3f7xKsfqjfysNsNpDfcGLwG5-_U9-pxIa08)

**NEW PORT ORDER :** Here you can place a new port request. The new window which opens once you click on NEW PORT ORDER button will look like as below:

![](https://lh6.googleusercontent.com/vtZubBOy-arwtG3juZ2vtU3IBeqrU-FP63fqWZzfmt37LiAHgYf9ldCq65-0nRk1pJOc2-olqNMIhLnRlrmXB3qRyHhGdS25_NwRhLi8jo8ufR5RGjSNblX0sdEQjszsyoVxrrpu)

Fill in the details and click on **continue.**

**Toll Free Port Order:** Submit port for your Toll-Free number here.

**Check Portability:** Check if the Phone Number that you would like to port is portable or not.

Follow this link for a detailed video explanation: <https://www.youtube.com/watch?reload=9&v=BbuGwJtFnkI&feature=youtu.be>


# Send FAX

To send a Fax from your Phone Number, go to **Phone Numbers** **-> Send FAX**.

Follow these Steps :-

**STEP 1 :** Enter the Phone Number in your account from which you want the FAX to be sent.

**STEP 2 :** Enter the recipients Phone Number to whom you will be sending the FAX to.

**STEP 3 :** Attach a PDF document (Max 10 MB) which will be sent as the FAX and click on *Continue*.

![](/files/-LddxjovQXEhmbC01IDI)

After you click on *continue*, you will be prompted once your *FAX* is created like this:

![You FAX has been created successfully.](/files/-Lde4dHA7ibINtwLikT6)


# FAX Emails

{% embed url="<https://docs.didforsale.com/send-and-receive-fax-via-email/send-and-receive-fax-via-email>" %}


# SMS Groups

You  can send SMS, choose a DID action like enable SMS, disable SMS, update SMS forwarding and set SMS configuration. Here you can enable SMS, disable SMS and Update SMS forwarding. Let us see how these three features can be added :

![](https://lh6.googleusercontent.com/CXjqD2PDPq2G8qhTJYdiHpkkpdosV7osl6GVAvXJo6MSVO9Dwijb8E-UgEkfCTqz1lRuYIOq9Iq0Ox_GY8gPpB7Lc0HB0te8exU0Ip7Z3knTLyGA81ZaTwJtv9kybGMHHl4o768E)

* **Enable SMS:**

1. Select the DID to which you want to enable SMS.
2. From "Choose A DID Action" drop down select  "Enable SMS" and hit Apply.
3. This will submit a request to enable the service on DID.

Note: It may take 24-48 hours maximum to activate the service.<br>

* **Send SMS:** This Tab allows you to send SMS from the DIDs on which SMS is enable&#x64;**.**

![](https://lh3.googleusercontent.com/eLyvcM9-0eJu8RAlwJlmo914lklqw7YoX6ewl4iLSPqdZi10gtXtXcQoJy4AY-KBi0jVWjcnfxUU0OIKm5ATdtjhAUhqREvRp1cwluzC8LqBCgIpL7byLtxitLaHt11sLBu6lBmw)

* **FROM:** Select the DID number from Drop down.
* **TO:** Enter the number to which you want to send the SMS.
* **MESSAGE:** Type the message to be sent.

![](https://lh5.googleusercontent.com/Z-Tq3rs4Y9_xM94nYrjzMg9JtmIZqXb-KQdM8-2-FmYvxZBs2y-bGy5ktyPMSl-3zzyMAB5XaRupjk8MjDG1nv0ajjhiNodklomeQRrne_CbzYF-7KDRGVgd0G1o6bNRWaEIrG5x)

* **SMS Forwarding:**

Once you Choose the DID number that you want to update SMS forwarding on and click on Apply. On this screen you will update the URL. You can choose from one of the three available options.

1. Forward SMS to phone number: Here SMS can be forwarded to the DIDs in your account for which SMS is enabled.(11 digit)
2. Forward SMS to email: Enter the email-address to which you want to forward the SMS to.
3. Select HTTP URL for SMS Forwarding to your API: Enter the URL to which you want to receive the SMS.


# Groups

Here all the groups are mentioned and you can create new groups by clicking on **“Create Groups”**.

To create the groups, enter the *Customer ID, Customer Name,*  and *Password*. Click on **“Save”**.

![](/files/-LaRGthRrWyj3gWVNeGw)


# CNAM

**Incoming CNAM :** You can activated the CNAM feature here to get CNAM for your incoming calls. You can choose a DID option like enable or disable CNAM Dip.

**Outgoing CNAM :** Please follow the steps below for update CNAM storage data.

1. Select the DID/s and from the dropdown select option Update CNAM Storage and hit apply.

<figure><img src="/files/K1E0shr7EyTzK6RS5Frc" alt=""><figcaption></figcaption></figure>

2. The next page will show you existing CNAM data and will give you an option to either keep it same or update the CNAM. Also, it will give you a summary of associated charges.\
   &#x20;

   <figure><img src="/files/NeSuERxztpEjQ5WMZ1it" alt=""><figcaption></figcaption></figure>

3. After entering a name (within 15 characted including white space and no special character), click the button Save and Continue to update the CNAM Storage Data.


# Interconnection


# Manage IP

You  can choose an IP action like *Add, Update, Delete IP Address*. It shows the *IP, Domain Name ,Port*, if termination is enabled,etc.

You can filter the results using the IP address or any other description.

You can select an IP and choose a DID action from that **“Choose a DID action”** dropdown. It has three options:

* Add IP Address
* Update IP Address
* Delete IP address.

There is a search box where you can search a particular IP.

At the bottom right we have an option to **“Submit”** the changes and **“Export CSV”**.

![](https://lh6.googleusercontent.com/Tb-N8s3yHJ6-dJNMyV1PbtTdWtiVoX6f1WPMv2M5nUh7rBy7EwZhGHzRlMYND3Uv7CpiOfnRdUk6EFPTP9WP8DEViiSdbAnAzn_cOPhrA4HR8w4Nz4kXAaD3a2F0AVTxD4Ai4KIt)


# SIP Accounts

You can add a new SIP account, edit, delete an existing SIP account and manage SIP routing numbers.

Click below for the instructions.

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account>" %}


# Testing Center

We can reserve a did to test *(available for 6 hrs)*.

You can test the services provided by DIDforSale here by reserving a test DID. This test DID is valid for 6 hours without any charge. After 6 hours the DID will be released and if you would like to continue testing, you may reserve the DID again from the available test DID’s again.

You can select the test DID that is available and click on **“Reserve”** to reserve your Test DID. This DID will be shown under the Reserve DID number table, as shown below.

![](https://lh5.googleusercontent.com/HN5CuEKZEC6tqZhEUhlHUMXz18TR6UkegRg93aYEt5GWnLC-nNRS78_RJNUi786MWj0OuVUyKJTBIxld6PIG9TJ4L9tXmqxCMP4PyfhlWUoyrwGmsMXyOpTrMAR7CuPn6a9_FOrn)

Next step, you can configure the IP/SIP Account or configure SIP routing by clicking on the link on the right side.

1. The **“Configure the IP/SIP Account”** will take you to the *“Manage IP” tab*.
2. The **“Configure SIP routing “** will take you to *Products => DID Configs*.

![](https://lh4.googleusercontent.com/3I-LkBHmmny5da2lzZ9aFHDj-MLxhefOrlbu9-wEUTUTZ8-oxA2tw39eUYxWO7Kuqx_HEy9CHy_1ICL8pM8a6LIqtJ4ySSiaQ7pYWRNeSZVZs3P9Q67NNEaIwfkLDv5lEhrXbaT7)


# Phones and Devices

We can create a new device or enter the details like MAC address of existing device.

You can search your existing devices or filter your search based on the *Manufacturer, model, MAC Address, User extension, Username* and click **“Search”** or click **“Reset”** to reset filter options.

You can add a new device by clicking on **“Create New”**. This will take you to **“Add New Device”** where you can fill in the information like manufacturer, mode, MAC address of device, line, extensions, timezone, if device is purchased from DIDforSale or not and click on “Add”. Your new device will be successfully added.

You can add multiple devices by repeating the steps discussed above.

![](https://lh5.googleusercontent.com/oJeP-dqfbqPlUhPT6Jtk9iRJ6NdU299uXkWpX-RaodPtZKNXAZ0AsMdT-ftZaC6FGG2PsboDKLRAwujt045t9J9bJxXncRVIRoByHV0wCewxJgo3Y-ez7IL0wCh3FpwBp5Hg0B3K)


# Custom Dialplan

Building a Custom call flows will give your business the ability to route calls to the necessary line. You can modify your call flow using various options like *Play message, Call transfer, Group calls, Capture digits, SMS, Hang up*. It allows users to create flexible self-service phone menus.

1. Click on **“Add Call Flow”** to begin creating your own custom call flow.
2. Give that callflow a name, save it.
3. You can refer to the custom call flow documentation here [UC Editor](/uc-editor/uc-editor).

![](https://lh3.googleusercontent.com/JOnHiG363nIeSYhlEoIaqm3DPDbVTx6-TVu_lezPu7D7EQ_fAmovEgewmhPbWTD0ItTwHNR6BR0Dtgwf678A68_a614Hti0imVLIB_O2dH5UqSLZBVX95Wdsx7vrR3DoZtsBRJns)


# Audio Files

All the audio files that you upload can be seen here.

You can add new audio files by clicking on **“Add”**, this will take you to => **“Add Audio File”**. Here you can name the audio and choose a mp3 or wav file to upload.

Click on **“Save”** to save or **“Cancel”** to cancel the uploaded file.

![](https://lh6.googleusercontent.com/Y432SkHVpe5THd9-6bpjE5Y-blLXcyHEPYYjhw2DZ9yBP-BSjD4QIbhodk8FOHx1ZvD-f3jbrIhPIIrHHy7HAbpKM06fsnQjbUcW8d7c4u5yuHTCFtIgs0PHzWXpKRsgB2u9HBjT)

![](https://lh4.googleusercontent.com/3I-LkBHmmny5da2lzZ9aFHDj-MLxhefOrlbu9-wEUTUTZ8-oxA2tw39eUYxWO7Kuqx_HEy9CHy_1ICL8pM8a6LIqtJ4ySSiaQ7pYWRNeSZVZs3P9Q67NNEaIwfkLDv5lEhrXbaT7)


# Tools/Settings


# Outbound Rates

This tab shows all type outbound initial rates according to the destination and the dial prefix.

There are 3 different columns in which the information is divided:

* **Destination**
* **Dial Prefix**
* **Rate Initial**

You can change the destination by clicking on the arrow marks on its right.

You can filter the destination type by clicking on the desired starting alphabet from the alphabet list at the top.

![](https://lh5.googleusercontent.com/g6nC7OjPoCiqutG6Y7-Smd0Zht-EakNA2n3q_IDDMaLkLxTRQ_hT3hCmysuZcxfplufkGIu1pqQ4GeNv1N37EJ2E5XhCmvoh7YhFRbpQln8b3Yjh5BCtFXgkGKe91yLj5V2xM5Wi)


# API Control

API control helps you with the programming features that we offer. This tab consists of the information which helps you setup your API using your :

* **API Key**
* **File ID**
* **XML Password**

![](https://lh3.googleusercontent.com/vnI7dPaCyJLDR7GXnoP0WF9K7x_msGLghvK_TZV6By-I99vPc4ezRodY3xqPDyfE_CuyM9irToLg6pDR19ukX2ef6CfVd6v7HgNaQERq4c44z6pVPVf43eLZu4US0MyyShdQHdir)


# Fraud Control

The **Fraud Control** page provides security features that help protect your account from unauthorized usage, fraudulent calls, and unexpected charges. You can restrict outbound calling, set account-level rate limits, and block specific phone numbers or dialing patterns.

***

### Section 1: Call Restrictions

This section allows you to quickly enable or disable outbound call types for your account.

#### Disable International Termination

When enabled, your account will not be able to place outbound calls to international destinations (if previously enabled).

This option is recommended if your business only makes domestic calls and you want to prevent unauthorized international calling.

***

#### Disable Termination

When enabled, all outbound calling from your account is blocked.

This feature can be useful if:

* Your account is temporarily inactive.
* You suspect unauthorized usage (PBX/SPA compromized).
* You want to prevent all outbound traffic during maintenance or security incidents.

<figure><img src="/files/bE3GiJr1ZxUpx9lHfcht" alt=""><figcaption></figcaption></figure>

***

### Section 2: Account-Level Stop Rate

The **Account-Level Stop Rate** helps prevent expensive or fraudulent calls by limiting the maximum per-minute rate allowed for outbound calls.

Enter the maximum cost per minute that your account is allowed to dial.

* Calls to destinations with a rate higher than the configured value will be automatically rejected by the system.
* The minimum allowed stop rate is **0.001**.
* The maximum configurable stop rate is **0.50**.

If you require a higher stop rate, please contact your account representative for assistance.

#### Example

If you configure a stop rate of **0.05**, any destination costing more than **$0.05 per minute** will be blocked automatically.

<figure><img src="/files/UuUSDSkxdPVkYmeqYxUf" alt=""><figcaption></figcaption></figure>

***

### Section 3: Block Phone Numbers

The **Block Phone Numbers** feature allows you to prevent outbound calls to specific phone numbers or dialing prefixes.

You can block:

* A complete phone number
* A partial number (prefix/pattern)

#### Examples

| Block Value     | Result                                                                |
| --------------- | --------------------------------------------------------------------- |
| **19495551234** | Blocks calls only to this specific phone number.                      |
| **1949**        | Blocks all outbound calls to any number beginning with **1949**.      |
| **011**         | Blocks international dialing using the 011 prefix (where applicable). |

This feature is useful for:

* Blocking known fraudulent destinations.
* Preventing calls to premium-rate numbers.
* Restricting calls to specific countries or area codes.
* Enforcing company dialing policies.

<figure><img src="/files/S8Mt2bK3igLxOW4snaHK" alt=""><figcaption></figcaption></figure>

***

### Best Practices

* Configure an account-level stop rate appropriate for your calling requirements.
* Regularly review blocked numbers and dialing patterns.
* Monitor call activity and update fraud control settings as your business needs change.

Using these fraud control features can significantly reduce the risk of toll fraud and help protect your account from unexpected charges.


# Postcalls

This feature is used for campaign management. By using this, you can integrate you DIDs to a campaign and get real-time live call data with Google adwords campaigns.<br>


# Account

This section allows you to manage your account profile, password, balance, payments history, invoices, auto refill, and charges. Also you have the option to contact us if you have any queries. You can update time zones under global settings sub-menu.


# Profile

Here you can update the basic information like first name, last name, email, phone, address, fax, city, state zip code, country. This is mandatory.

![](https://lh3.googleusercontent.com/MhzfO0YUrPaM2ui7P69LdRaUtrkpw3lkTeAbO1FXj8WtCF7T99tMpGsWRXWcQI1VaSkqtDqJXpb01yxKT3oUFfvM0kM0JgpUJe2FUUw-xbcCjoiZka4YHkTJDiLh3ywdizXBwM98)


# Change Password

You can update the profile password here.&#x20;

* Enter the old password then write a new password in the next box.&#x20;
* Rewrite the new password to confirm it and save.&#x20;

Your password will be updated.

![](https://lh4.googleusercontent.com/zQ8o2HXo1UdQQki0BzTmPzHIP5rGg0bPN6MX9lhQVJ5vhPwOpooh-k4jXTWV0PUxRoilnKWw81hqxuNAt8pygsgesioLC62HJgaJ9OGHH-Daui_QTcwcvGGfHQkTfsG6KrvnLh4-)


# Add Balance

You can choose the payment option as paypal or credit card.

* **Pay with Paypal:** To pay with paypal, enter your amount or click on buy a fixed amount and click on pay.

![](https://lh3.googleusercontent.com/zBUvI1pBSUc1RSwDCu5jyJ7-Gqs_mCyBaX7oRar-HMwxoIkYXXV26kUfVW7jyTOaWb1UEqW_9Cu_zHMplcRXWEBfnRGNz5qd__-NJBUv1ygNpOPgUR0j7IWuP6Anz_oagd8FCHuU)

* **Pay with credit card:** To pay with credit card, enter your card details including the billing information.

{% hint style="info" %}
**Note:** If you’re using a **NON-US** **credit card**, send us an email at <contact-sales@didforsale.com> so that we can activate the payment from the same.
{% endhint %}

![](https://lh6.googleusercontent.com/rEsTaq5jcGlhVOJDrOFgt9D0fhl-Opb1TOsaha_R1HScOEzQmmN3OwC-q9LGibQ9yVmNhTLgOZAR-XItstF1n-87O-O8MM371SCq7gKFFQLZagNVTCItLBHYAgnO5zi9tx88SVbZ)


# Payment History

You can check the payment history here and change the timezone.

![](https://lh4.googleusercontent.com/Q-iNWqj1meVPVcflQcr3RHXg-xS7EDgdr4IVTXxWeYE6yWqjoPvyOCJ_KPAw7n97PMNDs4Loitoqh8MJDYN2abJhl7VqTz-nRpQRx0OMZGijZbRXbBNCuZQ13miGVEzVjJK4SwRY)


# Voucher

If you are given an voucher then you can apply the same from here. Also, you can find the information of previously used/applied vouchers here. The vouchers have a validity so they have a start date on which they were issued and an end date after which they are invalid. A list of used/applied vouchers are displayed.

![](https://lh5.googleusercontent.com/cq1gpDYtA6TK68ll4Hqq5OcxDBPNxTfxI1abJN5l210A9UAtewkTipDJMl9tXQLEQ5ZczVjphnen_6mfAg459ufoVS-cG5Nxf4EVjO3cVCJ8wSBEHmtcrDoXKN2h7skNMw-rs74S)


# Invoices

You can find your monthly invoices and charges detail file here.&#x20;

You can download the invoices or the charges detail file in their respective format.

![](https://lh3.googleusercontent.com/rwpb9s8jBhtfHR1MbfISaqfyslgc70bKttgj3JgmapjwQcSHvcO5j8b60xcfkNjFKaaLwwVbfX0JNvMJYQ84I-xoAxoC6N3hOSgDgNCsr9H4MEWjEjabjNcVDM9dPzZa2bcejgWl)


# Auto Refill

Here you can save your credit card in your account for future use and also to be charged by our system as your balance goes down the specified limit.

![](https://lh3.googleusercontent.com/nmQeIFgRlZaw883DTSXE9ugGtB__Lw_4IQz_54oBErkC1sJf9i-LtQlK39RxAI2nS3pi2W5aRu5Ym3xRX7m7gxwWHjEfguN1FD5NFT0tS-xwGy6a1xXkE7YFbUzAN-hjZ7YkDI9r)


# Charges

Here you can see all the applied charges in your account.

![](https://lh6.googleusercontent.com/7GqmsMHvl7WeacDDFwv2T5YWHhId4QkEjXLMN2EUzPvCZ_6nuwyABBy-zzN2lQxfmLPrLH6azYwWu6vINDGpU0TPHxLoBoeAzvalEuGl8Sg0jKG_8W2GEcp0DwGa387WQi4Xs4WY)


# Contact Us

If you face any problem or have questions for us, you can reach us here.

![](https://lh5.googleusercontent.com/z5SHE5tR7GVNNPdVd2D2pb0CXp0xwZdtmzR7UWfrTOXfUiqSg0WCzcuAvUKBRHMbQjZy1OIo3xMXQVtcVmW7xxI1h4f4BA5XfTtyWlnmIoJrVotJCQD6Cda3RVtZBZfvnwZ372Ay)


# Global Settings

You can change the time zone format as per your requirement.

![](https://lh4.googleusercontent.com/HXlHdScY9p1GtzGTaPp6q9XNGOKIgOYZkFSYDG6aO1OZUXdWWLr5Qd2eA9WACIFqw9HTZe53gXuZRgh1mrcYfXM8grmyQP4WZ89njKtyg3yopoNvmsSLhsGgZ9r0R8N68O73mfpM)


# Logout

You can logout from your account by clicking on this.


# Configuration of Phone Numbers


# Configuring SIP to IP Account

Login in your Account Portal, Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding.

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

![](/files/-LY8MStjJPHlH1ZcE-nF)

Select **SIP -> IP** and select your IP address from the list.

Click on **Save**.&#x20;

![](/files/-LY8KwYcZu_BwWPidehR)

This is how the Phone Number will appear after applying the configuration. Check the image below.

![](/files/-LY8OfjdJBwIJcXbrS8J)

There are lot or advanced options, Click on the "?" to see the description for each option.


# Configuring Custom Dial Plan to a Phone Number

Login in your Account Portal, Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding..&#x20;

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

![](/files/-LY8MStjJPHlH1ZcE-nF)

Select **Custom Dial Plan** and select the Call Flow that you have previously created an would like to apply from the list.

Click on **Save**.&#x20;

![](/files/-LY8RH50oIKudAPfqxWy)

There are lot or advanced options, Click on the "?" to see the description for each option.


# Configure SIP to SIP Account

Login in your Account Portal, Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding.

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

![](/files/-LY8MStjJPHlH1ZcE-nF)

Select **SIP -> SIP** **Account** and select your SIP Account from the list.

Click on **Save**.&#x20;

![](/files/-LY8PA_uwC4Pf4rAfeuk)

This is how the Phone Number will appear after applying the configuration. Check the image below.

![](/files/-LY8QD-jT67Qg4oiS3X4)

There are lot or advanced options, Click on the "?" to see the description for each option.


# Set up Call Forwarding to a Phone Number

Login in your Account Portal, Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding..&#x20;

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

![](/files/-LY8MStjJPHlH1ZcE-nF)

Select **Forward to Phone Number** and enter the 11 digit valid Phone number to which the calls should be forwarded.

Click on **Save**.&#x20;

![](/files/-LY8Hl-b44equFrb44z4)

*<mark style="color:red;">Set Phone Number Caller ID to Yes if you want the original caller's number to appear on the forwarding number.</mark>*

This is how the configuration will look after applying the Call Forwarding.

![](/files/-LY8NFpf8Sg-Qw4zmWjQ)

There are lot or advanced options, Click on the "?" to see the description for each option.


# http URL Forwarding Setup

Login in your Account Portal. Click on **Phone Numbers**. Select the number you want to configure to set up call forwarding.

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number and select **"Edit Configuration"** to go to configuration screen.&#x20;

Click on **HTTP.**

![Call Forwarding to Webhook](/files/-LYmi-JpTyeTx1NGqZSH)

Type the the URL for you web application and click on **Save**.&#x20;

You will see the number configured to **http URL**. This is a real time change, now all the calls will be forwarded to the URL for getting the instructions. [Visit this page to Build the Voice Application](/voice-and-sms-apis/voice-and-sms).&#x20;

![Phone Number Configured for Webhook. ](/files/-LYmipbXx-H9TjYEAsWW)

### Troubleshooting Phone Call and HTTP URL responses&#x20;

You can see the request sent to your web application and the response we received in the reporting.&#x20;

Click on Reporting -> CDR, find the call that you want to troubleshoot.&#x20;

![](/files/-LYmjbU1Sjkg3Unzg2Tr)

There are two legs. Click on the date of the first leg which shows the number dialed.&#x20;

| +12072487601 | 17173593982 |   |
| ------------ | ----------- | - |

Here you can see, we called webhook, <http://www.didforsale.com/apidemo/demo.xml.&#x20>;

![Call Response for Webhook Call](/files/-LYmkswh-PX3p4ZmmN9l)

This call played the simple instruction and forward the call to another number.&#x20;


# Webhook Setup

## Creating a Webhook

Login to your dashboard and go to section **Interconnection > Webhooks.**

![](/files/-LmfpP7zNZ_b6YbNAtlU)

Hit '**Create'** to create a new webhook. You will see a pop-up to fill in basic details about your webhook like name, callback method, callback event & url. After filling these details you can click **'Save'** to save the changes.

![](/files/-LmfqpA7MCHiF2_iPkIR)

Now go to **Phone Numbers** and select the number/numbers you want to configure to set up webhook for from the list of phone numbers

![](/files/-LmfvBuLtRbm8KQQdSh2)

Check on  **"Edit Configuration"** to go to configuration screen.

Select your configuration type SIP, HTTP, Forward to Phone or Custom Dial Plan and then select option webhook on right hand side section as shown in below image.

![Selecting the webhook for the configuration](/files/-LmfsgnjRaA02WtC0Imn)

Click '**Save**' to apply changes.

Your number is now configured with Webhook.&#x20;

### Troubleshooting Phone Call and webhook responses&#x20;

You can see the request sent to your web application and the response we received in the reporting.&#x20;

Click on Reporting -> CDR, find the call that you want to troubleshoot.&#x20;

![](/files/-LmfvcQB0J5X2phX_XEA)

There are two legs. Click on the date of the first leg which shows the number dialed.&#x20;

| +12072487601 | 17173593982 |   |
| ------------ | ----------- | - |

Here you can see, we called webhook, <http://www.didforsale.com/apidemo/demo.xml.&#x20>;

![](/files/-LmfvjMHl2L-ouZWNaWl)

This call played the simple instruction and forward the call to another number.&#x20;


# FAX

No FAX machine? No worries, Send and receive FAX through EMail!

DIDforSale’s Online fax is designed for its clients to conveniently send and receive fax online. With just a few simple clicks you can now send and receive faxes from anywhere without having access to physical fax machine. No technical skills required, No training required its as simple as sending an email with attachment!

### **What are Benefits of Online Fax?**

![](https://www.didforsale.com/wp-content/uploads/2018/04/Benefits-of-online-fax.png)

## **Can my employees use online fax?**

**YES,** your employees can use Online fax service. And to be able to do so they don’t need to have an account with DIDforSale. Instead you will need to authorize their email account and assign a fax/phone number that they can use to send & receive fax.&#x20;


# Receive FAX

Start by creating an account on [DIDforSale](https://portal.didforsale.com/). If you already have an account then follow the steps here:

**Receive FAX:**

* In your portal go to **Phone Numbers ⇒ Phone Numbers.**
* Click on **Fax DID**.
* On DID Configuration page, select SIP **⇒** e-Fax **⇒** Select either SIPs or eFax.
* Enter your email and click **Save** to apply changes.

<figure><img src="/files/p5vS6Nf64JPpK8Biv3gP" alt=""><figcaption></figcaption></figure>


# Fax through SIP Account

To send Fax via SIP Account, follow the steps below:

* Go to *Phone Number* -> Select the Phone number -> Click on *Edit Configuration*.
* In the Configuration page, Select SIP -> SIP Account.
* Next, Select the SIP Account and choose the Configuration Type as *"Fax"*.
* Click on *"Save"*.

<figure><img src="/files/f1PRRmmAC3AifKy9yh8u" alt=""><figcaption></figcaption></figure>


# Send FAX

**How do I get started?**

* Start off by creating an account on [DIDforSale](https://portal.didforsale.com/)
* In you already have an account then follow steps here:
  * **SEND FAX**

    * Login to your **DIDforSale** account.
    * Go to **Product ⇒ Fax Emails**
    * Click on **Add New Fax Email**.
    * Go to **Create New Fax Email** page enter the email address *(this will be activated for sending the fax)* and enter the Phone Number *(to be used as Fax number)*.
    * Click **Add** to save the changes.
    * Go to the email account dashboard and compose a new email. Format is:\
      *Format: <fromfaxnumber-tonumber@fax.didforsale.com>*\
      in the format,

    *"fromfaxnumber"* is the phone number from which fax is going out, and\
    *"tonumber"* is the fax number where the fax will be sent.\
    Here is an example file: <19494710101-19492690449@fax.didforsale.com>

    * You can attach .pdf or .doc files to your fax


# Adding IP Address

Setup IP based authentication with DIDForSale SIP Trunk Gateways

### Add your Phone System IP address to your account.&#x20;

#### Log in to your account portal at [portal.didforsale.com](https://portal.didforsale.com)

#### Click on Interconnection -> Manage IP -> Add IP ADDRESS -> APPLY

![ADD SIP TRUNK IP ADRESS TO YOUR ACCOUNT PORTAL](/files/-LW80sydUJ0slHW5nmk1)

Fill in the information about your IP. It can IP address, or an FQDN name like office.didforsale.com. If you also want to send/terminate calls from this IP, check Enable Termination.&#x20;

<figure><img src="/files/nEnBUoRgbZVALt1CJiXw" alt=""><figcaption></figcaption></figure>

Once you click on Save, you will see the IP in the list.&#x20;

![List of Allowed IP Addresses for the SIP Gateways](/files/-LW81pIbrgdLZlwPHHxW)

Later, this IP will be used to Configure Local and toll-free numbers to send/receive calls.&#x20;

#### NOTE: To maintain SIP Trunk Security, one IP can be used only in one account.&#x20;

If you need to use the same IP in multiple accounts, please use [SIP Accounts](/didforsale-portal/interconection/sip-accounts), or contact our [Support Team](https://www.didforsale.com/contact/support)

### DIDForSale Gateway IPs to send and receive calls.&#x20;

To maintain the load balance and high uptime, DIDForSale can send calls from multiple IPs. Please configure your Firewall and IP Tables accordingly. Here is a list of our IP addresses for sending and receiving calls.&#x20;

|     66.209.76.70     | Incoming |
| :------------------: | :------: |
|     66.209.76.72     | Incoming |
|     66.209.76.71     | Incoming |
|     66.209.76.73     | Incoming |
| term1.didforsale.com | Outgoing |
| term2.didforsale.com | Outgoing |
|  **Additional IPs**  |          |
|     66.209.76.101    | Incoming |
|     66.209.76.102    | Incoming |
|     66.209.76.103    | Incoming |
|     66.209.76.104    | Incoming |

## &#x20;SIP Trunking Troubleshooting

### Half of my Inbound SIP Calls are failing&#x20;

Make sure you are accepting calls from all the IPs listed above. The most common reason for a failed inbound call is that your system is rejecting calls from a few IPs.

### We can not make outbound SIP calls.&#x20;

This can be because of some missing configuration or wrong format in SIP Signalling:&#x20;

* Make sure the IP you are sending calls from is added to your account.&#x20;
* While adding the IP address, make sure Termination is Enabled. Based on those settings, we decide whether calls will be terminated or not.&#x20;
* For the USA and Canada call must come with a "1" Prefix + 10 Digit phone number. Example 19499300360
* For International, it should be 011+Country Code+Phone number.

### International Calls are Failing

For Security and Protection, by default, international calls are disabled. [Contact your Account Rep](https://www.didforsale.com/contact) to allow international termination. &#x20;

### I can make only 1 Outbound Call

There are certain limits on a new account. We would like to know our customers, how they would be using the platform and for what use cases.\
This allows us to understand your needs and helps us keep our environment safe.  [Please contact our sales team to remove the limits.](https://www.didforsale.com/contact) <br>

<br>


# Creating SIP Account

SIP Account based Interconnection to handle PBX behind Firewall or Special SIP Configurations

## Why do you need a SIP Account?

There are situations where IP-based configuration does not work. For Example, your SIP VoIP PBX is behind the firewall and you don't have permission/expertise to manage the firewall or there are some devices that require (should I say work better or easy to configure) SIP registrations with our gateways.&#x20;

DIDForSale allows you to create free SIP Credentials that can be used to configure your PBX/Phone System with our gateways.&#x20;

### Create a Free SIP Account.&#x20;

#### Login to your account portal at [portal.didforsale.com](https://portal.didforsale.com/)​

#### Click on Interconnection -> Manage IP -> SIP Accounts -> Add New SIP Account <a href="#click-on-interconnection-greater-than-manage-ip-greater-than-add-ip-address-greater-than-apply" id="click-on-interconnection-greater-than-manage-ip-greater-than-add-ip-address-greater-than-apply"></a>

![Create Free SIP Account for Phone System](/files/-LW8GxSNI2xrDyIEuGA4)

The SIP account has been created, however, you need to activate the SIP account by clicking on the activation link sent to your email address.&#x20;

<figure><img src="/files/OyPw0S1MDW6FdaGq7q9c" alt=""><figcaption><p>Sample SIP Account Activation Email</p></figcaption></figure>

![SIP Account before activation](/files/-LW8IVuEi486rmgAGyYX)

![SIP Account Activated Ready to used](/files/-LW8IurN7zaL344t7at2)

Once the SIP Account has been activated, you can use the Domain Name, SIP Username and SIP password to configure your device. DIDForSale all kinds of SIP Devices and have been tested with the most popular ones, like Cisco, Grandstream, Asterisk, FreePBX, Yealink, and Polycom. You can also use Softphones like Grandstream Wave, Xlite, Linphone, and Zoiper.&#x20;

Once you successfully register your SIP Device with the provided credentials, you will see the green dot in front of the successfully registered SIP account.&#x20;

![Green Light in Front of Successful SIP Account. ](/files/-LW8NvviaUKvAlcnBtFH)

<br>


# VoiceMails

DIDForSale offer Free Voicemail Service for SIP Accounts configured directly with endpoints.

You can receive voicemails and forward them to any email address on a phone number purchased from DIDForSale. Free SIP accounts allow you to manage your own greetings.

## Requirements to receive/Manage Voicemails

* Have a phone number in the account.&#x20;
* Create at-least one SIP account.&#x20;
* Configure the phone number to the SIP as type Client.&#x20;
  * PS: It must be configured as Client, if you use SIP account as SIP trunk with your PBX, our system will not accept voicemails.&#x20;
* All the voicemails will be forwarded to the email with the audio file attached.&#x20;

### Managing Voicemail Settings and custom greetings&#x20;

* Register the SIP account with any endpoint. It can be [Softphone](/sip-trunking/desktop-dialer), [Mobile App](/sip-trunking/grandstream-wave-application-configuration), or any end device like [Grand Stream phone](broken://pages/-LWXnB2hOlGPGga8t7e7) or [Polycom Phone ](/sip-trunking/sip-trunking/polycom-obi300)
* Once Registered you can manage your Voicemails from the the phone.&#x20;
* **Setting up Menu**

  1\. **Dial** \***98** from any SIP account followed by your SIP account when prompted or just dial your SIP account from your phone

  2\. Enter voicemail password Default password is "0000"&#x20;

  3\. **Press** **5** to access Advanced Options

  * **Press 1** to Record Greeting (Option to record and save 9 different greetings)
  * **Press 2** Choose Greeting to be Played (1-9)
  * **Press 3** Record First and Last name
  * **Press 6** Change Password
  * **Press 0** Main Menu
* **Accessing Voicemail (Only if they are stored on the system)**

  There are 2 ways in which you can access your voicemail.

  * **Method 1:  Dial \*98** from any SIP account and dial your SIP account and voicemail password.
  * **Method 2:** Call your phone number configure to the SIP account from any phone. When voicemail picks up, press (\*). The system will ask for your extension number and then voicemail password.
* **Navigate Voicemail**

  A number of option keys are available to navigate through voicemail menu.

  **Press 1**– Listen to New Voicemail Messages

  **Press 2**– Listen to Saved Messages

  **Press 3**– Record Call

  **Press 5-** Advanced options

  * **Press 1** to Record Greeting (Option to record and save 9 different greetings such as unavailable, holiday)
  * **Press 2** Choose Greeting to be Played (1-9)
  * **Press 3** Record First and Last name
  * **Press 6** Change Password
  * **Press 0** Main Menu

  **Press 7**-Delete the current message

<br>


# SIP Trunk Interconnection Guide

DIDForSale SIP Trunks are compatible with most SIP based PBX, Business Phone Systems and Devices.

## Here is the list of the most popular SIP PBX systems that have been tested and work very well with our SIP Trunk Gateway.&#x20;

#### PS: The list of Phone System PBX is in alphabetical order. &#x20;

| 3cx                          | [*3CX  configuration guide with DIDforSale SIP Trunk.*](https://docs.didforsale.com/sip-trunking/sip-trunking/3cx-configuration-guide)                                            |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Allworx                      | [Allworx configuration guide with DIDForSale ](https://docs.didforsale.com/sip-trunking/sip-trunking/allworx)                                                                     |
| Asterisk                     | [Asterisk SIP Trunk Configuration with DIDForSale](https://docs.didforsale.com/sip-trunking/sip-trunking/asterisk)                                                                |
| Cisco UCM                    | [DIDForSale is Certified SIP Trunk provider for Cisco UCM](http://www.didforsale.com/wp-content/uploads/2023/12/didforsale-configuration-guide-cucm-sip.pdf)                      |
| FreePBX                      | [FreePBX SIP Trunk Configuration](https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration)                                                              |
| Freeswitch                   | [DIDForSale SIP Trunking configuration with Freeswitch ](http://www.didforsale.com/wp-content/uploads/2023/12/Freeswitch_Interconnection_Guide.pdf)                               |
| FusionPBX                    | [FusionPBX Configuration with DIDForSale](https://docs.didforsale.com/sip-trunking/sip-trunking/fusionpbx)                                                                        |
| Go Autodial                  | [Go Autodial SIP Trunk Configuration with DIDForSale](http://www.didforsale.com/wp-content/uploads/2023/12/GoautoDial_Interconnection_Guide.pdf)                                  |
| Grandstream Devices \| UCMs  | [DIDForSale SIP Trunk works with all GrandStream Devices. ](https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices)                                            |
| Grandstream Cloud UCM PBX    | [Grandstream Cloud PBX](/sip-trunking/sip-trunking/grandstream-cloud-pbx)                                                                                                         |
| Hodusoft PBX System          | [HoduSoft PBX configuration with DIDForSale](#https-docs.didforsale.com-sip-trunking-sip-trunking-hodusoft-pbx-systemhere-is-list-of-most-popular)                                |
| Microsoft Skype for Business | [DIDForSale is a Certified SIP Trunk provider for Skype for Business](http://www.didforsale.com/wp-content/uploads/2023/12/Skype-for-Business-Server-SIP-Trunk-Configuration.pdf) |
| NEC Corporation              | [NEC Corporation configuration with DIDForSale](http://www.didforsale.com/wp-content/uploads/2023/12/NEC-SIP-Trunk-ProgrammingGuide-DIDforSale.pdf)                               |
| PBXinaFlash                  | [PBXinaFlas configuration with DIDForSale](https://docs.didforsale.com/sip-trunking/sip-trunking/pbxinaflash)                                                                     |
| Polycom OBI300               | [Polycom configuration with DIDForSale](https://docs.didforsale.com/sip-trunking/sip-trunking/polycom-obi300)                                                                     |
| Shoretel                     | [DIDForSale is a Certified SIP Trunk Provider for the Shoretel System](http://www.didforsale.com/wp-content/uploads/2023/12/DIDforSale_SipTrunk_Connection_with_Shoretel.pdf)     |
| Vital PBX                    | [Vital PBX Configuration with DIDForSale](/sip-trunking/sip-trunking/vital-pbx)                                                                                                   |
| Yealink Phones               | [Yealink Phone configuration with DIDForSale](https://docs.didforsale.com/sip-trunking/sip-trunking/configure-yealink-phones)                                                     |
| Zycoo                        | [Configure Zycoo SIP Trunk with DIDForSale](http://www.didforsale.com/wp-content/uploads/2023/12/Zycoo_Interconnection_Guide.pdf)                                                 |

### Something you should know about SIP Trunk Pricing

Unlike many platform providers, DIDForSale does not charge for calls sent to SIP Trunks and is one of the very few providers who offer unlimited minutes of SIP Trunks. If you have not done so, check out [SIP Trunk Pricing](https://www.didforsale.com/sip-trunking-pricing)


# 3CX

3CX is a software-based IP PBX that allows you to enjoy Windows on premise-based IP PBX Services without having to buy an expensive, proprietary PBX appliance.

Please choose one of the options below based on your setup requirements.

{% content-ref url="/pages/-LWN6ZDffEj8LIBaoC\_n" %}
[SIP-based Configuration](/sip-trunking/sip-trunking/3cx-configuration-guide/sip-based)
{% endcontent-ref %}

{% content-ref url="/pages/-LWN6Tz38TQQ6B7kRQ\_S" %}
[IP-based Configuration](/sip-trunking/sip-trunking/3cx-configuration-guide/ip-based)
{% endcontent-ref %}


# SIP-based Configuration

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

First, begin with adding a SIP account by logging in to your DIDforSale Customer Portal.&#x20;

Follow this link for how to add a SIP account :

{% content-ref url="/pages/-LVecu-zhg2FLBWwZe61" %}
[Creating SIP Account](/sip-trunking/sip-account)
{% endcontent-ref %}

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

**Step 1**: 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**.<br>

![](/files/-LWT7Qav4NnNkAB-1U1i)

![](/files/-LWT7SxiYemCdjJTorCD)

**Step 2**: Enter **name for Trunk** as Generic SIP, **Registrar/Server/Gateway Hostname** as sip.la2.didforsale.com\*, **Outbound Proxy** as sip.la2.didforsale.com\*, **Number of SIM Calls** as 10, **SIP server port** 5060.

![](/files/-LWT7VZSZ8zg-LUWfp2u)

**Step 3**:For Authentication, enter **Type of Authentication\*** as register/Account based, **Authentication ID(aka SIP User ID)\***, and **Authentication Password\***. Route calls to the main trunk number.

{% hint style="info" %}
\*You will be receiving SIP Account credentials via email once you register SIP account with us.
{% endhint %}

![](/files/-LWT7_Ik-rbqo1W6rkAS)

**Step 4**: Fill in the rest of the details as shown in the image below. You can route calls to extension, IVR, Fax Extension, or any external number.

Scroll up the same window and click **OK**.

![](/files/-LWT7bB1tl8IusHAXXDl)

**Routing** **Inbound** **routes**

**Step 6:** To create a inbound routes, click on Add DID Rule. Under **General**, enter **Name** as inbound rule name and **DID/DDI** as your DID number as shown below.

**Under Route calls to,**  set **Destination for calls during and after office hours.**

Click on **OK.**

![](/files/-LWwMarCwxqYZXNl4Kyi)

![](/files/-LWwMhkeyvpFI7EDWHos)

![](/files/-LWwMyGwgH9raO1dXcX8)

**Routing Outbound routes**

**Step 7:** To create an outbound route, click on **+Add**. Under **General**, enter **Rule** **Name** as dfs\_out and under **Apply this rule to these calls** you can route calls to extension or a number.

![](/files/-LWwN4Nsv2kFKTqzZ6s9)

![](/files/-LWwN6XpBZXBv5SG8F4O)

Configure upto 5 backup routes for outgoing calls under "**Make outbound call on"** and click on **OK** once done.

![](/files/-LWwN8PWEieoza3ejkiH)

![](/files/-LWwNApg9qPOJy0rmtxR)


# 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.&#x20;

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

{% content-ref url="/pages/-LVecbBQ7vvnQ1PnAeOD" %}
[Adding IP Address](/sip-trunking/ip-configuration)
{% endcontent-ref %}

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.

![Add new Trunk](/files/-LWNuXJ6AflMQ1VYwyz3)

![Sip Trunk ](/files/-LWNu_haLyS5axycDE6V)

**Step 2**: In the next window, **add Registrar/Server/Gateway Hostname** or IP as  **66.209.76.70** **and 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 **Type** **of** **Authentication,** as shown in the image given below:

<figure><img src="/files/rOqno1zWCUNl317f3rRY" alt=""><figcaption></figcaption></figure>

**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](/files/-LWNuoOYnLRo2kPnNrF9)

**Step 4**: Once the above step is done, scroll to the top of the screen and click OK.&#x20;

![Save the changes, click on OK](/files/-LWNvDTFCcU9L6VQu-bu)

**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 T**ype** **of** **Authentication** as "Do not require-IP based" as shown in the image below:

<figure><img src="/files/dZlxufAcgjRRMruUTZuT" alt=""><figcaption></figcaption></figure>

**Step 6**: Select the desired destination.

![SIP Trunk2](/files/-LWNvKAjZb1nkZnPlD9J)

**Step** **7**: Scroll up and click on OK.

![Save the changes](/files/-LWNvDTFCcU9L6VQu-bu)

**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](/files/-LWNxITB_MnfCqG2GJoL)

**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](/files/-LWNxOMowFuHfdITtu39)

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

![Use Two SIP trunks created to make outbound calls](/files/-LWNxUB29XSxEloonEbX)

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

![Save the changes](/files/-LWNxWhRbYs002PxCRdj)

**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](/files/-LWNxboTeFGBzlczGkJ3)

**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](/files/-LWNxdXhVk988cnvifo1)

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

![Save the changes](/files/-LWNxfas5uJPrF_BN_3y)

For a detailed description of how to add this IP to your DIDforSale account, take a look at this documentation [here](/sip-trunking/ip-configuration).

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


# Allworx

Allworx is VoIP communication platform that helps SMBs create a customized business phone system. It offers business phone systems, IP phones, network switches, and advanced software

Below, you will find a general guide on how to integrate a PBX/Phone system with our service. If you encounter any challenges or need further assistance, please reach out to our dedicated support team at **<contact-support@didforsale.com>** or **1-800-579-7676**.

## General Integration Steps

**Access Your PBX/Phone System Settings:** \
Log into your PBX/Phone system admin portal. Navigate to the settings or configuration section.

**Locate SIP/VoIP Settings:** \
Look for SIP or VoIP settings within your PBX/Phone system interface. Find options related to trunking, SIP configuration, or VoIP integration.

**Create SIP or Add your PBX IP:**&#x20;

* **Adding IP Address**: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>
* **Creating SIP Account**: <https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account>

**Configure SIP/VoIP Settings:** \
Input the SIP credentials provided by DIDForSale. These typically include SIP server address, username, password, and authentication details. Ensure that codecs (g711, ulaw & alaw) and other audio settings align with our recommended configurations.

**Network Configuration:** \
Check firewall and network settings to ensure traffic from our service is allowed. Whitelist our server IP addresses if your system has security features. Get a list of our IPs here: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>

**Configuration of DID number:** \
Follow the link for instructions: <https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers>

**Testing and Verification:** \
Make test calls to confirm the integration. Test both incoming and outgoing calls for quality and reliability. Test additional features like voicemail, call forwarding and conference calls. Contacting Support:

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at  **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.


# Asterisk

Asterisk is a free and open source platform sponsored by Digium. The open source Asterisk platform is used by businesses of all sizes in both public and private sector to build communication applicati

## Asterisk Interconnection Guide

To create an interconnection between your asterisk server and DIDForSale servers, you need to create 4 trunks in your sip.conf file. Two trunks for incoming calls and two for outgoing calls. For creating the trunks, open /etc/asterisk/sip.conf file in your favourite editor and add the following trunk details into it.&#x20;

**`[didforsale_in1]`** \
`host=66.209.76.70` \
`type=peer` \
`context=from-­‐didforsale` \
`disallow=all` \
`allow=ulaw` \
`nat=yes` \
`canreinvite=yes` \
`insecure=very` \
`dtmfmode=rfc2833` \
`qualify=yes`&#x20;

**`[didforsale_in2]`** \
`host=66.209.76.72`\
`type=peer` \
`context=from-­‐didforsale` \
`disallow=all` \
`allow=ulaw` \
`nat=yes` \
`canreinvite=yes` \
`insecure=very` \
`dtmfmode=rfc2833` \
`qualify=yes`&#x20;

**`[didforsale_out1]`** \
`host=term1.didforsale.com`\
`type=peer` \
`context=from-­‐didforsale` \
`disallow=all` \
`allow=ulaw` \
`nat=yes` \
`canreinvite=yes` \
`insecure=very` \
`dtmfmode=rfc2833` \
`qualify=yes`&#x20;

**`[didforsale_out2]`** \
`host=term2.didforsale.com`\
`type=peer` \
`context=from-­‐didforsale` \
`disallow=all` \
`allow=ulaw` \
`nat=yes` \
`canreinvite=yes` \
`insecure=very` \
`dtmfmode=rfc2833` \
`qualify=yes`&#x20;

Now you have to create a dial plan entry to catch all incoming calls coming from DIDForSale. To do that, open /etc/asterisk/extensions.conf and add the below entries&#x20;

**`[from-­‐didforsale]`** \
`exten => _X.,1,Noop(Incoming calls from DIDForSale)` \
`same => n,Dial(SIP/1000)` \
`same => n,Hangup`&#x20;

The above dial plan entry catches all calls coming from DIDForSale and sends them to extension 1000 in your system. You can change that to forward calls to any other extension or IVR on your system.&#x20;

For making outgoing calls from your system through DIDForSale, create the below dial plan entry&#x20;

**`[outbound]`** \
`exten => _X.,1,Dial(SIP/didforsale_out1/${EXTEN})` \
`same => n,Dial(SIP/didforsale_out2/${EXTEN})` \
`same => n,Hangup`&#x20;

Change the context name ***“outbound”*** in the above entry to the context name of your extensions.

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at  **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.


# CISCO UCM

Cisco IP Phones, UCM & SPA change the communications experience, adding new collaboration modes to VoIP, such as HD voice, video, conferencing, and wireless.

## [Cisco UCM Interconnection Guide](http://www.didforsale.com/wp-content/uploads/2023/12/didforsale-configuration-guide-cucm-sip.pdf)

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.


# FreePBX

FreePBX is a free and open source platform built on top of Asterisk sponsored by Digium. It is the registered trademark of Sangoma Technologies and is used by to build communication applications

## FreePBX SIP trunks can be configured as ChanSIP or PJSIP. We have an interconnection guide for both of them, please select a guide as per your requirement.&#x20;

&#x20;

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-chansip-configuration>" %}


# FreePBX PJSIP Configuration

Configure FreePBX Sip Trunking with PJSIP IP based Configuration

You have the option to configure it using IP-based or SIP-based SIP trunking. Please select one of the options below to access the interconnection guide based on your preference.

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration/ip-based>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-pjsip-configuration/sip-based>" %}


# IP-based

Configure FreePBX PJSIP Trunking with IP based interconnection with DIDForSale. This configuration has been tested on FreePBX Version 14.0.5.2 'VoIP Server'

**CREATE** **TRUNKS** **FOR** **INBOUND**

**Step** **1**: Login to your freepbx admin interface, go to Connectivity>Trunks and select the option Add SIP (chan\_pjsip) Trunk&#x20;

![](/files/-LWI3ZiuaOvtlUQASNrs)

**Step** **2**: Give a name for the trunk as didforsale\_1 and add the trunk Parameter as shown in below img.

![](/files/-LWI6OAbIFgeDhDoscVh)

**STEP 3**:Click on the PJSIP settings and enter the IP 66.209.76.70 in front of SIP SERVER and SIP Server Port as 5060, then click on submit as shown in the figure below:

<figure><img src="/files/MRgJQo90BOPwI5tUCLKQ" alt=""><figcaption></figcaption></figure>

**Step 4**: Create a second trunk for inbound with trunk name as didforsale\_2 and add the trunk Parameters as shown

![](/files/-LWI6XZY-BBHItKBZd0r)

**STEP 5**: Click on the PJSIP settings and enter the second IP **66.209.76.72** in front of SIP SERVER, and then click on submit as shown below:

<figure><img src="/files/DG5g7FS3icihZjyT79o0" alt=""><figcaption></figcaption></figure>

#### Routing Inbound Routes

**Step** **6**: For routing your inbound calls coming to your DID number, click on inbound routes and configure the DID with prefix 1. Toll-free numbers need to be configured without 1. Say your DID is 6014932412, then you will configure the DID with 16014932412 in the inbound routes.

Here is the image for inbound setups

![](/files/-LWHZz6mcNdyjd2S9EAg)


# SIP-based

Configure FreePBX PJSIP Trunking with SIP based interconnection with DIDForSale. This configuration has been tested on FreePBX Version 14.0.5.2 'VoIP Server'

**STEP** **1**: Login to your freepbx admin interface. Go to connectivity>Trunks> click on +Add Trunk option. Under that select ADD SIP(chan\_pjsip) Trunk.

![](/files/-LWI3ZiuaOvtlUQASNrs)

**STEP** **2**: A new window will appear. Enter the Trunk Name as the Username given in the SIP account. Here, in the example we have call this trunk as “1002014358”. Refer the image below:

![](/files/-LWISin5f-j1Q7inCxzf)

**STEP** **3**: In the same window click on “pjsip Settings” tab and enter the parameters under the "General" as shown in example given below:

Username: 1002014358\*\
&#x20;Secret: 1(IPncKnZKC$9iX\*\
&#x20;Sip Server: sip.la5.didforsale.com\*

\* Note – Please use the username, password and domain received via email after creating SIP account.

![](/files/-LWISoNF_7OP7ny9GPkI)

**Step 4**:Go to "Advanced" and enter the "From Domain". Here in the example we use sip.la2.didforsale.com\*

![](/files/-LWIVg1_IUbALKt6fKkb)

**Step 5**: Now go to Codecs section and check if the codecs are selected as shown in the figure below:

![](/files/-LWIVjGlWcIC1iAQgWwI)

#### Routing Inbound Routes

**Step 6:**&#x46;or routing your inbound calls coming on your DID number, click on inbound routes and configure the DID with prefix 1. Toll free numbers needs to be configured without 1. Say your DID is 949 885 9944 then you will configure the DID with 19498859944 in the inbound routes.. Here is the image for inbound setups:

![](/files/-LWHZz6mcNdyjd2S9EAg)

**Routing** **Outbound** **Routes**

**STEP 7**: For routing your outbound calls. Go to connectivity> Outbound Routes. Click on Add Outbound Route button (as shown below).

![](/files/-LWHfRZPrxcLDhGkYckW)

**STEP 8**:You should be viewing the Route Setting tab. Under that, give the Route Name. Here, in the example we have call this route as “Outbound”. Enter the Route CID as shown in image below:

![](/files/-LWIXVA7Z2DNP38922wc)

**STEP 9**: Click the Dial Patterns tab. Click Dial patterns wizards. In prefix enter “1” and for match pattern enter “NXXNXXXXXX”. For better understanding refer the following image:

![](/files/-LWIXXu2dQDZT4lbbkkg)

Click on Submit button. Also press “APPLY CONFIG” button (on the top right corner).


# FreePBX ChanSIP Configuration

You have the option to configure it using IP-based or SIP-based SIP trunking. Please select one of the options below to access the interconnection guide based on your preference.

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-chansip-configuration/freepbx-chansip-ip-based-registration>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/freepbx-trunk-configuration/freepbx-chansip-configuration/chansip-sip-trunk-registration>" %}


# IP based

Configure FreePBX ChanSIP SIP Trunking with IP based interconnection with DIDForSale. This configuration has been tested on FreePBX Version 14.0.5.2 'VoIP Server'

### 1. IP-based chan\_sip configuration

**Step 1**: Log in to your FreePBX admin interface. Go to connectivity>Trunks> click on the +Add Trunk option. Under that, select ADD SIP(chan\_sip) Trunk. A new window will appear. Enter the Trunk Name as “didforsale\_1” and add the trunk Parameter as shown in the image below:

![FreePBX SIP Trunk Configuration](/files/-LWDSr-T3P3cbWRDkOOg)

In the same window, click on Sip Settings. Under the Outgoing tab, enter the Trunk Name as “didforsale\_1”.&#x20;

```
type=peer 
context=from-trunk
 disallow=all
 host=66.209.76.70
 allow=ulaw
 nat=yes
 canreinvite=no
 insecure=very
 dtmfmode=rfc2833
 qualify=yes
```

Once all the details are copied, click on Submit. &#x20;

<figure><img src="/files/MKsVdk2pyVtnusQXGRC9" alt=""><figcaption></figcaption></figure>

**Step 2:** Create a second trunk for inbound with Trunk Name as “didforsale\_2” and add the trunk Parameters as shown in the image below:

![](/files/-LWD_eH1L_d9NM7W9i7c)

In PEER details, copy the following details:

```
type=peer
nat=yes
insecure=very
host=66.209.76.72
dtmfmode=rfc2833 
disallow=all 
context=from-trunk 
canreinvite=no 
allow=ulaw
```

<figure><img src="/files/enmU8g7eUB3YQsafXKJO" alt=""><figcaption></figcaption></figure>

#### CREATING OUTBOUND TRUNK

**Step 3**: Go to Connectivity >Trunks and select the option Add SIP Trunk>Select ADD SIP(chan\_sip) Trunk. A new window will appear. Enter the Trunk Name as “DFS\_out\_1” and add the trunk Parameter as shown in image below:

![](/files/-LWDcK13zvmROycv1RuF)

In the same window, click on SIP Settings. Under the Outgoing tab, enter the Trunk Name as “DFS\_out\_1”. In PEER Details, copy the following details:

```
host=term1.didforsale.com
nat=yes
insecure=very 
dtmfmode=rfc2833 
disallow=all 
context=from-trunk 
canreinvite=no 
allow=ulaw 
type=peer
```

<figure><img src="/files/qBFuDOAAfrHJv0xc3gzH" alt=""><figcaption></figcaption></figure>

Click on the Submit button.<br>

**Step 4**: Create a second trunk in the same way with Trunk Name as "DFS\_out\_2” with the below PEER Details:

![](/files/-LWDdybnTK9mdpwEP-Kr)

```
type=peer
nat=yes 
insecure=very 
host=term2.didforsale.com
dtmfmode=rfc2833 
disallow=all 
context=from-trunk 
canreinvite=no 
allow=ulaw

```

Refer image below for better understanding:

<figure><img src="/files/m7F0bBLZnhy2uUMdG9m6" alt=""><figcaption></figcaption></figure>

Click on the Submit button.

#### &#x20;ROUTING INBOUND DID

**Step** **5**: For routing your inbound calls coming on your DID number, click on inbound routes and configure the DID with prefix 1. Toll free numbers needs to be configured without 1. Say your DID is 949 885 9944 then you will configure the DID with 19498859944 in the inbound routes. Delete existing routes for the DID and then reconfigure from scratch. Here is the image for inbound setups:

![](/files/-LWDeY4geI-_XH5pHpvk)

![](/files/-LWDeRraKkWd--gsyOlb)

Click on Submit button.<br>

#### Routing Outbound Routes

**Step 6**: For routing your outbound calls. Go to connectivity>Outbound Routes. Click on Add Outbound Route button (as shown below).

![](/files/-LWDexJo7dZ4HoqYJmk1)

###

**STEP** **7**: You should be viewing the Route Setting tab. Under that, give the Route Name. Select which trunks this outbound route will use, and in what order. Choose the trunk(s) which you have created ,DFS\_out\_1 and DFS\_out\_2 from the drop-down menus next to Trunk Sequence for Matched Routes.

![](/files/-LWDfAq6WhI2ONhrQQrI)

**STEP 8:** Click the Dial Patterns tab. Click Dial patterns wizards. In preprend enter “1” and for match pattern enter “NXXNXXXXXX”. For better understanding refer the following image:

![](/files/-LWDgA9ihwNJygVHbe-K)

Click on the Submit button. Also, press APPLY CONFIG (on the top right corner).


# SIP based

Freepbx configuration guide for SIP setup using chan\_sip trunk.

### SIP TRUNK

**Step 1**: Go to connectivity>Trunks> click on +Add Trunk option. Under that select ADD SIP(chan\_sip) Trunk. A new window will appear. Enter the Trunk Name as “SIP\_account”

![](/files/-LWHXMFUfj0JtsZKIB9b)

&#x20;A new window will appear. Enter the Trunk Name as “SIP\_account”

![](/files/-LWHXZwMczLqGqCdMXED)

**Step 2:** Go to Sip settings, add the Trunk Name under outgoing as "SIP\_account" r as shown in image&#x20;

![](/files/-LWHYynUbI0k5p60uN2b)

Under Incoming, enter User Context as "DFS"  and  the Register String as: username:<password@sip.la1.didforsale.com>\
&#x20;For Example:1001908134:1(IPncKnZKC$<9iX@sip.la2.didforsale.com>\
Copy the following user details:

```
type=friend 
secret=1(IPncKnZKC$9iX* 
username=1001908134*
qualify=no 
host=sip.la2.didforsale.com* 
dtmfmode=rfc2833 
context=from-trunk
canreinvite=no
allow=ulaw
insecure=port,invite 
fromdomain=sip.la2.didforsale.com*

```

{% hint style="info" %}
\*Note: Please use the username, password and domain received via email after creating SIP account.
{% endhint %}

![](/files/-LWHXnnr4WT-PynYN3Sp)

### Routing Inbound Routes

**Step 3**:  For routing your inbound calls coming on your DID number, click on inbound routes and configure the DID with prefix 1. Toll free numbers needs to be configured without 1. Say your DID is 949 885 9944 then you will configure the DID with 19498859944 in the inbound routes. Delete existing routes for the DID and then reconfigure from scratch. Here is the image for inbound setups:

![](/files/-LWHZz6mcNdyjd2S9EAg)

### Routing Outbound Routes

**STEP 4**: For routing your outbound calls. Go to connectivity>Outbound Routes. Click on Add Outbound Route button (as shown below)

![](/files/-LWHfRZPrxcLDhGkYckW)

**STEP 5**:You should be viewing the Route Setting tab. Under that, give the Route Name. Here,  we have call this route as “Outbound”. Enter the Route CID.  Choose the trunk(s) which you have created , SIP\_account from the drop-down menus next to Trunk Sequence for Matched Routes.&#x20;

![](/files/-LWHgS2jt_646AZdliym)

**STEP** **6**: Click the Dial Patterns tab. Click Dial patterns wizards. In preprend enter “1” and for match pattern enter “NXXNXXXXXX”. For better understanding refer the following image:

![](/files/-LWHaVaQn1aXpyXQBz9o)

Click on Submit button. Also press APPLY CONFIG (on the top right corner)

*Hope* *this* *Document* *helps*. *Please* *contact* *us* *for* *any* *further* *queries*.


# FreeSwitch

FreeSWITCH is a free & open-source application server for real-time communication, WebRTC, telecommunications, video & VoIP. Build PBX systems, IVR services & videoconferencing

## Configuration

You need to allow our IPs in your FreeSwitch server to receive calls from the DID number. For that, go to your FreeSwitch configuration directory and edit the file **acl.conf.xml** inside the autoload directory of the FreeSwitch configuration directory. Find the domains section in the configuration file and add our IPs as shown below.

```
<node type=”allow” cidr=”66.209.76.70/26″/>
```

Now you need to add a dial plan entry in your server to catch the incoming calls to the DID number. For that, go to your FreeSwitch configuration directory, then move to **dialplan/public** directory and add an XML file there with any name with the below contents.&#x20;

```
<include>
<extension name=”incoming_did”>
<condition field=”destination_number” expression=”^(13043935064)$”>
<action application=”transfer” data=”1000 XML default”/>
</condition>
</extension>
</include>
```

[<mark style="color:red;">NOTE: Replace 13043935064 with your DID number.</mark>](#user-content-fn-1)[^1]

This dial plan will route all incoming calls to the DID number to extension 1000. You will need to reload your ACL and XML after doing the configuration. To do that, go to FreeSWITCH CLI by using the command **“fs\_cli”** and run the commands **reloadacl** and **reloadxml**.

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.

[^1]:


# FusionPBX

FusionPBX is built on top of FreeSwitch & can be used as a highly available single or domain based multi-tenant PBX, carrier grade switch, call center server, fax server, VoIP server, voicemail server

Below, you will find a general guide on how to integrate a PBX/Phone system with our service. If you encounter any challenges or need further assistance, please reach out to our dedicated support team at **<contact-support@didforsale.com>** or **1-800-579-7676**.

## Integration Steps

**Access Your PBX/Phone System Settings:** \
Log into your PBX/Phone system admin portal. Navigate to the settings or configuration section.

**Locate SIP/VoIP Settings:** \
Look for SIP or VoIP settings within your PBX/Phone system interface. Find options related to trunking, SIP configuration, or VoIP integration.

**Create SIP or Add your PBX IP:**&#x20;

* **Adding IP Address**: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>
* **Creating SIP Account**: <https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account>

**Configure SIP/VoIP Settings:** \
Input the SIP credentials provided by DIDForSale. These typically include SIP server address, username, password, and authentication details. Ensure that codecs (g711, ulaw & alaw) and other audio settings align with our recommended configurations.

**Network Configuration:** \
Check firewall and network settings to ensure traffic from our service is allowed. Whitelist our server IP addresses if your system has security features. Get a list of our IPs here: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>

**Configuration of DID number:** \
Follow the link for instructions: <https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers>

**Testing and Verification:** \
Make test calls to confirm the integration. Test both incoming and outgoing calls for quality and reliability. Test additional features like voicemail, call forwarding and conference calls. Contacting Support:

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at  **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.


# GoAutoDial

Goautodial is an open-source call center software suite that provides tools for inbound, outbound, and blended call handling. It offers features like auto-dialing, campaign management, and call record

## GoAutoDial SIP Trunk Configuration Guide

For configuring our DID number with GoAutoDial, you will have to create two trunks in your system to allow calls from our server. You can do that by going to the Admin section in your GoAutoDial and choosing the carriers. Click on “Add a New Carrier” and add the following parameters

```
Carrier Name: DIDforsale_in1
Account Entry :
host=66.209.76.70
type=peer
context=from-trunk
disallow=all
allow=ulaw
nat=yes
canreinvite=yes
insecure==very
dtmfmode=rfc2833
Protocol: SIP
Active: Y
```

Leave other fields as default or blank.&#x20;

Create one more carrier with the same options except for the host parameter in the Account Entry field.&#x20;

```
Carrier Name: DIDforsale_in2
Account Entry :
host=66.209.76.72
type=peer
context=from-trunk
disallow=all
allow=ulaw
nat=yes
canreinvite=yes
insecure==very
dtmfmode=rfc2833
Protocol: SIP
Active: Y
```

Now you will have to route the DID number to the extension you want. You can do that by selecting **Inbound –> Add a new DID**, add your DID number, and add the extension to where you want to forward the calls coming to DID in the Extension field and submit.

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at  **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.


# GDMS UC

GDMS(Grandstream Device Management System) Unified Communication It’s a cloud-based management platform for provisioning, monitoring, and controlling Grandstream devices and Cloud PBX

GDMS is a centralized management and monitoring platform provided by Grandstream. It is designed to manage:

* CloudUCM instances
* On‑prem Grandstream UCM PBXs
* Grandstream endpoint devices (IP phones, ATAs, gateways)

GDMS functions as a management and provisioning layer. It does not process SIP signaling or RTP media for live calls.

GDMS provides the following capabilities:

* Centralized management of multiple PBXs
* Zero‑touch provisioning of Grandstream devices
* Remote configuration of SIP accounts on devices
* Firmware management, reboot, and factory reset
* Monitoring registration and device status

### **High‑Level Architecture**

#### PBX‑Based Architecture (Recommended)

{% hint style="info" %} <mark style="color:$danger;">**DIDforSale SIP Platform → CloudUCM or On‑Prem UCM (SIP Trunk) → Extensions → Grandstream Devices (Provisioned via GDMS)**</mark>
{% endhint %}

In this model:

* DIDforSale is configured as a SIP trunk on the PBX
* Call routing, IVRs, ring groups, and policies are handled by the PBX
* GDMS is used to manage and provision devices and PBXs

*Learn more about Grandstream Cloud PBX integration with DIDForSale by clicking below.*

{% content-ref url="/pages/53qJ2SbMV37eYlV6YhQ8" %}
[Grandstream Cloud PBX](/sip-trunking/sip-trunking/grandstream-cloud-pbx)
{% endcontent-ref %}

***

#### Direct Device Registration (Optional / Limited Devices)

{% hint style="info" %} <mark style="color:$danger;">**DIDforSale SIP Platform → Grandstream Device (SIP Account via GDMS)**</mark>
{% endhint %}

In this model:

* Devices register directly to DIDforSale
* **No PBX features such as IVR, internal dialing, or call queues are available**
* Suitable only for basic single‑device use cases

### Benefits of using GDMS Unified Communication

1\) Centralized Management

* Provision, configure, monitor Grandstream phones, gateways, and devices from one dashboard.
* Ideal for large deployments or multi-location businesses.

2\) Unified Communications Integration

* Works with Wave app for messaging, presence, audio/video conferencing.
* Users get collaboration plus telephony features if integrated.

3\) Scalability

* Easily onboard new users/devices in bulk.
* Remote configuration and firmware updates.

4\) Visibility & Control

* Real-time status and analytics for devices.
* Troubleshooting without needing on-site access.

5\) Policy Enforcement

* Apply global settings, security policies, and profiles across devices.


# Getting Started

This document explains how Grandstream GDMS (Grandstream Device Management System) is used in environments where DIDforSale is the SIP trunking provider. It clearly distinguishes between:

* SIP trunk configuration on a PBX either **CloudUCM (recommended)** or **on‑prem UCM**
* SIP account provisioning directly to devices via GDMS UC (limited to only few Grandstream devices with no PBX level features)

The goal is to provide administrators with a clear, correct, and repeatable integration approach.

It covers:

* SIP account creation at DIDforSale
* SIP trunk setup in the Grandstream PBX via GDMS
* Inbound & outbound routing

### Prerequisites

Before beginning, gather these from your DIDforSale account:

* SIP Domain / Server (example: **lxy.didforsale.com**)
* SIP Username / ID (example: **100xxxxxxx**)
* SIP Password (provided by DIDforSale)
* Assigned DID numbers for inbound calls and outbound caller ID
* GDMS Account
* CloudUCM or on‑prem UCM added to GDMS
* Added Grandstream devices, supported by GDMS<br>

For instruction on creating a SIP account with DIDForSale follow link below.

{% content-ref url="/pages/-LVecu-zhg2FLBWwZe61" %}
[Creating SIP Account](/sip-trunking/sip-account)
{% endcontent-ref %}

### Log In to Grandstream GDMS

1. Go to the GDMS dashboard: <https://www.gdms.cloud/uc/dashboard>
2. Log in with your admin credentials.

Your CloudUCM instance should already be visible in GDMS. If not, add it following the GDMS device onboarding process.


# Portal Overview & Key Tabs

### Log In to Grandstream GDMS

1. Go to the GDMS dashboard: <https://www.gdms.cloud/uc/dashboard>
2. Log in with your admin credentials.

### GDMS UC Portal Layout

After logging in to the GDMS UC portal, administrators are presented with a centralized dashboard and multiple navigation tabs. Each tab serves a specific operational or management purpose.

### Dashboard

The Dashboard provides a high‑level overview of the UC environment.

#### Key Information Displayed

* Online and offline PBX status
* Summary of managed CloudUCM and UCM devices
* System health indicators
* Recent activity and alerts (if enabled)

The Dashboard is primarily used for quick visibility rather than configuration.

<figure><img src="/files/iEtrmYJNAUsimAVe7YOh" alt=""><figcaption></figcaption></figure>

***

### Organization

This section allows you to switch between organizations (if you have more than one).

<figure><img src="/files/91Ol6DAP9qhJRRP0hLQw" alt=""><figcaption></figcaption></figure>

***

### Overview

This section provides details about the device and call statistics.

<figure><img src="/files/fEHLO7eH9usJ9HDc2dzz" alt=""><figcaption></figcaption></figure>

***

### Extensions

The Extensions tab provides visibility into extension‑level information across managed PBXs.

Key Functions

* View extension lists with their associated servers under sub section **SIP Account**&#x20;

<figure><img src="/files/75lddW8XhlH964FkTLba" alt=""><figcaption></figcaption></figure>

* View SIP Servers with their server name and address under sub section **SIP Server**

<figure><img src="/files/6C4mpbohZDLIq1uMldxY" alt=""><figcaption></figcaption></figure>

* Monitor registration status
* Review basic extension details

{% hint style="info" %}
Note that extension creation and call logic configuration are handled on the PBX, not directly within GDMS.
{% endhint %}

***

### UCMRC (UC Management)

UC Management is the primary section for managing On-Premise PBX instances and Cloud Storage.

#### Key Functions

* Add and manage On-Premise PBX instances and Cloud storage
* Add and monitor on‑prem UCM devices
* View PBX connectivity and status
* Launch PBX web interfaces directly from GDMS

*All SIP trunk configuration, including DIDforSale integration, is performed inside the PBX interface accessed through this section.*

**Sub Sections: On-Premise PBX & Cloud Storage**

***

### CloudUCM&#x20;

CloudUCM is the primary section for managing Cloud PBX instances.

#### Key Functions

* Add and manage Cloud PBX instances and Wave Server
* Add and monitor Cloud UCM instances
* View PBX connectivity and status
* Launch PBX web interfaces directly from GDMS

*All SIP trunk configuration, including DIDforSale integration, is performed inside the PBX interface accessed through this section.*

<figure><img src="/files/un7qgxHRduzMA5Gftf6z" alt=""><figcaption></figcaption></figure>

You can click on Add Device to add a Cloud PBX instance and add the provided cloud PBX MAC address.

<figure><img src="/files/blHBvbsSMMOmZL0VmbAl" alt=""><figcaption></figcaption></figure>

Click below for setup instructions.

{% content-ref url="/pages/53qJ2SbMV37eYlV6YhQ8" %}
[Grandstream Cloud PBX](/sip-trunking/sip-trunking/grandstream-cloud-pbx)
{% endcontent-ref %}

***

### VoIP Device

Here you can add and manage Grandstream devices.


# Grandstream Cloud PBX

You can access your Cloud PBX via login URL provided after purchasing or via GDMS Cloud UC

### Accessing Cloud PBX via GDMS

#### Log in to GDMS Cloud

1. Open: <https://www.gdms.cloud/uc/dashboard>

2. Log in using your GDMS admin credentials.\
   ![](/files/Zb4w2J6BRY4PsVqcTY20)\\

3. Go to the section **CloudUCM** → Click on the Admin Portal link for your PBX.

<figure><img src="/files/k48Bav3GCeh9MVZC7iAJ" alt=""><figcaption></figcaption></figure>

This will take you to the cloud PBX login page, login with your credentials.

<figure><img src="/files/WJkyj35w5AcgA0HzuF1d" alt=""><figcaption></figcaption></figure>


# DIDForSale Integration

#### To integrate the DIDForSale SIP trunk with Cloud PBX follow steps below.

* From the CloudPBX interface:
* Navigate to **Extension/Trunk**
* Go to the section **VoIP Trunks**
* Click **Add SIP Trunk**

<figure><img src="/files/Tmq9tZ42FfRzWKWjkH0p" alt=""><figcaption></figcaption></figure>

#### In the Add SIP Trunk page, configure the following:

**Basic Settings**

> Trunk Type: **Register SIP Trunk**
>
> Provider Name: **DIDforSale**
>
> Host Name/SIP Server: *<mark style="color:$danger;">sip.lxy.didforsale.com\*</mark>*
>
> Transport: **UDP**
>
> DID Number: Click **Set DID** to assign a DID
>
> Need Registration: **Checked**
>
> From Domain:  *<mark style="color:$danger;">sip.lxy.didforsale.com\*</mark>*
>
> From User:  *<mark style="color:$danger;">100xxxxxxx\*</mark>*
>
> Username: *<mark style="color:$danger;">100xxxxxxx\*</mark>*
>
> Password: *<mark style="color:$danger;">Your SIP Password\*</mark>*
>
> AuthID: *<mark style="color:$danger;">100xxxxxxx\*</mark>*
>
> \
> Example: lxy.didforsale.com\
> Outbound Proxy:Leave blank\
> DNS Mode: A Record

<figure><img src="/files/roDZCz8Vsg66s3ckjSqT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/gneomppeKTAFUzgAQIuL" alt=""><figcaption></figcaption></figure>

**Advance Settings**

* Select audio codecs **PCMA, PCMU, G.729** only in same order.
* Enable NAT traversal if behind NAT (optional)

<figure><img src="/files/1y9xLk4R9w8R8g5uniKa" alt=""><figcaption></figcaption></figure>

Click **Save and Apply Changes** to register the SIP trunk.

You will now see the newly added SIP Trunk in your VoIP Trunk dashboard.

<figure><img src="/files/aZPP8BfwXdnTKPiB4Rrk" alt=""><figcaption></figcaption></figure>

#### Verifying VoIP Trunk Status

To verify the trunk status, go to the section **Dashboard**. Here you will see the trunk status as shown in the screenshot below.

<figure><img src="/files/CGs8ImBKxPVmEFCv3NXH" alt=""><figcaption></figcaption></figure>


# Outbound Routes

To make outgoing calls go through DIDforSale you need to create an outgoing route.

In Cloud PBX interface:

* Go to **Extension/Trunk → Outbound Routes**
* Click **Add** to create a new Outbound route

<figure><img src="/files/uymPFFt8e04mdplJX55g" alt=""><figcaption></figcaption></figure>

### Fill in the details as suggested below

| Outbound Rule Name               | <mark style="color:$danger;">DIDforSale\_Outbound</mark>                                                               |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Outbound Number Matching Pattern | <mark style="color:$danger;">\_NXXXXXXXXXX.</mark> or your custom dial pattern                                         |
| Main Trunk **→** Trunk           | Select the <mark style="color:$danger;">DIDforSale SIP trunk</mark> (*You can also select a failover trunk if needed*) |

<figure><img src="/files/Amng9yvDCMNTTTmZXBp4" alt=""><figcaption></figcaption></figure>

Click **Save** and **Apply Changes**.


# Inbound Routes

To handle inbound calls from your DID numbers in your cloud PBX you will need to create a Inbound Trunk to route the call to its destination. This ensures inbound SIP calls with your DID reach chosen endpoints correctly.

In Cloud PBX interface:

* Go to **Extension/Trunk → Inbound Routes**
* Click **Add** to create a new Inbound route

<figure><img src="/files/bkdGU2BOa2jJfmw35SiO" alt=""><figcaption></figcaption></figure>

### Fill in the details as suggested below

1.

| Inbound Route Name                       | <mark style="color:$danger;">DIDForSale\_Inbound</mark>            |
| ---------------------------------------- | ------------------------------------------------------------------ |
| Pattern: Inbound Number Matching Pattern | <mark style="color:$danger;">\_1234567890</mark> (your DID number) |
| Default Mode: Default Destination        | Choose a destination — extension, IVR, ring group                  |

<figure><img src="/files/5UZmWJ29oZqf8VWGdCa1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/O0sinqgQ7cROxGCxv53G" alt=""><figcaption></figcaption></figure>

Click **Save** and **Apply Changes**.

***

You can also create multiple trunks to handle multiple DIDs separately or can have a generic trunk to send all calls to one destination. The example of handling multiple DID with different destinations is below. In the example below, one DID is ringing to extension 1000 while another is being used as a fax number.

<figure><img src="/files/rueDVSykJSkUuxVIfWBz" alt=""><figcaption></figcaption></figure>

To create a generic inbound trunk set values as per below.

| Inbound Route Name                       | <mark style="color:$danger;">DIDForSale\_Inbound</mark>                                   |
| ---------------------------------------- | ----------------------------------------------------------------------------------------- |
| Pattern: Inbound Number Matching Pattern | <mark style="color:$danger;">\_x.</mark> (To send all incoming calls to same destination) |
| Default Mode: Default Destination        | Choose a destination — extension, IVR, ring group                                         |

<figure><img src="/files/0VKwwv09h93SuWfWRf10" alt=""><figcaption></figcaption></figure>


# Grandstream Devices

Grandstream Networks is a manufacturer of IP voice & video communications equipment, video surveillance, gateways and ATAs, and Asterisk-based IP-PBX appliances.

## GrandStream Devices that have been tested with DIDForSale SIP Trunking&#x20;

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices/grandstream-6102-ippbx>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices/grandstream-6104-ippbx>" %}

{% embed url="<https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices/grandstream-502>" %}


# GrandStream 6102 IPPBX

### To Configuring Grandstream PBX with didforsale SIP Trunking, you need:&#x20;

* [Free account with DIDForSale SIP Trunk Provider](https://www.didforsale.com)
* [Create a Free SIP account in the portal. ](/sip-trunking/sip-account)

Connect the Cables and Power on the PBX. Once on you can get the IP Address of the IP PBX from the LCD screen.&#x20;

![UCM6102 IP Address](/files/-LWY-RZLGhfGK7x1woDe)

Open the link in the Browser window. PS: You must be in the same network.&#x20;

![UCM6102 Login Screen](/files/-LWY0ix-JQCDeNwbKXtz)

Default login username and password for UCM 6102 is admin/admin. PS: For Security reason, please change the password of your PBX.&#x20;

## UCM 6102 Dash Board

![UCM 6102 Dashboard](/files/-LWY16WSeGtVCvZYoWjm)

### Click on PBX -> VoIP Trunks -> Create new SIP Trunk

![SIP Trunk Configuration for UCM 6102](/files/-LWY1RalITOnfQZ4bsEn)

Configure New SIP Trunk. PS: Type should be register SIP Trunk. Get the Hostname, Username and Password from the email you receive when you created a new SIP Account.&#x20;

![](/files/-LWY1lTT3KYzba30tjdT)

Click on Save. Go back to Status. Here you will see Status as green Registered.&#x20;

![UCM 6102 SIP Trunk Registration Status](/files/-LWY3-1O2NRpxevDrlrK)

Check the Registration at DIDForSale. Portal.  Account Portal -> Interconnection -> SIP Account. Notice the green light in front of the SIP account you used to configure IP PBX.&#x20;

![](/files/-LWY4BOPystB17e7fYUM)

Now you should be able to make and receive phone calls. To receive phone call, you need to configure the phone numbers in your DIDForSale Account Portal.&#x20;

Login in your Account Portal, Click on Phone Numbers. Select the number you want to configure to send calls to this UCM.&#x20;

![List of Phone Numbers](/files/-LWY3jIKOoSLSczj9UO5)

Click on any number go to configuration screen.&#x20;

![SIP Trunk Configuration at DIDForSale](/files/-LWY4NS6fUFWx2mVKS8u)

Select SIP -> SIP Account -> Select the Account -> Click on Save.&#x20;

There are lot or advanced options, Click on the "?" to see the description for each option. &#x20;


# Grandstream 6104 IPPBX

### To Configuring Grandstream PBX with didforsale SIP Trunking, you need:&#x20;

* [Free account with DIDforsale SIP Trunk Provider.](https://www.didforsale.com)
* [Create free SIP account.](https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account)

Step 1: Login to your grandstream admin interface. The default login username and password for grandstream 6102 is admin/admin.

Step 2: Go to VOIP trunks-> create new SIP trunk.

![SIP Trunk](/files/-LiAKEipWB8xMBX38a25)

![SIP Trunk](/files/-LiAKNSaanyFJGjw9P8s)

Step 3: Configure New SIP Trunk. PS: Type should be register SIP Trunk. Get the Hostname, Username and Password from the email you receive when you created a new SIP Account.&#x20;

Step 4: Click on Save. Go back to Status and find the status as registered green.

Step 5: Go to Outbound Routes. Enter the rule name, pattern as "\_ZXXXXXXXXXX" and select the trunk which you have created. Check the image below for better view

![Outbound Route](/files/-LiAKaxqgNtaSVlGe7fc)

Step 6: For routing your inbound call coming on your DID number, go to Inbound routes and Add the DID number as "\_123456789" under pattern. Route the calls to your desired destination.

![Inbound Route](/files/-LiEoYgJ1ihphyMo28O7)

Step 5: Check the Registration at DIDForSale. Portal. Account Portal -> Interconnection -> SIP Account. Notice the green light in front of the SIP account you used to configure IP PBX.

Step 6: Now you should be able to make and receive phone calls. To receive phone call, you need to configure the phone numbers in your DIDForSale Account Portal.&#x20;


# GrandStream 502 | HT801 | HT802 | HT813

Configure Grand Stream 502 SIP Trunk with DIDFOrSale SIP Trunking Service. Before you start configuring the Device, lets create a SIP Account at DIDForSale for this device to register.

[**Creating a SIP Account in your DIDForSale Account.**](https://portal.didforsale.com/register)

[Log in your account. Create a SIP Account](/sip-trunking/sip-account)

![Create Free SIP Account for SIP Trunking](/files/-LW8GxSNI2xrDyIEuGA4)

**Configuring Grand Stream 502.**

Connect the GS 502 with network cable and power and phone.

![Connecting the Cabled GS 502](/files/-LWXoI-08_MDxlZK66Jp)

From your Phone, dial

\*\*\* 02

This will give you the IP Address. I get the IP 192.168.0.203

By Default WAN access is disabled. To enable the WAN access,\
&#x20;From your Phone Dial

\*\*\*\
&#x20;12 (Press 9 to enable and disable wan access)\
&#x20;If Disabled press 9/

Reboot the Device.

Here is complete list of Grand Stream 502 Menu options. (Page 17)

<http://www.grandstream.com/sites/default/files/Resources/ht502_usermanual_english.pdf>

Open the browser and Enter the IP.

![GrandStream GS 502 Login](/files/-LWXoVCK7G9B3k8Ig_9V)

Default Admin password is Admin. In this example we are configuring FXS Port 1. Enter the Domain, username and password. **PS: Use the SIP Server, SIP UserID and Password from your account.**&#x20;

![](/files/-LWXoeBs9bKpLRhr7EbN)

Click on Update.

Now you should be able to receive and make calls from this account.

PS: Configure the phone number in your account portal at <http://portal.didforsale.com> to start receiving calls on this device.&#x20;


# HoduSoft PBX System

HoduSoft PBX system streamlines business voice communication, while their Contact Center solutions empower exceptional customer service and engagement.

This documentation provides step-by-step instructions on configuring HoduSoft, a multi-tenant Cloud PBX System, with the DIDForSale SIP Trunking solution. By following this guide, you will learn how to seamlessly integrate and set up the SIP trunking solution within the Hodusoft PBX system.

## Creating a Free SIP Account at [DIDForSale](https://www.didforsale.com/) <a href="#docs-internal-guid-7599217f-7fff-c727-2737-f16401b6c5a5" id="docs-internal-guid-7599217f-7fff-c727-2737-f16401b6c5a5"></a>

[**To create a SIP account** ](https://docs.didforsale.com/sip-trunking/sip-trunking/pages/-LVecu-zhg2FLBWwZe61#create-a-free-sip-account.)**at DIDForSale, follow these steps:**

* Visit the [DIDForSale website (www.didforsale.com)](about:blank) and sign up for a free account.
* Once you have created your account, log in to the account portal at DIDForSale.
* Navigate to the "Interconnection" section and select "SIP Accounts."
* Click on "Add New SIP Account" to begin creating a new SIP account.
* Fill in the required details to create the SIP account.
* After completing the form, you will receive an email containing an activation link.
* Click on the activation link in the email to activate your SIP account.

## Setting up your Hodusoft PBX System with DIDForSale <a href="#docs-internal-guid-4f403bc2-7fff-d016-3faa-92d4ca838643" id="docs-internal-guid-4f403bc2-7fff-d016-3faa-92d4ca838643"></a>

To configure your Hodusoft PBX System with DIDForSale, follow these steps:

### Step 1: Logging in to Hodusoft PBX Admin Pane

Launch your web browser and enter the URL for your Hodusoft PBX admin panel.

Enter your login credentials to access the admin panel.

### Step 2 - Adding a Vendor  <a href="#docs-internal-guid-d9ae062d-7fff-be8a-826f-999a27e227e8" id="docs-internal-guid-d9ae062d-7fff-be8a-826f-999a27e227e8"></a>

* In the admin panel, navigate to the "**Commerce**" section and select "**Vendor**."
* Click on "**Add New**" to add a new vendor.
* Fill in the necessary details for the vendor.

<figure><img src="/files/kBeG1XHZ73yWtTbwd3I4" alt="" width="375"><figcaption></figcaption></figure>

### Step 3 - Adding ACL List IPs <a href="#docs-internal-guid-3cf50640-7fff-75ef-e640-48589cd9fc0c" id="docs-internal-guid-3cf50640-7fff-75ef-e640-48589cd9fc0c"></a>

* In the admin panel, go to the "**Commerce**" section and select "**ACL List**."
* Click on "**Add New**" to add the IPs of DIDForSale for accepting incoming calls on the DID.
* Fill in the details of the IP and click "Create." You can repeat this step for multiple IPs.

> [**Get DIDForSale IP List here**](https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration#didforsale-gateway-ips-to-send-and-receive-calls.)

### Step 4 - Add a DID Type <a href="#docs-internal-guid-036040dd-7fff-3115-5fe4-b30e98283076" id="docs-internal-guid-036040dd-7fff-3115-5fe4-b30e98283076"></a>

* In the admin panel, go to the "**Commerce**" section and select "**DIDType**."
* Click on "**Add New**" to add a new DID type.
* Fill in the details for the DID type, including name, description, currency, and sell rate plan.

<figure><img src="/files/XXt8Fh9p3aV4YpVRzRbN" alt=""><figcaption></figcaption></figure>

### Step 5 - Adding a DID number purchased from DIDForSale. <a href="#docs-internal-guid-f586ad39-7fff-a8f2-8eb8-f9b6c90fd35e" id="docs-internal-guid-f586ad39-7fff-a8f2-8eb8-f9b6c90fd35e"></a>

* In the admin panel, go to the "**Commerce**" section and select "**DID Number**."
* Click on "**Add New**" to add a new DID number.
* Fill in the following details for the DID:
  * Number: The purchased DID number.
  * DID name: The same as the DID number.
  * Select Vendor: Choose "**DIDForSale.**"
  * Tenant: Select the tenant to whom this DID is assigned.
  * DID Type: Choose "**DID General.**"
  * Description: Provide a description.
  * Buy Rate Plan: Select the buy rate plan from the vendor.
  * Sell Rate Plan: Set the sell rate plan to the tenant.

<figure><img src="/files/rQEZtBSYk85ZHeHIwaRV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/R1YGgvCgE9y6iGLC03et" alt=""><figcaption></figcaption></figure>

Once the DID/s are added you can see a list of them as per below.

<figure><img src="/files/bZx8JWk1S4B87OxRcmiV" alt=""><figcaption></figcaption></figure>

### Step 6. Adding Gateways  (SIP Trunking Information) <a href="#docs-internal-guid-e396e456-7fff-2933-a859-9803dc21f83d" id="docs-internal-guid-e396e456-7fff-2933-a859-9803dc21f83d"></a>

* In the admin panel, go to the "**Commerce**" section and select "**Gateway**."
* Click on "**Add New**" to add a new gateway.
* Fill in the following details for the gateway:
  * Vendor: Select "**DIDForSale**."
  * IP/Domain: Enter SIP Domain (received via email after SIP account creation).
  * Register: Set to "Yes."
  * Port: Set to "5060."
  * Transport: Set to "UDP."
  * DTMF: Set to "RFC2833."
  * Username: Enter SIP Username (received via email after SIP account creation).
  * Auth Username: Enter your SIP Username.
  * Password: Enter your SIP Password (received via email after SIP account creation).
  * Caller ID: Choose any one of your DID numbers.
  * Codec: Select "PCMA & PCMU."
  * Caller ID Header Type: Set to "Remote-Party-ID

Below is a sample after you fill in information.

<figure><img src="/files/5u6p3vof4ngcusxvlBA0" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kfM49MiIaGAyjeOiMBh1" alt=""><figcaption></figcaption></figure>

### Step 7. Setting Outgoing Rule <a href="#docs-internal-guid-7219a48e-7fff-492f-2eed-74ca18e0d282" id="docs-internal-guid-7219a48e-7fff-492f-2eed-74ca18e0d282"></a>

* In the admin panel, go to the "**Routing**" section and select "**Outgoing Rule**."
* Click on "**Add New**" to create a new outgoing rule.
* Fill in the necessary details for the outgoing rule, specifically for the selected trunk provider (e.g., didforsale\_trunk).

<figure><img src="/files/sxFXc1rss4DNm3RO4DNK" alt=""><figcaption></figcaption></figure>

By following these steps, you should be able to configure your HoduSoft PBX System with a DIDForSale SIP account successfully. If you encounter any issues or require further assistance, please contact the support team for DIDForSale(<contact-support@didforsale.com>) or HoduSoft.


# Microsoft Skype for Business

It is unified communications platform that integrates common channels of business communication & online meetings, including instant messaging, presence, VoIP, voicemail and more.

To get detailed step-by-step directions you can follow the instructions laid down in our Microsoft Skype for Business SIP Trunk integration guide by following the link below.

## [Microsoft Skype for Business Interconnection Guide](http://www.didforsale.com/wp-content/uploads/2023/12/Skype-for-Business-Server-SIP-Trunk-Configuration.pdf)

Below, you will find a general guide on how to integrate a PBX/Phone system with our service. If you encounter any challenges or need further assistance, please reach out to our dedicated support team at **<contact-support@didforsale.com>** or **1-800-579-7676**.

## Integration Steps

**Access Your PBX/Phone System Settings:** \
Log into your PBX/Phone system admin portal. Navigate to the settings or configuration section.

**Locate SIP/VoIP Settings:** \
Look for SIP or VoIP settings within your PBX/Phone system interface. Find options related to trunking, SIP configuration, or VoIP integration.

**Create SIP or Add your PBX IP:**&#x20;

* **Adding IP Address**: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>
* **Creating SIP Account**: <https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account>

**Configure SIP/VoIP Settings:** \
Input the SIP credentials provided by DIDForSale. These typically include SIP server address, username, password, and authentication details. Ensure that codecs (g711, ulaw & alaw) and other audio settings align with our recommended configurations.

**Network Configuration:** \
Check firewall and network settings to ensure traffic from our service is allowed. Whitelist our server IP addresses if your system has security features. Get a list of our IPs here: <https://docs.didforsale.com/sip-trunking/sip-trunking/ip-configuration>

**Configuration of DID number:** \
Follow the link for instructions: <https://docs.didforsale.com/sip-trunking/configuration-of-phone-numbers>

**Testing and Verification:** \
Make test calls to confirm the integration. Test both incoming and outgoing calls for quality and reliability. Test additional features like voicemail, call forwarding and conference calls. Contacting Support:

If you encounter any difficulties during the integration process or have questions specific to your PBX/Phone system, please don’t hesitate to contact our support team. We are available via email at **<contact-support@didforsale.com>** or by phone at **1-800-579-7676**. Our experts are ready to assist you and ensure a seamless integration experience.




---

[Next Page](/llms-full.txt/1)

