Re: Avaya specific question

Elliot Otchet <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Assuming you're talking about "users" of the "call center"

Try exploring the method getLoggedOnAgents in the call center package.  It's
not as simple as calling this from the Provider as you'll need to look at
the agents on an ACD by ACD basis, but that's not really hard to do in Java.

Good luck.

Regards,

Elliot

-----Original Message-----
From: Discussion list for Java Telephony API
[mailto:[email protected]] On Behalf Of Phil Crick
Sent: Friday, June 18, 2004 10:10 AM
To: [email protected]
Subject: [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.