Taptu¶ said:
How can I retrieve data from modem ? For ex. I have established connection
from dial-up and I want to get voice from modem and save it. Is it
possible
Yes. However, it is anything but easy.
When you say "dial-up" if you are referring to dial-up networking known
formally as Remote Access Services (RAS) then I think that if there is a
solution you will have to come up with one yourself.
However, if your modem uses the Unimodem TSP (telephony service provider),
and if it models its input and output units as Windows waveform devices,
then you can use the Telephony API (TAPI) to make or receive a telephone
call, ask TAPI to get the device ID of the remote party's "microphone", and
use the waveform API (waveInOpen() etc ) to gain access to the audio stream.
That done, you can write a RIFF header to a file and append to it the
digitized audio samples that you read from the microphone.
It is not a task for the faint of heart.
Regards,
Will