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

SMS Compliance Guide

SMS Compliance Guide

Guide to SMS Compliance.     SMS marketing is one of the most effective types of marketing around. An SMS message has an open rate of 98%, when compared to 20% with an email. But before you start sending SMS text campaigns, you need to make sure that you’re compliant...

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