Hello, I’m using Asterisk 16. I need to get information of how many callers waiting in the queue. I tried using functions QUEUE_WAITING_COUNT(queuename) but always return 0 as below but actually there was 1 callers waiting in the queue :
– Executing [3003@kota_dsi_queue:11] NoOp(“SIP/4004-0000004f”, “Continue To Queue”) in new stack
– Executing [3003@kota_dsi_queue:13] NoOp(“SIP/4004-0000004f”, “QUEUEWAITINGCOUNT is 0”) in new stack
in Dialplan I add the below code :
same => n,NoOp(QUEUEWAITINGCOUNT is ${QUEUE_WAITING_COUNT(kota_dsi_queue)})
Please help me, I really appreciated if you can guide me the correct way to solved this issue.
Thanks and regards,