I'm trying to write a guery to find out how many agents are currently available.
I have attached the query I'm currently using, and the response which gets total agents in available state.
However, if the agent is currently engaged in a call, and I r...