Java
--
Questions
--
Followers
Top Experts
I download sourceForge but doesnt tell me how to make it run and work
anyone who points me any web sites i can find information would be greatly apprciated
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ftp://ftp.prenhall.com/pub/ptr/professional_computer_science.w-022/roberts/essential_jtapi/
http://free-jtapi.westhawk.co.uk/free-jtapi/implementations.html
http://www.zurich.ibm.com/csc/distribsys/j323/j323-8.html
http://www.devdaily.com/Dir/Java/Articles_and_Tutorials/JTAPI/
http://tinyurl.com/a34zh
https://www.experts-exchange.com/questions/10341514/Problems-on-JTAPI.html
https://www.experts-exchange.com/questions/21470963/What-is-the-java-provider-string-for-the-microsoft-tapi-interface.html
https://www.experts-exchange.com/questions/21025678/JTAPI.html
Which exact implementation of JAPI will you be using?
Other from this: Actually google have quiote a lot hits as far as I remember :)
Have you looked at these sites (found them using Google :) )
http://www.zurich.ibm.com/csc/distribsys/j323/j323-8.html
http://www.amazon.com/Essential-JTAPI-Spencer-E-Roberts/dp/013080360X
Regards,
Tomas Helgi
The first site is also in my list and the second is the paper book the sources for which are in my first link :)






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I didn't see your post until after I posted mine.
Regards,
Tomas Helgi
We are using phone CISCO
my computer has already been connected to my telephone.
My question is do i need to download the emulator DDL file from the CISCO for that phone type.
cos no matter what i try i still got the following message
net.xjtapi.XJtapiPeer could not be instantiated.
i has increase the points hopefully you experts can give me some hints
thankyou

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Does this link help : http://forum.java.sun.com/thread.jspa?threadID=469061&start=0
Regards,
Tomas Helgi
That is what I have been trying
Do i need to download SIP provider DDL in order to create an instance using jtapi??
And you never answered my question - which implementation of jtapi are you using?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Answer
Java
using java.sun.com example
I have checked my PC Control Panel|Service and found one entry
Telephony - Provides telephony API (TAPI) support for progams that control telephony devices and IP based voice
net.xjtapi.XJtapiPeer could not be instantiated.
http://sourceforge.net/projects/xtapi/
Can you confirm?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I follow the info from the above link but i get the error net.xjtapi.XJtapiPeer could not be instantiated.
Do i need to install any JTAPI client software?
First - had you seen this? - http://sourceforge.net/docman/display_doc.php?docid=10406&group_id=49686
and had you followed it? Especially the part for the provider.
Can you also tellme which example from here: http://sourceforge.net/docman/?group_id=49686 you try?
http://sourceforge.net/project/showfiles.php?group_id=49686&package_id=43589&release_id=98523
and include jtapi-1.3.1.jar in the class path
I run again and got the following error
Can't get Provider: javax.telephony.JtapiPeerU






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
# Newer NT Based OS’s such as Windows 2000 and XP work fine.
# You must create the provider as such to invoke the MSTAPI provider:
* myprovider = peer.getProvider(null);
My Incall program in which I have created a log file using Log4j
==========================
public class InCall {
private static CreateLog4J sLog = new CreateLog4J();
public static final void main(String args[]) {
/*
* Create a provider by first obtaining the default implementation of
* JTAPI and then the default provider of that implementation.
*/
try {
sLog.LaunchLogFile();
} catch (Exception e) {
// TODO
}
Provider provider = null;
try {
JtapiPeer peer = JtapiPeerFactory.getJtapiP
// JtapiPeer peer = JtapiPeerFactory.getJtapiP
provider = peer.getProvider(null);
} catch (Exception excp) {
System.out.println("Can't get Provider: " + excp.toString());
System.exit(0);
}
==========================
Now i get different errors like below
xception in thread main
java.lang.NoClassDefFoundE
at net.sourceforge.gjtapi.tes
at java.lang.Class.forName0(N
at java.lang.Class.forName(Cl
at net.sourceforge.gjtapi.raw
at net.sourceforge.gjtapi.raw
at net.sourceforge.gjtapi.raw
at net.sourceforge.gjtapi.Gen
at InCall.main(InCall.java:26
Process exited with exit code 1.
==========================
I run the debugger, the error is caused by
provider = peer.getProvider(null);
Please advise. It seems to be getting better at least it net.xtapi.XJtapiPeer can be instantiated.
That's why i dont understand
-classpath C:\jdevstudio1013\jdev\myw
D:\Jtapi-phone\jtapi-1.3.1
D:\Jtapi-phone\Example\sou
D:\Jtapi-phone\Example\sou

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
See below linke.
http://72.14.253.104/search?q=cache:f1qhNEn99lcJ:cvs.sourceforge.net/viewcvs.py/gjtapi/src/doc/Tapi3.pdf%3Frev%3D1.4+net.sourceforge.gjtapi.test.tapi3.Tapi3Logger&hl=en&gl=au&ct=clnk&cd=1&client=firefox-a
log4j.xml should contain basically only the log4j configuration.
How do you invoke your program?
Have you worked on the tapi using SourceForge.net before?
I can't find the tapi3Provider.dll as the specification mentioned it before
There is nothing to install in order to use the Tapi3 provider. Just make sure that all jars
and needed props files (GenericResources.props, GenericCapabilities.props,
etc.) are in your classpath and that Tapi3Provider.dll is in your java.library.path






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I add the below, but i got the same error:
-Dlog4j.configuration=C:\l
Exception in thread main
java.lang.NoClassDefFoundE
log4j.properties
log4j.rootLogger=INFO, CON
log4j.appender.CON=org.apa
log4j.appender.CON.layout=
log4j.appender.CON.layout=
**************************
*** I think the problem is
log4j is failing in trying to load
the org.apache.log4j.ConsoleAp
sun.misc.Launcher$AppClass
cannot be a child of both of the Junit classloaders.
Exception breakpoint occurred at line 205 of URLClassLoader.java.
Yeah - 3 years ago :)
The problem most likely is the version of the log4j or that it is simply missing ( or you have 2 of these)... :(So can you post the full line you start your programn with
As for the dll - I remember creating it. Here are some hints how: https://sourceforge.net/tracker/index.php?func=detail&aid=1578794&group_id=40963&atid=429338

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I've posted two questions re this. I will give all points to you. No matter this is solved or not.
I do appricate your help
Thought you can copy the dll file, Tapi3Provider.dll
I know nothing about visual studio. We are Oracle and java developer.
Do you mind send me the dll file?
or check if i have 2 of these files...
. would you give me the step how to create a dll? The problem is I dont have visual studio






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Unfortunatelly I do not have it. As I said somewhere - I worked on this quite a while ago.:(
With the JTApi? I do not really remember - I do not have it installed here..I have like 7 versions in my system
Wait a second. What does the method CreateLog4J does?
Venabili
i really hope i can solve this problem as i have already spent alot of effort and your help
i remote the create log bean
==
to Test i use sourceForget given code
==========================
package net.sourceforge.gjtapi.tes
import java.io.*;
import javax.telephony.callcontro
import javax.telephony.events.*;
import javax.telephony.*;
/**
* Simple test script for the emulator raw provider that tests if Address.addCallObserver() and
* Address.addCallListener() are both working properly.
* Creation date: (2000-02-03 15:40:58)
* @author: Richard Deadman
*/
public class TestIncomingCallListenerOb
/**
* callActive method comment.
*/
public void callActive(javax.telephony
System.out.println("5.1.1:
}
/**
* callEventTransmissionEnded
*/
public void callEventTransmissionEnded
System.out.println("5.1.3:
}
/**
* callInvalid method comment.
*/
public void callInvalid(javax.telephon
System.out.println("5.1.2:
}
/**
* Convert the event cause string to a cause.
* Creation date: (2000-05-01 9:58:39)
* @author: Richard Deadman
* @return English description of the cause
* @param cause The Event cause id.
*/
public String causeToString(int cause) {
switch (cause) {
case Event.CAUSE_CALL_CANCELLED
return "Call cancelled";
}
case Event.CAUSE_DEST_NOT_OBTAI
return "Destination not obtainable";
}
case Event.CAUSE_INCOMPATIBLE_D
return "Incompatable destination";
}
case Event.CAUSE_LOCKOUT: {
return "Lockout";
}
case Event.CAUSE_NETWORK_CONGES
return "Network congestion";
}
case Event.CAUSE_NETWORK_NOT_OB
return "Network not obtainable";
}
case Event.CAUSE_NEW_CALL: {
return "New call";
}
case Event.CAUSE_NORMAL: {
return "Normal";
}
case Event.CAUSE_RESOURCES_NOT_
return "Resource not available";
}
case Event.CAUSE_SNAPSHOT: {
return "Snapshot";
}
case Event.CAUSE_UNKNOWN: {
return "Unknown";
}
}
return "Cause mapping error: " + cause;
}
/**
* Starts the application.
* @param args an array of command-line arguments
*/
public static void main(java.lang.String[] args) {
// Report error if insufficient parameters passed in
if (args.length < 2) {
System.err.println("Usage:
System.exit(1);
}
test(args[0], args[1]);
}
/**
* multiCallMetaMergeEnded method comment.
*/
public void multiCallMetaMergeEnded(ja
System.out.println("X.X: Multicall merge ended event with cause: " + this.causeToString(event.g
}
/**
* multiCallMetaMergeStarted method comment.
*/
public void multiCallMetaMergeStarted(
System.out.println("X.X: Multicall merge started event with cause: " + this.causeToString(event.g
}
/**
* multiCallMetaTransferEnded
*/
public void multiCallMetaTransferEnded
System.out.println("X.X: Multicall transfer ended event with cause: " + this.causeToString(event.g
}
/**
* multiCallMetaTransferStart
*/
public void multiCallMetaTransferStart
System.out.println("X.X: Multicall transfer started event with cause: " + this.causeToString(event.g
}
/**
* Prompt for user input.
* Creation date: (2000-02-17 10:49:50)
* @author: Richard Deadman
*/
protected static void prompt() throws IOException {
InputStream in = System.in;
System.out.println("Hit return to continue...");
// wait
in.read();
in.skip(in.available());
}
/**
* singleCallMetaProgressEnde
*/
public void singleCallMetaProgressEnde
System.out.println("X.X: Multicall progress ended event with cause: " + this.causeToString(event.g
}
/**
* singleCallMetaProgressStar
*/
public void singleCallMetaProgressStar
System.out.println("X.X: Multicall progress started event with cause: " + this.causeToString(event.g
}
/**
* singleCallMetaSnapshotEnde
*/
public void singleCallMetaSnapshotEnde
System.out.println("X.X: Singlecall snapshot ended event with cause: " + this.causeToString(event.g
}
/**
* singleCallMetaSnapshotStar
*/
public void singleCallMetaSnapshotStar
System.out.println("X.X: Singlecall snapshot started event with cause: " + this.causeToString(event.g
}
/**
* Performs a series of unit tests
* @param args an array of command-line arguments
*/
public static void test(String providerName, String listeningAddr) {
java.io.PrintStream out = System.out;
// Get a JTAPI Peer
JtapiPeer peer = null;
try {
peer = JtapiPeerFactory.getJtapiP
out.println("1.1: Successfully loaded the JTapi Peer");
} catch (JtapiPeerUnavailableExcep
out.println("1.1: Failed to locate Peer with the factory");
jpue.printStackTrace();
System.exit(1);
}
// Ask it for the Emulator Provider
Provider prov = null;
try {
System.out.println("TestIn
System.exit(1);
prov = peer.getProvider(providerN
out.println("1.2: Successfully loaded Provider");
} catch (ProviderUnavailableExcept
out.println("1.2: Failed to load Provider");
pue.printStackTrace();
System.exit(1);
}
try {
// Load the Address
out.print("2.1: Attempting to get address...");
Address addr = prov.getAddress(listeningA
out.println(" success.");
TestIncomingCallListenerOb
// assocate an observer with the Address
out.print("1.0: Setting an observer on the address...");
addr.addCallObserver(obsLi
out.println("success.");
// associate a listener with the Address
out.print("1.1: Setting a listener on the address...");
addr.addCallListener(obsLi
out.println(" success.");
// Notify progress
System.out.println("Waitin
prompt();
System.out.println("Provid
prov.shutdown();
Thread.sleep(1000);
} catch (Exception e) {
out.println(" failure: " + e);
e.printStackTrace();
}
}
/**
* Describe myself
* @return a string representation of myself
*/
public String toString() {
return "Simple test class for testing call listeners and observers on an Address";
}
/**
* Report old-style observer events on a call attached to the Address.
* @see javax.telephony.CallObserv
*/
public void callChangedEvent(CallEv[] eventList) {
String event = null;
int id = eventList[0].getID();
switch(id) {
case CallActiveEv.ID: {
event = "call active";
break;
}
case CallInvalidEv.ID: {
event = "call invalid";
break;
}
case ConnAlertingEv.ID: {
event = "Connection alerting";
break;
}
case ConnConnectedEv.ID: {
event = "Connection connected";
break;
}
case ConnCreatedEv.ID: {
event = "Connection created";
break;
}
case ConnDisconnectedEv.ID: {
event = "Connection disconnected";
break;
}
case ConnFailedEv.ID: {
event = "Connection failed";
break;
}
case ConnInProgressEv.ID: {
event = "Connection in progress";
break;
}
case ConnUnknownEv.ID: {
event = "Connection unknown";
break;
}
case TermConnActiveEv.ID: {
event = "Terminal Connection active";
break;
}
case TermConnCreatedEv.ID: {
event = "Terminal Connection created";
break;
}
case TermConnDroppedEv.ID: {
event = "Terminal Connection dropped";
break;
}
case TermConnPassiveEv.ID: {
event = "Terminal Connection passive";
break;
}
case TermConnRingingEv.ID: {
event = "Terminal Connection ringing";
break;
}
case TermConnUnknownEv.ID: {
event = "Terminal Connection unknown";
break;
}
default: event = "unknown: " + id;
}
System.out.println("Observ
}
/**
* connectionAlerting method comment.
*/
public void connectionAlerting(javax.t
System.out.println("5.3.3:
}
/**
* connectionConnected method comment.
*/
public void connectionConnected(javax.
System.out.println("5.3.4:
CallControlCall call = (CallControlCall)event.get
System.out.println("Callin
System.out.println("Called
}
/**
* connectionCreated method comment.
*/
public void connectionCreated(javax.te
System.out.println("5.3.1:
}
/**
* connectionDisconnected method comment.
*/
public void connectionDisconnected(jav
System.out.println("5.3.5:
}
/**
* connectionFailed method comment.
*/
public void connectionFailed(javax.tel
System.out.println("5.3.6:
}
/**
* connectionInProgress method comment.
*/
public void connectionInProgress(javax
System.out.println("5.3.2:
}
/**
* connectionUnknown method comment.
*/
public void connectionUnknown(javax.te
System.out.println("5.3.7:
}
}
==========================
not i got different error associated with Tapi3Provider
That's understandable as i dont have Tapi3Provider.dll
which sites i can find or how to i build one please help
Caused by: java.lang.UnsatisfiedLinkE
at java.lang.ClassLoader.load
at java.lang.Runtime.loadLibr
at java.lang.System.loadLibra
at net.sourceforge.gjtapi.raw
... 8 more

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
- Use the 2003 Windows Platform SDK, not the newer R2
- Use Visual Studio 6
- Include the platform sdk files as the very first in
visual studio. Sequence matters.
I do not understand the above instruction at all
Look like I wont be able to do it as I have no technical backgroud for building a DLL. ( No development tool as well)
Do you have any suggestion i can use such as SIP,etc?
It doesnt matter what methods we use. the most important i need to build a program to capture the incoming phone number.
Thanks






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
but very thanks for giving me all the useful info.
I was sick for a few days so I can't update.
Java
--
Questions
--
Followers
Top Experts
Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.