Re: JTAPI - Help....

Richard Deadman <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Patrick,

JTAPI is simply an API and is no good unless you have an
"implementation" that conforms to the API. All Sun provides are the API
classes, and as you note, some of the source is missing.

For your v1.1 and v1.2 problems, you need to get a JTAPI implementation
and plug it into JTAPI. The two easiest ways to do this are:

    * Call JtapiFactory.getJtapiPeer("XXX") with "XXX" being the class
      name of the Peer supplied by your implementation.
    * If the "implementation" supplies a "DefaultJtapiPeer" in the
      "default" (nameless) package, put it on the classpath and use
      "null" as a Peer name. The JtapiPeerFactory will pull the default
      Peer from the first one found on the classpath.

As for v1.3, the missing source is available here:
https://sourceforge.net/project/showfiles.php?group_id=40963&package_id=89442
along with precompiled classes.

Next up: find yourself an implementation appropriate for the telephony
gear you are connecting to. POTS, ISDN, VOIP, etc.

Cheers,


Richard

Patrick Renan Bernardes Maestri wrote:

> Hello All,
>
> I´d like some help....
> I have downloaded the three versions of JTAPI, but:
> v1.1 => didn´t work, because when I compile it and then have tried to
> execute a sample, it gives a security exception (After study the java
> sources I have seen that ClassLoader verifies if some package
> startsWith "java", then it throws a security exception . I have
> changed to javax, and then recompile it, ok. It passed by this. But
> when I´ve tried to do JtapiFactory.getJtapiPeer(null); => it didn´t
> find a Default JtapiPeer. I have seen the code and find that it didn´t
> map a default class (when it does class.forName(jTapiPeerName))
> jTapiPeerName="" (this is the value inside it)....
>
> v1.2 => In this version, this two bugs are Ok. But It didn´t has find
> the class (DefaultJtapiPeer). In version 1.3 it didn´t exists yet....
>
> v1.3 => I can´t compile, there are some classes that aren´t there....
>
> Please, I wanna some solutions, because I wanna use this for a RAS
> connection....
> I though to use Java Communication API. But I don´t know if I have to
> use for this ....
>
> Patrick
> Compasso Informática
> CellPhone: (+55) 51 9124-4938
> Phone: (+55) 54 311-2956
> Brazil - Rio Grande do Sul - Porto Alegre
>


--
Richard Deadman
Deadman Consulting
http://www.deadman.ca
mailto:[email protected]
Office: 613-231-5112
Cell: 613-220-2469
Fax: 805-980-5818



===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.