0

Is it possible to use ARI to determine if a queue member is paused or not? I can't seem to find any documentation stating that its possible. The only way I can see anything related to a pause is by manually dialing *46 and watching the WebSocket events stream the DeviceStateChange.

Yamaha32088
  • 4,125
  • 9
  • 46
  • 97

1 Answers1

1

Correct way is look for queue_log events. If you put queue_log into mysql it become trivial task.

You also can do queue_status

https://www.voip-info.org/asterisk-manager-api-action-queuestatus

arheops
  • 15,544
  • 1
  • 21
  • 27
  • I have the queue_log populating into MySQL now, however I don't see anything related to an agent being paused in the queue. Is this something that has to be calculated by looking up the queue agent wrap up time and then comparing the latest `COMPLETECALLER` event? – Yamaha32088 Mar 29 '19 at 16:03
  • From queue_log documentation "PAUSE Written when a queue member is paused.". I am unsure if that triggered when do autopause on no answer. You have check that. – arheops Mar 30 '19 at 00:03