Is it possible to detect DTMF tones using C#

烈酒焚心 提交于 2019-12-10 17:13:58

问题


I am trying to detect caller id information from telephone line. The caller-id information received is in DTMF tones (not FSK). How can I detect this DTMF tones ? Is Phone and Fax Modem capable of it ? The Phone and Fax Modem is capable of detecting FSK information, but not DTMF information.

Notes: I am using C# language and .NET as developing platform.


回答1:


Yes, modems are capable of picking up DTMF. This Code Project article should have some clues on how to do it with TAPI:

http://www.codeproject.com/KB/cpp/IVR.aspx

For a more modern c#-ish project, look here:

http://www.codeproject.com/KB/IP/devangpro.aspx




回答2:


You can try using a TAPI library and detecting DTMF is pretty basic stuff and most of them support it. Check out this library



来源:https://stackoverflow.com/questions/5951396/is-it-possible-to-detect-dtmf-tones-using-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!