是否有可能使用C#来检测DTMF音 [英] Is it possible to detect DTMF tones using C#
问题描述
我想检测从电话线主叫方ID信息。收到的来电者ID信息是DTMF音频(不FSK)。我如何可以检测到这种DTMF音?是电话和传真调制解调器的能力呢?电话和传真调制解调器能够检测FSK信息,但不DTMF信息。
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.
注:我使用C#语言和.NET的开发平台。
Notes: I am using C# language and .NET as developing platform.
推荐答案
是的,调制解调器能够拿起DTMF的。这code项目文章应该会对如何使用TAPI做了一些线索:
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.$c$cproject.com/KB/ CPP / IVR.aspx
有关更现代的C#-ish项目,看这里:
For a more modern c#-ish project, look here:
HTTP://www.$c$cproject.com/KB/ IP / devangpro.aspx
这篇关于是否有可能使用C#来检测DTMF音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!