RE : [JTAPI] Avaya specific question

Patrick Szleg <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAABLHH2XzdOUqiWL1wW7zsAsKAAAAQAAAA8KkIhY5BI0mclHW8BnTYbgEAAAAA@club-internet.fr>
Hi Phil,

If I have correct remembers, it is built like a pipe. So, each time you
call the function, you only get one reference. 

For getting all the devices, all you have to do is a loop until the end
of the pipe has been reached.

Please let me know if it works...

Best regards,

Patrick SZLEG (ex Avaya PSO...)
 
Tél : (+33) 6 61 34 05 46
Mail : [email protected]
 


-----Message d'origine-----
De : Discussion list for Java Telephony API
[mailto:[email protected]] De la part de Phil Crick
Envoyé : vendredi 18 juin 2004 16:10
À : [email protected]
Objet : [JTAPI] Avaya specific question

I've got quiet a simple question but don't seem to be able to find the
answer anywhere so maybe you guys can help.

We've got an avaya PBX and are using the CT Server running on NT 2000.
I'm
trying to use JTAPI to find out who is currently logged onto the PBX:

....
String providerString =
 "AVAYA#DEFINITY#CSTA#NT11;loginID=administrator;passwd=*****";

JtapiPeer jtapiPeer = JtapiPeerFactory.getJtapiPeer(null);
Provider provider = jtapiPeer.getProvider(providerString);
....

This piece of code seems to work fine, however when I run this piece of
code:

Address[] addresses = provider.getAddresses();

I only get one address, (AllRouteAddress). I know for a fact that there
are
about 300 people using the PBX - so where have they all gone? Is this
the
correct way to find out who is logged in to the PBX or have a missed
something?

Also if I run the same code against the Avaya simulator I get the same
results even though there are about 10 or so phones connected to the
simulator. None of the Avaya examples work nor do the Sun examples -
they
all connect but then fail when they try and do anything useful - like
make
a connection between two addresses.

Any help greatly appreciated.

Phil Crick

========================================================================
===
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".

===========================================================================
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.