CLI: queue show | Order Of


Is there a way to order queues by queue number from the command “queue show” as apposed to them being shown in the order they were added to the PBX.

The reason I need this as I have designed a Wallboard to show all the queues live status’ and when parsing the array the queue numbers are all over the place.

Hope someone has some knowledge in this area and can shed some light.

I would probably call individual queues… “queue show 1000” and parse them individually.

Thanks James, just out of interest, do you know where asterisk get this data from the “queue show command” ? Is it from the asterisk database?

This is produced by app_queue and is not “stored”