Re: newbie question: recognize dtmf.



Jack,

this is described in the MDK part of the DDK (Device Driver Development
Kit).

<snip>
The GenerateDigit entry is used to generate a DTMF digit while in voice
mode. For example, smpvoice.inf uses the following value for the
GenerateDigit key:

HKR, GenerateDigit, 1,, "at#vts=<Digit><cr>" (generate tone signal
<Digit>)

</snip>

There is no specific command Unimodem uses to put a modem in digit detection
mode. If the modem requires a certain command to detect digits, this must
probably be part of the voice mode activation command sequence.
When you call lineDetectDigits you just activate the notification mechanism
in Unimodem TSP.

Digit detection DLE codes seem standardized, there are no specific inf
entries. When you create a modem log you should always see some modem
responses about digits received.

When you encounter a modem that does not detect digits I would suggest the
following:

- don't playback or record any audio
- check if it supports lineGenerateDigits
if not I'd say that the modem does not
support DTMF at all

- generate a digit from the remote side and
see if something is logged in the modem log
if not, you should find the AT command reference
for the modem in question or the chipset used by the
modem and see if there is an AT command required to
activate digit detection

- you see some responses related to detected digits in
the modem log but your application does not get notified,
you should try with TAPI browser. If it doesn't work with
TB, it should be a problem with Unimodem (unlikely, though),
otherwise it would be a problem with your application


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"Jack" <replyTo@newsgroup> wrote in message
news:%23NAsx2PKGHA.1760@xxxxxxxxxxxxxxxxxxxxxxx
I admit that 50/50 estimate is not the result of scientific research :-)
The fact is, that when I receive an inquiry from the potential user of my
software who wants to receive or send DTMF tones (and this is regardless
from the ability to play wave files), in 90% of cases that person has a
modem which is NOT capable of doing that).
Maybe should I create list of such modems someday?
I do have test results from various models and if you are interested in I
can share it with you.
On other hand, I'd never divulged into modem's ini file details.
What is the correct entry for that?
Jack

"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:ucjcWaEKGHA.3352@xxxxxxxxxxxxxxxxxxxxxxx
Jack,

our observations are a bit different: 90% of all voice modems we tested
were
able to detect DTMF. Very few of them weren't able to detect DTMF during
playback but during record.

Actually there aren't really a lot of different modem chipsets available
anymore, so probably in most cases it's rather an incorrectly authored
inf
file than the modem (=its chipset) itself.


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"Jack" <replyTo@newsgroup> wrote in message
news:OhjEecBKGHA.3936@xxxxxxxxxxxxxxxxxxxxxxx
From my observations:
split 50/50:
half modems on the market do not support that.
Jack

"Grant Schenck" <schenckg@xxxxxxxxxxxxx> wrote in message
news:OUaY9k$JGHA.2212@xxxxxxxxxxxxxxxxxxxxxxx
Well I'll be...

I'm probably wrong but are you sure the caps are correct? If you
call
lineMonitorDigits on a call does it fail?
--
Grant Schenck
http://grantschenck.tripod.com

"Jack" <replyTo@newsgroup> wrote in message
news:ehT3Kk2JGHA.584@xxxxxxxxxxxxxxxxxxxxxxx
I dealed with many modems which do not support lineMonitorDigits.
See 3 samples below:
==================
LineNo: 0--Windows Telephony Service Provider for Universal Modem
Driver--Actiontec MD56ORD V92 MDC Modem--1 MediaMode: 14
dwGenerateDigitModes: 0 dwMonitorDigitModes: 0

LineNo: 0--Windows Telephony Service Provider for Universal Modem
Driver--Agere Systems PCI Soft Modem--1 MediaMode: 14
dwGenerateDigitModes:
0 dwMonitorDigitModes: 0

LineNo: 0--Windows Telephony Service Provider for Universal Modem
Driver--Compaq Presario 56K-DF--1 MediaMode: 14
dwGenerateDigitModes:
0
dwMonitorDigitModes: 0

Jack

"Grant Schenck" <schenckg@xxxxxxxxxxxxx> wrote in message
news:uWEekY2JGHA.2708@xxxxxxxxxxxxxxxxxxxxxxx
Do you mean lineGatherDigits? Every modem I've ever seen support
lineMonitorDigits.
--
Grant Schenck
http://grantschenck.tripod.com

"Jack" <replyTo@newsgroup> wrote in message
news:uRbcApqJGHA.3904@xxxxxxxxxxxxxxxxxxxxxxx
not every modem supports that operation.

"sholzer" <sharonchick@xxxxxxxxx> wrote in message
news:1138698848.459888.110340@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi all,
i want to make an application that will determine what digit
did
the
user press on the phone.
i am developing in vb6.
what is the simplest way to do that ?
Do I need something other then a simple modem ?
thanks
sharon

















.



Relevant Pages

  • Re: TAPI3 Detect DTMF at High Speed
    ... > Therefore, for every digit, it sent out a start digit and a stop digit. ... > Matthias Moetje: ... I did checked the modem log and found out that the ... >> then your modem is not able to detect the tones properly. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: newbie question: recognize dtmf.
    ... > i want to make an application that will determine what digit did the ... > user press on the phone. ... > Do I need something other then a simple modem? ... Prev by Date: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Telephone : Checking for "RTS"
    ... Uses a Mitel/Marlink DTMF decoder. ... searched for "dutch caller id" ... I'm not at all sure what you mean with "a modem and a DAA", ... signal has been sent the polarity should reverse to the opto and drop ...
    (sci.electronics.design)
  • Re: Phone line interface for DTMF
    ... I already thought using a modem. ... I would use a 600 ohms phone line transformer ... deliver enough audio level of DTMF. ...
    (sci.electronics.design)
  • Re: Program work fine at home (direct line) but test at office (not direct line) have problem
    ... > to do something it work all fine at home, but at office every first digit is ... generate DTMF to tell user to press button ... Can you reproduce the issue with TAPI Browser TB3x? ...
    (microsoft.public.win32.programmer.tapi)