Is there any way I can take an incoming call and use an app or a system feature to turn my Android phone into a forwarding client so that I can then forward this via VOIP to any other client in the world?

What I'd like to do is very similar to OS X's continuity feature, but instead of requiring the phone to be on the same Wi-Fi network, I'd like it to be able to be anywhere in the world. Imagine if you could buy a phone, a local SIM card (that could be topped up via the internet), and leave the phone plugged in all the time and connected to Wi-Fi so that it can forward any incoming calls over VOIP to any other VOIP client in the world. What I'm trying to build is a dedicated DID (direct inward dialing) number but using my current local number in whatever country I am.

Is this possible? The closest thing I've seen is Google Voice or Skype's incoming numbers or even regular DID numbers, but they're not offered for all locations, so that's why I'd like to build this solution if possible.

1 Answer 1


Android phone is technically handicapped to do this. There is no google API to playback an audio stream instead of the mic recording. You would have to rewrite the android's telephony stack to achieve this. And this will be dependent on the hardware and so cannot be a generic solution for all android phones. You cannot find a answering machine android app with recorded voice playback for the same reason.

You can buy a raspberry pi, a USB data dongle with voice calling and supported by chan_dongle project, install RasPBX (based on the open source PBX Asterisk) and redirect GSM calls via VOIP and vice versa. This is pretty easy to setup and cheaper than an android phone.



  • Links to blogs, other sites, are fine when citing as a source, but you should provide the steps that are on that site here. If that post no longer exists, the answer is no longer relevant. Jan 7, 2015 at 6:30
  • The documentation is detailed and have added the official site documentation.
    – JVS
    Jan 9, 2015 at 8:44
  • Thanks @JVS! Do you know if this solution is similar to having an obihai.com on either end connected to a mobile phone via the OBiBT? Jan 25, 2015 at 17:49
  • I'm not familiar with obihai, it seems to do something similar with a range of products. The blog I shared shows GSM -> VOIP -> GSM. If you have reliable data connectivity in your mobile, you could directly accept calls on your mobile with a VOIP client.
    – JVS
    Jan 27, 2015 at 12:37
  • 1
    First link seems not to work anymore.
    – Zubo
    Nov 12, 2019 at 3:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .