Summary: | ASTERISK-23821: AMI action 'Queues' does not return a formatted 'Response:' or 'Event:' messages. Doesn't return ActionID. | ||||
Reporter: | Stefan Krist (nerdyness) | Labels: | |||
Date Opened: | 2014-06-04 22:44:28 | Date Closed: | 2017-12-18 10:02:17.000-0600 | ||
Priority: | Minor | Regression? | |||
Status: | Closed/Complete | Components: | |||
Versions: | 1.8.11.1 11.7.0 12.3.0 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | Linux pbx-01 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:23:01 EDT 2011 i686 i686 i386 GNU/Linux | Attachments: | |||
Description: | Hi,
This is my first bug report, let me know if you need more details. Using the AMI, Asterisk does not return the specified ActionID when listing all Queues: *********************************************** Action: Queues ActionID: 666 default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s No Members No Callers *********************************************** Expected output would be: *********************************************** default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s No Members No Callers ActionID: 666 *********************************************** This was tested on Asterisk 11.7.0 (using Elastix 2.4.0) and Asterisk 1.8.11.0 (using Elastix 2.3.0). | ||||
Comments: | By: Rusty Newton (rnewton) 2014-06-10 16:13:49.765-0500 Yup it doesn't return a proper response or events like the other actions. It also doesn't return the ActionID as you saw. In the meantime you might look at the "queuestatus" action. The response it returns {noformat} Response: Success ActionID: 999 Message: Queue status will follow Event: QueueParams Queue: support Max: 0 Strategy: rrmemory Calls: 0 Holdtime: 0 TalkTime: 0 Completed: 0 Abandoned: 0 ServiceLevel: 0 ServicelevelPerf: 0.0 Weight: 0 ActionID: 999 Event: QueueParams Queue: sales Max: 0 Strategy: rrmemory Calls: 0 Holdtime: 0 TalkTime: 0 Completed: 0 Abandoned: 0 ServiceLevel: 0 ServicelevelPerf: 0.0 Weight: 0 ActionID: 999 Event: QueueStatusComplete ActionID: 999 {noformat} Also [QueueSummary|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_QueueSummary] By: Stefan Krist (nerdyness) 2014-06-11 05:44:26.460-0500 Thanks for your response Rusty! I have in fact used QueueStatus to work around this issue. Just thought I'd raise this so it can get fixed at some point. I understand it's not any priority :) By: Rusty Newton (rnewton) 2014-06-12 14:13:36.969-0500 [~nerdyness] Glad you have a workaround for now. Thanks for the report Stefan! :) By: Joshua C. Colp (jcolp) 2017-12-18 10:02:17.136-0600 The underlying AMI action will be removed in newer versions of Asterisk as it was a wrapper over the CLI. I'm therefore closing out this issue. |