简体   繁体   English

从android中的调用接收DTMF音

[英]Receiving DTMF tone from a call in android

I am developing an android application where I want to make use of DTMF tones over a active call. 我正在开发一个Android应用程序,我想通过活动调用使用DTMF音调。 I want to send and receive DTMF tones when I make a call through my android application. 我想通过我的Android应用程序拨打电话时发送和接收DTMF音。 DTMF tone will be send over a call through a button click. DTMF音将通过点击按钮发送。 Then on a same call session I want to receive DTMF tone sent by another user (not necessary android mobile, it can be regular device also). 然后在同一个呼叫会话中我想接收另一个用户发送的DTMF音(不是必需的android手机,它也可以是常规设备)。 On receiving DTMF tones I want to decode them and execute required functions in application. 在接收DTMF音调时,我想解码它们并在应用程序中执行所需的功能。

Can anybody know how to do this send DTMF tone over a active call and receive the tone from same call to decode it. 任何人都可以知道如何通过活动呼叫发送DTMF音,并从同一呼叫接收音以解码它。

从任何设备录制音调并另存为mp3播放它但是对于解码你应该使用声音比较算法要求用户按1.然后从1开始计算其他声音。

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

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