[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Help abt playing file over MODEM



Hi,
I have a related problem, but mine is how to play a sound file over a modem.
At the moment I am unable to send a sound file's content and have the
sound audible at the other end of the line, I get noise instead. I've
tried several files that are mono, 8000Hz, 8 bit.
I am working on a low cost Interactive Voice Response (IVR) project
using a modem connected to the COM port on a PC. My platform is Linux
(Fedora 2) and am using Java (javax.comm) to send AT commands to the
modem connected to the COM port and get responses from it. So far the
application is able to send AT commands to the modem (US Robotics
Voice Fax modem), change the modem state for example from data to
voice by sending AT#CLS=8 successfully and it is even able to detect a
ring and can pick up the phone. To send (play) the greeting voice file
over the modem, obtaining the output stream for the COM port and then
writing to it byte by byte, but at the other end of the receiver I
only hear noise, kindly advise.

Allan.



Reply to: