Adding SIP calls to Android - for free!

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:

  1. Receive calls to a new phone number, sent via WiFi to your Android handset.
  2. 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.

Config details on a webpage.

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.

Entering details into SIP screen.

Once done, activate the "Receive incoming calls" option.

Config setting screen.


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 Your dialler should be smart enough to pull the caller info out of your address book.

An incoming call.

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, #21#

To re-enable, *21#


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.

What's next?

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 API to see what fun things I can build.

7 thoughts on “Adding SIP calls to Android - for free!

  1. says:

    Now this is the content I subscribe for! Have been meaning to try something like this for ages but never got past the idea stage. Now I get a how-to guide.

  2. says:

    The @aaisp service isn’t free, but it offers mobile numbers with SMS handling. I use these for spam numbers, and have SMS diverted to email (but you can use https post if you want). There’s a web interface for sending SMS, and a simple curlable API.

Leave a Reply

Your email address will not be published. Required fields are marked *