aspose file tools*
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
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: 12781
    
    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: 12781
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dialtones thru modem-InputStream