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?