Page tree
Skip to end of metadata
Go to start of metadata


Last Update: 17 November 2010


About VoipCheap

Voipcheap is one of the VoIP wholesale labels of a German company called Betamax GmbH & Co.Kg.. See wikipedia for more info on their labels. Voipcheap offers low cost PSTN termination all over the world and even to some countries for free. Besides SIP they also provide their own softphone.

To make SIP working with freeswitch make sure the contact field include the username. For example, if my username is USER1, the contact field will look like:


If you don't include the username in the contact field you will NOT be able to get incoming calls from their DIDs or the voipcheap network. To make this work add the following param in you gateway configuration:

Working example

Below is a copy of a fully (incoming and outgoing) working configuration. Replace USERNAME and PASSWORD with your own. Gateway configuration: conf/sip_profiles/external/voipcheap.xml



Incoming dialplan: conf/dialplan/public/0_voipcheap_did.xml

Outgoing dialplan: conf/dialplan/default.xml

The outgoing dialplan compares the domainname (the name after the @ sign) against the local domainname. If it's not true (what should always be) it passes the condition. The variabele domainname comes from ${sip_req_host}. Since the invite needs to go to the Voipcheap proxy server ( you have to insert sip. otherwise it connects NOT to the proxy. So instead of calling USER@DOMAIN, we're gonna call to USER@sip.DOMAIN.