*
The moose likes Other JSE/JEE APIs and the fly likes dialtones thru modem-InputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "dialtones thru modem-InputStream" Watch "dialtones thru modem-InputStream" New topic
Author

dialtones thru modem-InputStream

Liza Boa
Greenhorn

Joined: Aug 16, 2001
Posts: 23
Hi
I have to write a piece of software taking over an InputStream from a modem connected to the parallel port. In this stream, keys toggled on the (remote) telephone have to be detected, like "if you want english instructions please press number 5" etc. Is there an Java API supporting this scenario? Thanx for your help!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
The last time I did anything like that was years ago. We had to use a specialized hardware interface that could "speak" recorded audio messages to the phone and detect touchtone responses. Your ordinary modem can't do that sort of thing so you better investigate the hardware first - you might find one with Java compatible driver software. I would be interested in what you find.
Bill
Liza Boa
Greenhorn

Joined: Aug 16, 2001
Posts: 23
Hi William
The Java Voice API (jtapi1.3) provides several methods for applications to detect and generate DTMF-tones on the telephone line. Comprehensible code-snippets are available on
java Sun
This should do it... .
Greetings, Liza
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Cool - is there special hardware involved?
Bill
Liza Boa
Greenhorn

Joined: Aug 16, 2001
Posts: 23
Nope. The API does it all... .
G.
Liza
 
wood burning stoves
 
subject: dialtones thru modem-InputStream
 
Similar Threads
RXTX: getting the port identifier associated with the modem and using AT commands
WA #1.....word association
qn about wireless router setup
Response from modem dissapeared
serial port communication