SIP is a stupid acronym. It's basically a standard way of making phone calls over the Internet. This means you can make and receive phone calls over WiFi. Here's how I got it working - for free - on Android.
By the end of this tutorial you will be able to:
- Receive calls to a new phone number, sent via WiFi to your Android handset.
- Receive calls to your existing phone number, redirected to arrive over WiFi.
Get a SIP account
Sign up for a free SIPGate Basic account. Doesn't cost you anything. You can choose a UK landline number for free as well.
You will get a username, password, and config URl.
Configure your handset
Every Android phone is different. This is how I configured my OnePlus 5T.
Phone > Settings > Call Settings > SIP accounts.
Add the details from SIPgate into your phone.
Once done, activate the "Receive incoming calls" option.
Patience, grasshopper. Before you can receive calls, SIPgate need to verify you. They'll send you a letter in the post. This letter will have a confirmation code on it. Follow the instructions to activate your account.
The letter also sets your emergency services location which is passed along with any 999 / 112 calls.
Receive a call
Once your account has been activated, use another phone to call your new SIP landline. It should automatically be routed to your Android phone. The CallerID will show up as a number, followed by
@sipgate.co.uk. Your dialler should be smart enough to pull the caller info out of your address book.
That's part 1 done! Anyone ringing your landline will get routed to your mobile via SIP. It works on WiFi, 3G, and 4G. Magic!
Routing your existing number
Distributing a new phone number is annoying. And people may not understand that ringing a landline number can be answered by a mobile. So, let's cheat!
This code will forward all calls people make to your mobile number, and redirect them to your SIP number.
So, if your landline is 01632 960123, you'd dial this number into your regular phone dialler:
Anyone who rings your mobile, will be diverted to your SIP instantly. Your SIP will ring your mobile and you can chat normally.
I wrote about call forwarding USSD codes back in 2010. Man... I'm old...
To check it has worked, dial
*#21# - you should see a confirmation message on screen.
To temporarily disable,
Forwarding a call comes out of your mobile plan's minutes. Fine if you have an unlimited call plan, but expensive if not.
If in doubt, check with your mobile network provider.
SIPGate don't charge you for routing your calls.
I didn't need to change anything on my ISP's router to get this to work. It also worked over my mobile data connection.
The WiFi at your employer / cafe / aeroplane may be configured to block WiFi calling.
There are a number of things you could do with a SIP connection.
- Route calls based on incoming phone number. Always send your boss to voicemail.
- Custom voicemail greetings. Different messages for friends, family, work.
- Block unknown numbers. A good way to reduce spam, but a pain to update.
- Audio CAPTCHA. If a caller is unknown, ask them to solve a maths puzzle before they can be put through.
- Time of day routing. After 18:00 send all work calls to voicemail.
- Send an HTTP POST every time you receive a phone call.
- Use your imagination!
Right, I'm off to play with the Sipgate.io API to see what fun things I can build.