开发者

Android as SIP to GSM gateway

Soon I could use a SIP to GSM gateway, because I'll n开发者_如何学JAVAeed to make phone calls from Germany to a mobile phone in Czech Republik. Hence, I thought about implementing one.

Now, the questions are:

  • Does such a solution already exist (for a reasonable price)?
  • Is it possible to redirect a (voice) stream to a GSM connection with the available Android APIs (SDK or NDK)?

Ideas, suggestions, comments are highly welcome.


You can use asterisk with chan_mobile and connect your android (or any old mobile phone) to it via bluetooth. This is reasonably priced if using a Raspberry Pi.

Strictly speaking this does not satisfy the Android requirement, but rather uses any mobile + bluetooth + asterisk as a GSM gateway.

http://www.stocksy.co.uk/articles/Networks/use_an_old_mobile_phone_as_a_gsm_gateway_in_asterisk/


You can solder the adapter, which turns the microphone input on the headset into a line input. In the headphone jack, such an adapter is inserted, which physically routs the audio output to the headphones into the microphone input of the smartphone. Together with the application, you just need to show the electrical scheme to solder such an adapter or sell an adapter on the Internet.

Android as SIP to GSM gateway


in the case you use a computer for managing sip calls, you can "transfer" voice and control your phone with bluetooth.


To date most android devices are not architected in a way where both sides of the in-call audio are available to apps running under linux on the application processor. Instead, the in call audio seems to be private to the radio processor.


It's not possible to use Android as a SIP GSM Gateway. It is possible to make calls but the API won't let you redirect incoming audio to another stream or send your desired stream as outgoing audio. It will be limited to device microphone/speaker and bluetooth/wired headsets.

The Android Telephony package passes the complete control of radio device to Radio Daemon (rild) library which would not allow you to change the audio streams as mentioned above. Even, rild is vendor-dependent propertiary software and is not opensource, so using Custom ROMs would not help.

For more technical info, see here.


This is not a question for Android but rather to the gateway side. Android will be dialing out using SIP through a 3rd party app or through the one provided in its SDK, but then the transcoding and redirection over GSM is done on the gateway side.


There is a solution can make your Android phones work as SIP GSM Gateway for calls termination and origination

http://pure-voip.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜