Author Topic: Query Agent ID on T-Server  (Read 2516 times)

Roland

  • Guest
Query Agent ID on T-Server
« 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.


Marked as best answer by on October 11, 2024, 01:21:32 AM

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: Query Agent ID on T-Server
« Reply #1 on: October 07, 2009, 03:42:17 AM »
  • Undo Best Answer
  • 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...