I want to get count of members who are ready to answer a call from a queue using AMI. Ready to answer a call means that they are "not in use", not "paused" and not on "wrap up time". Last part is tricky.

I have been using "command" action: "queue show queue-name" and parsing output but there is no information when an agent is on "wrap up time".

https://wiki.asterisk.org/wiki/display/ ... eueSummaryThere is a QueueSummary action which gives me the number of "Available" members, but I think it is an equivalent of "free" option in QUEUE_MEMBER function which does not consider "wrap up time":"free - Returns the number of logged-in members for the specified queue that either can take calls or are currently wrapping up after a previous call."