简体   繁体   English

在通话中从android应用发送DTMF音的问题

[英]Problem with sending DTMF tones from android app over an active call

The DTMF tones are getting generated on my Experia 10 [Android 2.1]. 我的Experia 10 [Android 2.1]上已经生成了DTMF音。 The problem is, I was expecting this kind of behavior :- I call a number, and the call is accepted at the other end. 问题是,我正在期待这种行为:-我打了一个电话,并且电话在另一端被接受。 Then I run my application, and I generate DTMF tones from the app. 然后运行我的应用程序,然后从该应用程序生成DTMF音调。 and the same tones should be received at the other end of the call. 在通话的另一端应收到相同的音调。 But this is not happening. 但是,这没有发生。 I want to know a way, using which I can send DTMF signals over to the other end through a normal phone call. 我想知道一种方法,可以通过普通电话将DTMF信号发送到另一端。 Is there a way to intercept an outgoing call and generate DTMF in between that call ? 有没有办法拦截去电并在两次通话之间生成DTMF? Please help ! 请帮忙 ! Got stuck with this ! 卡住了! Thank you in advance ! 先感谢您 !

I want to know a way, using which I can send DTMF signals over to the other end through a normal phone call. 我想知道一种方法,可以通过普通电话将DTMF信号发送到另一端。

Android applications have no access to the in-call audio stream. Android应用程序无法访问通话音频流。 You can fake a it a bit in speakerphone mode. 您可以在免提模式下伪造它。

Is there a way to intercept an outgoing call and generate DTMF in between that call ? 有没有办法拦截去电并在两次通话之间生成DTMF?

No. 没有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM