keypress

How can I get the input key from a phone pad after connected ? Is it ASCII code ?

Andrew
andrewyuAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rbrConnect With a Mentor Commented:
If your modem has a MFT-convertion, this could be read in from the serial port. I used such a modem long time ago and it returned the numerical value of the key (not ascii). It depends on your modem.
0
 
OttaCommented:
This seems to be a popular question, i.e.,
http://www.experts-exchange.com/topics/comp/os2/programming/Q.10071985
asks a quite-similar question,
but nobody has (yet) answered that question.
0
 
publicCommented:
Phone key pad generates touch tone electrical tones, or switch breaks in pulse mode. Neither is ascii code, or can be directly read by a computer. You need youch tone decoder box with a computer interface.
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
andrewyuAuthor Commented:
But, are they ASCII code after decode by modem ?

Andrew
0
 
OttaCommented:
> Neither is ascii code, or can be directly read by a computer.

Huh?  I just checked my voice-mail, and
the computer asked me to use the keypad to enter my "password".

Obviously, that computer was(!) able to convert the tones
generated by the keypresses into some sort (ASCII?) of codes,
so that my password could be verified ?!?!
0
 
andrewyuAuthor Commented:
If I read this from com port which is connect to modem, is it ascii code ?

Andew
0
 
andrewyuAuthor Commented:
What is MFT ?

Is the Hayes modem support this ?

Andrew
0
 
andrewyuAuthor Commented:
What is MFT ?

Is the Hayes modem support this ?

Anyway, thank you very much !

Andrew
0
 
rbrCommented:
MFT=are the tone codes you telephone sends when a key is pressed. This has nothing to do with a Hayes modem. I had a PSI Comstation (sorry I don't know which model) which was able to convert this codes.
0
 
andrewyuAuthor Commented:
So, after the Hayes modem decode the tone and send to the serial port, are they ASCII code ?

Andrew
0
All Courses

From novice to tech pro — start learning today.