Using Android with FreePBX – a SIP extension for free
FreePBX is an opensource VOIP PBX system that is built on top of Asterisk and therefore can use SIP to communicate with extensions. This means that we can use any of this SIP clients that are available for Android.
One such SIP compliant softphone is called 3CXPhone. This is a simple client that will work over both WiFI and 3G.
Bandwidth!! – One thing to consider when using a softphone on your Android handset is bandwidth. This might be a problem if you have a cap on your WiFi, but is much more likely to be an issue if you use 3G to make VOIP calls. Here are some quick facts and number to help you decide which codec to use -
G711 – good audio quality – uses around 72MB per hour * also referred to as ulaw and alaw.
GSM – ok call quality – uses around 25MB per hour
G729 – ok call quality – uses around 21MB per hour * not included with Asterisk or 3CXPhone
So above are 3 common codec choices with Asterisk. G711 has good quality audio but the trade-off is the amount of bandwidth it uses. If you have a small 3G cap you could quite quickly burn through it. The audio quality with GSM and G729 is OK. It’s perfectly understandable, and whether it’s acceptable or not will depend on the person making/receiving the call and their expectations.
G729 has the lowest bandwidth requirements of the 3 but it is not included with Asterisk by default (and is not available for 3CXPhone at all) as there are license costs to run it. You can add G729 to Asterisk but there is a license cost from Digium (there is an opensource version of G729 for Asterisk but you should be aware of any license restrictions - http://asterisk.hosting.lv/). You will also find that there is a higher cost for Android softphones that can run G729.
I would also recommend something like 3G Watchdog if you need to keep track of how much bandwidth you are using - https://play.google.com/store/apps/details?id=net.rgruet.android.g3watchdog&hl=en
Setup – Installation was straight forward. Just create an extension in FreePBX and then you just need the server IP (or name), extension number and extension secret in 3CXPhone. One thing I did notice was that disabling codecs in 3CXPhone did not seem to work for me. I disabled G711 in 3CXPhone and had G711 and GSM enabled in FreePBX for the extension. The call was still make using G711 and I don’t think that should be the case. If you want to use GSM I would just have GSM enabled for that extension in FreePBX. It would also be worth double checking what codec is used by checking a call in progress!
Continue reading ‘Using Android with FreePBX — a SIP extension for free’ »




