Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Roland on October 06, 2009, 08:56:20 AM

Title: Query Agent ID on T-Server
Post by: Roland on October 06, 2009, 08:56:20 AM
Hello,

can someone please tell me the method for querying agent state on T-Server using agent id? I want to check if agent is logged in or not using agent id.

I am using t-lib and Genesys activeX.

Title: Re: Query Agent ID on T-Server
Post by: victor on October 07, 2009, 03:42:17 AM
Roland,

if you are using Avaya PBX, it is very straight forward: Avaya does not distinguish between AgentID and DN per se, thus you can use TQueryAddress with type set to DN where DN = AgentID to see the current state of AgentID.

Unfortunately, this does not work for SIP Server... I wish there was a way to TQuery SIP Server and see where existing AgentID is currently logged in. Obviously, it should be there somewhere since it does not allow you to login with the same AgentID twice on the same server...