Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Zaman on June 06, 2009, 04:57:47 PM

Title: how to get agent status using tlib TqueryAddress
Post by: Zaman on June 06, 2009, 04:57:47 PM
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?




Title: Re: how to get agent status using tlib TqueryAddress
Post by: René on June 07, 2009, 11:22:26 AM
Zaman,

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

R.
Title: Re: how to get agent status using tlib TqueryAddress
Post by: bcyk 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