Using Asterisk CLI

Hi Everyone,

I am trying to create a new application that can pause and unpause agents in all queues. Right now I am trying to use the following command without any luck. I believe I have the wrong “Channel Name” aka “Member” but I am unsure where to find this for each extension.

queue pause member SIP/201

201 is my extension number I am trying to pause in all queues. I am getting a response of:

Command 'queue pause member SIP/201' failed.

What am I doing incorrectly here?

I believe I have answered my own question.

I was able to find the member name in the queue section which can be found in FreePBX under Reports/Asterisk/Queues

The command I came up with was:

queue pause member Local/201@from-queue/n

Works great!