" /> how to get agent status using tlib TqueryAddress - Genesys CTI User Forum

Author Topic: how to get agent status using tlib TqueryAddress  (Read 3617 times)

Zaman

  • Guest
how to get agent status using tlib TqueryAddress
« on: June 06, 2009, 04:57:47 PM »
Advertisement
I need to know the agent status using tlib. For this i tried the the following queries

TQueryAddress(this->serverHandle,
NULL,
"4201", // Extension ID
AddressTypePosition,
AddressInfoAddressStatus,
NULL);

TQueryAddress(this->serverHandle,
NULL,
"4201", // Extension
AddressTypeDN,
AddressInfoDNStatus,
NULL);
       
             TQueryAddress(this->serverHandle,
NULL,
"4201",
AddressTypeDN,
AddressInfoAddressStatus,
NULL);

with genesys starter application showing the status of the agent  "Ready"

In returning event it shows the status of the agent = AgentWorkModeUnknown

Can any body help me to figure out how i can get the agent status using tlib?





Marked as best answer by on Today at 07:00:10 AM

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: how to get agent status using tlib TqueryAddress
« Reply #1 on: June 07, 2009, 11:22:26 AM »
  • Undo Best Answer
  • Zaman,

    What PBX/switch do you have? Could you post here snippet of T-Server log showing your request and response (event)?

    R.

    Offline bcyk

    • Full Member
    • ***
    • Posts: 113
    • Karma: 6
    Re: how to get agent status using tlib TqueryAddress
    « Reply #2 on: June 07, 2009, 04:29:11 PM »
    Responses for similar question can be found in
          http://www.sggu.com/smf/index.php/topic,4051.0.html