Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Remits on June 20, 2007, 08:30:26 PM

Title: Find an agent's status before he logs on
Post by: Remits on June 20, 2007, 08:30:26 PM
Hi

How can I find what the status of an agent is before he logs on.  I am trying to prevent an agent from logon twice.  Currently an agent can logon with the same agent-id and using the same place twice on the same Desktop.  An agent can also do the same using two different machines as long as the first instance is in NOT READY mode.  I'm using Agent Interaction SDK 7.2 (Java API).

Thanks,

Dave.
Title: Re: Find an agent's status before he logs on
Post by: victor on June 21, 2007, 09:24:13 AM
Dave:

You can find the code here :

http://www.sggu.com/smf/index.php/topic,2258.0.html

you use user0data in EventRegistered to see if agent is logged in or not. :)

Best regards,
Vic