How to setup Freeswitch with DIDforSale

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

<node type=”allow” cidr=”209.216.15.70/28″/>

<node type=”allow” cidr=”209.216.2.211/26″/>

Now you need to add a dialplan entry in your server to catch the incoming calls to the Phone 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.

<include>

<extension name=”incoming_did”>

<condition field=”destination_number” expression=”^(13043935064)$”>

<action application=”transfer” data=”1000 XML default”/>

</condition>

</extension>

</include>

NOTE: Replace 13043935064 with your Phone number

This dialplan will route all incoming calls coming to the phone number to extension 1000

You will need to reload your acl and xml after doing the configuration. For doing that, go to freeswitch cli by using command “fs_cli” and run the commands reloadacl and reloadxml.

Please test it and let us know if you where not able to get this working. Feel free to contact us at contact-support@didforsale.com

New Posts

Why VoIP Phone System is better choice for businesses

Why VoIP Phone System is better choice for businesses? Having a phone is a must for any business small or large, new or old. Traditionally office phone numbers were just a medium for business to business or business to consumer voice interactions. But entry of VoIP in...

read more

SMS via Email – Receiving, Replying & Sending

SMS VIA EMAIL – RECEIVING, REPLYING & SENDINGDIDForSale’s new feature will enable its user to receive, reply & send SMS via email. This will give individuals and resellers the capability to allow anyone to receive, reply & send SMS by using an email address. Easy...

read more

Visit SIP Trunking Pricing to see which plan suits your business!

With so many options to pick from it can often be hard to decide what’s best.
Our plans have been packaged together to give you optimum output.

Our SIP Trunks are Compatible with wide range of PBX & Platforms.

Share This