56K voice modem dial and audio redirect in Java
I am interesting in doing a project using 56K voice modem(normal modems that comes with pcs) to dial connected PSTN. After other party left the receiver, I am hoping to play a music or recorded voice clip to listen to them with the response of therm.
Java is my preferred language and I know that Java Communication API is there for that to control the modem via AT commands. I have already did some testings on this and I can dial the phone line using at commands.
My problem is to receive and send the audio steam from/to modem. If some one having any idea, code, examples, urls or any resource pls share with this forum.