Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

what is JTAPI ?  RSS feed

 
Ranch Hand
Posts: 67
  • 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) ??
 
Author and all-around good cowpoke
Posts: 13078
6
  • 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
  • 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
  • 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
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!