Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我读过一些关于 Android 中 DTMF 的文章。我想不可能通过流式传输 .wav 文件(或其他格式)进行自动电话呼叫并检测其他人(呼叫接收者)的输入。
我想制作一个应用程序来呼叫我/或其他人并等待输入以执行某些操作。Android中的VoIP可以实现这种情况吗?有任何想法吗?
谢谢
您可以使用Tropo和Prophecy等基于云的电话服务来实现此要求。这些服务允许您拨打外线电话并收听 DTMF 或语音输入。他们还流式传输 .wav 文件供电话中的人收听。您可以通过向服务 API 发出 HTTP 请求从任何应用程序触发这些调用,因此它可以是发起调用的 Android 应用程序。此解决方案独立于电话设备(任何移动电话、VoIP 电话或固定电话),它适用于 VoIP 和 PSTN。