hi all, i have two small questions about the JTAPI.can JTAPI be used on computers connected to phone socket(i mean from a pc to the phone socket that is located on the wall) to make calls and so on?if it can then why am i getting this exception: Can't get provider javax.telephony.JtapiPeerUnavailableException: JtapiPeer: DefaultJtapiPeer could not be instantiated. i was trying to run the example called OutCall in the JTAPI documentation.
and if it can't then how can i make an application that makes a call for example from my pc that is connected to the phone socket that is connected to the wall.(PC/Modem/Phone Socket) ??
Writing Java that can control a modem probably requires the COMM api - assuming that the modem "lives" on a serial port. Sun used to provide a COMM package but dropped it. You can try the rxtx web site here for a serial port control package. Bill
Joined: Jan 09, 2006
thanks alot.but do you know how can i communicate with my internal modem?
William brogden wrote: You have to find out how your internal modem is configured. In windows, use the control panel - Phone and Modem options - modems tab. In one of my machines it shows the internal modem is configured as COM3 - a serial port. Therefore you would use the COMM API to talk to COM3 to control the modem. Bill