Queues - Show agents logged in (SOLVED)

Does anyone have a solution for showing who is logged into a queue other than going to the ASterisk CLI and doing a ‘queue show’? I’ve found one post that states that I can run a -/usr/local/sbin/ast-cmd cmd “show queues” >queues.txt-, but I don’t seem to have that command (ast-cmd). I’d like to be able to build a web page that does an automatic refresh of who is logged into a queue at any give time.

Try this from the linux cli:

/usr/sbin/asterisk -rx “show queues” > queues.txt

This will dump the queue info into the queues.txt file.


Appreciate the help!