| Author |
what is JTAPI ?
|
Mahmoud Hadad
Ranch Hand
Joined: Jan 09, 2006
Posts: 67
|
|
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) ??
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12267
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
Mahmoud Hadad
Ranch Hand
Joined: Jan 09, 2006
Posts: 67
|
|
|
thanks alot.but do you know how can i communicate with my internal modem?
|
 |
Mahmoud Hadad
Ranch Hand
Joined: Jan 09, 2006
Posts: 67
|
|
|
i mean using java or other languages like C++?
|
 |
Mahmoud Hadad
Ranch Hand
Joined: Jan 09, 2006
Posts: 67
|
|
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 thanks bill.
|
 |
 |
|
|
subject: what is JTAPI ?
|
|
|