Frequent Asked Questions


This is a list with the frequent asked questions about LongJTAPI:

Can I implement a telephone answering machine using LongJTAPI?

LongJTAPI uses in the current version a functionality to transfer the voice information between the modem/ISDN card and the sound card provided by the Windows operating system. LongJTAPI provide only the control functionality to establish and close the connection. There is no direct access to the voice streams inside of LongJTAPI. So it is not possible to write voice data from the modem/ISDN card to the ard disk or to read voice data from the hard disk an transfer it to the modem/ISDN card. In this time, I work on a implementation of the media interface to provide the media streams from and to the modem/ISDN card.

Can I implement a fax software using LongJTAPI?

LongJTAPI provide only the control functionality to establish and close the connection. There is no access possibility to the data on the wire. So it is not possible to receive and process the fax data from the wire.

Can I Implement a VoIP gateway using LongJTAPI?

LongJTAPI is able to handle only one incoming and one outgoing connection in the same time in the current version. There is no access to the voice data provided by the modem/ISDN card. So it is not possible to to convert the voice data of several connections to IP packet streams.

Can I implement a CTI server using LongJTAPI?

The special functionality of CTI servers is in the spezification of the CallCenter extension package of JTAPI. This extension package is not implemented in LongJTAPI in this time. Functionality like this ia also in the TAPI spezification of the Windows operating system. This functionality is supported only ba a limited number of TAPI drivers (mostly special PBX driver). The driver I use to implement and test LongJTAPI didn't suport this functionality. So it is not possible in this time to implement and test this functionality.

Is it possible to use LongJTAPI on Linux?

LongJTAPI use the TAPI interface of the Windows operating system to implement the JTAPI interface. So it is not possible to use LongJTAPI on Linux. Because TAPI is used only in the C++ part of the implementation and no hardware spezific informations (Handle, Pointer, ...) are managed in the Java part, it is theoretical possible to port the C++ part to Linux. But I have no time and no expirience for such a port. If someone will start with the port, I can support him with additional informations about the C++ part.

OutCall: "Exception: Can't get Provider"

The start of the test program OutCall finish with a error message like this:

OutCall: main start
Can't get Provider: javax.telephony.JtapiPeerUnavailableException: JtapiPeer: DefaultJtapiPeer could not be instantiated.

There is no default implementierung of the JtapiPeerFactory class in LongJTAPI. So you have to get a instance of the class JtapiPeer with the following call:

JtapiPeer peer = JtapiPeerFactory.getJtapiPeer( "de.longsoft.telephony.LTJtapiPeer" );

LongDialer: "Exception: Can't get Provider"

The start of the test program LongDialer finish with a error message like this:

LongDialer.initJTAPI: Exception: Can't get Provider
Exception message: JtapiPeer: de.longsoft.telephony.LTJtapiPeer could not be instantiated.
Exception class name: javax.telephony.JtapiPeerUnavailableException
javax.telephony.JtapiPeerUnavailableException: JtapiPeer: de.longsoft.telephony.LTJtapiPeer could not be instantiated.
at javax.telephony.JtapiPeerFactory.getJtapiPeer(Unknown Source)
at de.longsoft.LongDialer.LongDialer.initJTAPI(Unknown Source)
at de.longsoft.LongDialer.LongDialer.main(Unknown Source)

The archiv LongJTAPI_1_x.jar is not in the ClassPath.

LongDialer: "Exception: NoClassDefFoundError javax/... "

The start of the test program finish with a error message like this:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/telephony/ResourceUnavailableException

The archiv telephony_1_x.jar is not in the ClassPath.

LongDialer: "Exception: NoClassDefFoundError de/longsoft/Utilities/... "

The start of the test program finish with a error message like this:

Exception in thread "main" java.lang.NoClassDefFoundError: de/longsoft/Utilities/LUMissingConfigurationException

The archiv LongUtilities_1_x.jar is not in the ClassPath.

An incoming call shows "+++" instead of the address

The caller have no possibility to provide a address information or the providing of the address is permitted. So it is not possible to display a address.

X

Xxx


© Ralf Lange, longsoft Dresden
Comments & suggestions: webmaster form - Last Modification: 2007-03-01
Java and all Java based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the USA and in other countries. All other mentioned companies and product names are trademarks or registered trademarks of each manufacturer.