Using Dialplan Functions, I am trying to distinguish between an agent being paused vs the agent actually being in a call. It appears that counts,statuses do not distinguish between this.
Is there a way to do this within the dialplan?
What do you exactly mean, are you using the asterisk queue app or a third party program
Unless you’re using custom device state these are the posibles device state, I dont know Paused state
I am currently using the Dialplan function QUEUE_MEMBER and loop through all the agents to get logged, ready, free, and paused counts. The issue with this is that paused is set when agent is unavailable(paused), or in-a-call. I want to distinguish between just unavailable and in-a-call.
I tried using the Dialplan function EXTENSION_STATE, but it is returning a status of UNKNOWN for every agent.
DEVICE_STATE is returning “INVALID” for every agent (PJSIP/Agent); where Agent = member in QUEUE_MEBER_LIST and I’m not sure why. I know the members are correct because I see the agents in the QUEUE and the calls work. I just can’t get the Agents true status. i.e. are they really in a call.