How to setup Freeswitch with DIDforSale

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

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.

What is SIP Trunking?

SIP is a Session Initiation Protocol at application layer which controls creating, modifying, and terminating sessions with multiple participants. A SIP Trunk can be referred to as a logical connection between an IP PBX and a Service Provider’s application servers that allows voice over IP traffic to be exchanged between the two.  While placing a call PBX routes the information to the SIP Trunk provider who establishes the call to the dialed number and acts as an agent for the call. All signaling and voice traffic between the PBX and the provider is exchanged using SIP and RTP protocol packets over the IP network.

To successfully deploy SIP trunk following three components are essential

  • PBX with a SIP-enabled trunk side,
  • An enterprise edge device understanding SIP
  • Internet telephony or SIP trunking service provider

 

 

Now you can make money from VoIP Services

We are pleased to announce “Refer a Friend” feature for our existing DIDForSale customers. You can get upto $25 Free Credit when your friend signup and makes their first purchase towards DIDForSale VoIP Services. There is no limit to how many friends and family you can refer. The more members you refer the more free credit you’ll receive. Introduce the great VoIP services with great call quality, huge saving and call features to your friends.

How can I get free $25 credit:
Simply click on www.didforsale.com and Click on Refer a friend link on the top of the page.
Enter the email address of the person you want to refer, your email address (account username) and click on Submit. For Multiple emails separate them by “,” (comma). Your friends will receive your referral ID by email.

Once your friend enters your referral ID on their first purchase, you will receive a voucher to use towards free calls. DIDForSale continuously aims at providing high quality inbound and outbound service at unbeatable low rates.

Thank you.
www.didforsale.com

How to Set DTMF in asterisk

How to change DTMF Setting on the fly in sip.conf or extensions.conf in asterisk.
Its common to have multiple DIDs from VoIP service Providers and those DID needs different DTMF settings. You can change the DTMF in asterisk no matter how the SIP trunk is configured.
In your routing block (Usually in extention.conf) your can add a line
[code] exten => DID.,n,SIPDtmfMode(inband)
[/code]

Example you have two DIDs

19856785635 and 8665298546 and one support RFC28cc and other one supports inband
[code] exten => 19856785635 ,n,SIPDtmfMode(RFC2833)
exten => 8665298546 ,n,SIPDtmfMode(inband)
[/code] In asterisk pbx you might have to use extensions_custom.conf

Post your question in comment if you need more help.

VoIP Faqs

Here are most Frequently Asked Question about VoIP. Most common things you should know.