Can't get Queue pause hint to work?

* Queues now support a hint for member paused state. The hint uses the form
   'Queue:{queue_name}_pause_{member_name}', where {queue_name} and {member_name}
   are the name of the queue and the name of the member to subscribe to,
   respectively. For example: exten => 8501,hint,Queue:sales_pause_mark.
   Members will show as In Use when paused.

Trying this out I’ve configured the following:

queue is kiniston-test

I have one dynamic agent SIP/7001kiniston in the queue

pbxtest*CLI> queue show  kiniston-test
kiniston-test has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:10, C:0, A:0, SL:0.0% within 60s
   Members:
      SIP/7001kiniston (ringinuse disabled) (dynamic) (Not in use) has taken no calls yet
   No Callers

I have a extension defined that should be monitoring my agent:

exten => 9510,hint,Queue:kiniston-test_pause_7001kiniston

And I’m pausing and unpausing with the CLI:

pbxtest*CLI> queue pause member SIP/7001kiniston
paused interface 'SIP/7001kiniston'
pbxtest*CLI> queue show kiniston-test
kiniston-test has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:10, C:0, A:0, SL:0.0% within 60s
   Members:
      SIP/7001kiniston (ringinuse disabled) (dynamic) (paused) (Not in use) has taken no calls yet
   No Callers

pbxtest*CLI> queue unpause member SIP/7001kiniston
unpaused interface 'SIP/7001kiniston'
pbxtest*CLI> queue show kiniston-test
kiniston-test has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:10, C:0, A:0, SL:0.0% within 60s
   Members:
      SIP/7001kiniston (ringinuse disabled) (dynamic) (Not in use) has taken no calls yet
   No Callers

I show my phone is watching the hint, But I don’t see the hint changing.

pbxtest*CLI> queue pause member SIP/7001kiniston
paused interface 'SIP/7001kiniston'
pbxtest*CLI> core show hint 9510
9510@kiniston-intern: Queue:kiniston-test_  State:Unavailable     Presence:not_set         Watchers  1
1 hint matching extension 9510
pbxtest*CLI> queue unpause member SIP/7001kiniston
unpaused interface 'SIP/7001kiniston'
pbxtest*CLI> core show hint 9510
9510@kiniston-intern: Queue:kiniston-test_  State:Unavailable     Presence:not_set         Watchers  1
1 hint matching extension 9510

Any suggestions?

1 Like

If you do:

Queue:kiniston-test_pause_SIP/7001kiniston

Instead for the hint does it work?

Hey, that works! I didn’t expect to put the technology in the string based on the example.

Yay! Yeah, app_queue considers the full string as the queue member name. It makes the device state names a bit… interesting…