As a system administrator, you might want to monitor various queues and agents with their status. Here are some commands you will find useful when monitoring and troubleshooting queues and agents. These commands are run from the Asterisk CLI. This is accessed by initiating an SSH connection to your VitalPBX installation and running the asterisk -rvvvv command.
- Queue Show – This command shows you the logged-in agents and their current status in a queue. If no queue is entered, all queues are shown.
queue show Q<queue_number>
- Queue Add Member – This adds a new member to a queue. Using a dial string (such as SIP/6001) to a queue with an optional penalty, member name, and a state interface.
queue add member <dial string> to <queue> [[[penalty <penalty>] as <member name>] state_interface <interface>]
- Queue Remove Member – Remove a specific channel from a queue.
queue remove member <channel> from <queue>
- Queue Reset Stats – Resets the gathered statistics from a queue.
queue reset stats Q<queue>
These commands will help you with troubleshooting and assessment of your queues.