Android 作为 SIP 转 GSM 网关

发布于 2024-10-13 04:56:28 字数 204 浏览 3 评论 0原文

很快我就可以使用 SIP 转 GSM 网关,因为我需要从德国向捷克共和国的手机拨打电话。因此,我考虑实施一个。

现在的问题是:

  • 这样的解决方案是否已经存在(价格合理)?
  • 是否可以使用可用的 Android API(SDK 或 NDK)将(语音)流重定向到 GSM 连接?

非常欢迎提出想法、建议和意见。

Soon I could use a SIP to GSM gateway, because I'll need 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

睡美人的小仙女 2024-10-20 04:56:28

您可以将 asterisk 与 chan_mobile 结合使用,并通过蓝牙将您的 Android(或任何旧手机)连接到它。如果使用 Raspberry Pi,这是合理的价格。

严格来说这并不能满足Android的要求,而是使用任何手机+蓝牙+星号作为GSM网关。

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

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/

以为你会在 2024-10-20 04:56:28

您可以焊接适配器,将耳机上的麦克风输入变成线路输入。在耳机插孔中插入了这样的适配器,该适配器将耳机的音频输出物理路由到智能手机的麦克风输入。与该应用程序一起,您只需展示焊接此类适配器的电气方案或在互联网上销售适配器即可。Android VoIP 网关

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 VoIP Gateway

心清如水 2024-10-20 04:56:28

无法使用 Android 作为 SIP GSM 网关。可以拨打电话,但 API 不允许您将传入音频重定向到另一个流或将所需的流作为传出音频发送。它将仅限于设备麦克风/扬声器和蓝牙/有线耳机。

Android Telephony 包将对无线电设备的完全控制权传递给 Radio Daemon (rild) 库,该库不允许您更改如上所述的音频流。甚至,rild 是依赖于供应商的专有软件并且不是开源的,因此使用自定义 ROM 也无济于事。

如需了解更多技术信息,请参阅此处

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.

东京女 2024-10-20 04:56:28

如果您使用计算机管理 sip 呼叫,您可以“传输”语音并通过蓝牙控制您的手机。

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

我的鱼塘能养鲲 2024-10-20 04:56:28

迄今为止,大多数 Android 设备的架构并未使通话音频的两侧都可供在应用程序处理器上的 Linux 下运行的应用程序使用。相反,通话音频似乎是无线电处理器专用的。

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.

栀子花开つ 2024-10-20 04:56:28

有一个解决方案可以让您的 Android 手机作为 SIP GSM 网关来终止和发起呼叫

http://pure-voip。 com/

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

http://pure-voip.com/

从来不烧饼 2024-10-20 04:56:28

这不是 Android 的问题,而是网关方面的问题。
Android 将通过第 3 方应用程序或通过其 SDK 中提供的应用程序使用 SIP 进行拨出,但随后通过 GSM 的转码和重定向在网关侧完成。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文