Genesys CTI User Forum > Genesys-related Development

Statistics PSDK CurrentState for Agent

(1/4) > >>

gstkein:
Hello, IŽd like to know how to query the current state for an agent in order to know if he/she is Ready/NotReady/AfterCallWork for different medias.

Also how to know if the agent is logged in or not at all.

Thanks in advance for any information

Kubig:
Try to use Statistic with Category "CurrentTargetState" or "CurrentState".

gstkein:
Thanks that worked, I cannot filter status per media though.

I get status 4 for ready, 8 for not ready and 9 for acw, do you know if there is any documentation or Enum for interpreting theese numbers?

Thanks

Janis:
4 WaitForNextCall (Ready)
5 OffHook
6 CallDialing
7 CallRinging
8 NotReadyForNextCall
9 AfterCallWork
13 CallOnHold
16 ASM_Engaged
17 ASM_Outbound
18 CallUnknown
19 CallConsult
20 CallInternal
21 CallOutbound
22 CallInbound
23 LoggedOut

Janis:
We are using following stat to get detailed information about agent state:

Category=CurrentState
MainMask=*
Objects=Agent
Subject=DNAction

You should get list of all active actions by media. Do filtering in your code.

Navigation

[0] Message Index

[#] Next page

Go to full version