How to know the STATE of a Queue?


#1

Hi!
Exist a function called DEVICE_STATE() to know the state of a device, but; How to know the state of a Queue?
Ex; DEVICE_STATE(Queue(Support)) ??

How can i know the STATE?


#2

Queue show, shows all the statistics for the queue, answered calls, agents logged, agent last call, time of call waiting etc.


#3

Right! But that is ONLY from the CLI. But if i want to KNOW the STATE of a Queue from the dialplan to know what to do with the call?


#4

Hi

Set a custom devstate as a call enters a queue may be a possible answer
But you have to worko out a way of unsetting it when the call is answered.
voip-info.org/wiki/view/Aste … vice_State

other than that groupcount is another option