wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12676
    
    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: 12676
    
    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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: dialtones thru modem-InputStream
 
Similar Threads
RXTX: getting the port identifier associated with the modem and using AT commands
Response from modem dissapeared
qn about wireless router setup
serial port communication
WA #1.....word association