aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes what is JTAPI ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "what is JTAPI ?" Watch "what is JTAPI ?" New topic
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: 12769
    
    5
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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what is JTAPI ?