Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is JTAPI ?

 
Mahmoud Hadad
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks alot.but do you know how can i communicate with my internal modem?
 
Mahmoud Hadad
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean using java or other languages like C++?
 
Mahmoud Hadad
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic