Click to See Complete Forum and Search --> : Tone/pulse detection


aesthete
December 22nd, 2004, 02:23 AM
How do we detect tone/pulse coming into a modem from a standard telephone? I am using CreateFile to connect to the modem and ReadFile/WriteFile for I/O.

Boris K K
December 22nd, 2004, 04:31 AM
If you are communicating with the modem directly - I assume you are doing CreateFile("COMn", ...) - you will have to use modem's specific AT commands to enable digit monitoring. The commands and the format of the modem response should be documented either in the product brochure or on manufacturer's website.

It should be easier and much more portable to use TAPI, for example lineMonitorDigits (http://msdn.microsoft.com/library/en-us/tapi/tapi2/linemonitordigits.asp) or lineGatherDigits (http://msdn.microsoft.com/library/en-us/tapi/tapi2/linegatherdigits.asp).

aesthete
December 22nd, 2004, 05:05 AM
You are right, probably TAPI is the easiest solution to the problem. The thing is that i can't seem to be able to find TAPI SDK from anywhere. Maybe I am not looking at the right places. Could you guide on that ?

Marc G
December 23rd, 2004, 09:33 AM
I think the TAPI is part of the platform sdk of microsoft.

sakky_04
December 7th, 2005, 08:21 AM
Hai ,
i am sakkaravarthy, me too working in TAPI application developement , did you get solution for your problem? i am having same issue ,can you tell me how to detect DTMF by using tabi SDK (without using Activex ),if you have code please send it.

thank you