简体   繁体   English

在Sip / VoIP或常规呼叫期间收听DTMF音

[英]Listen to DTMF tones during Sip/VoIP or regular calls

i've read some articles about DTMF in Android. 我已经阅读了一些有关Android中DTMF的文章。 I guess that it's not possible to make an automatic phone call streaming a .wav file (or other format) and detect the input of the other person (receiver of the call). 我猜想不可能进行流式.wav文件(或其他格式)的自动电话呼叫并检测其他人(呼叫的接收者)的输入。

I'm want to make an app that calls me/or someone else and is waiting for input to do some action. 我想制作一个可以呼叫我/或其他人并且正在等待输入以执行某些操作的应用程序。 Is this scenario possible with VoIP in Android? Android中的VoIP是否可以实现这种情况? Any ideas? 有任何想法吗?

Thx 谢谢

You could use a cloud based telephony service like Tropo and Prophecy to achieve this requirement. 您可以使用TropoProphecy等基于云的电话服务来实现此要求。 These services allow you to make outbound calls and listen for either DTMF or voice input. 这些服务使您可以拨出电话并收听DTMF或语音输入。 They also stream .wav file for the person on the phone to listen to. 他们还会流式传输.wav文件,以便电话上的人收听。 You can trigger these calls from any application by just making an HTTP request to the services API, so it could be an Android app that initiates the call. 您可以通过向服务API发出HTTP请求来触发来自任何应用程序的这些调用,因此它可以是发起该调用的Android应用程序。 This solution is independent of the phone device (any mobile, VoIP phone, or land line) and it works on VoIP as well as PSTN. 该解决方案独立于电话设备(任何移动电话,VoIP电话或固定电话),并且可以在VoIP以及PSTN上运行。

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

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