Why we have a function QUEUE_EXISTS to check if queue exists, but can not check if a member exists?
That would be cool if there would be a function like:
QUEUE_MEMBER_EXISTS()
Synopsis
Check if a named interface is logged in to queue
Description
Returns 1 if the specified interface is logged in to specified queue,
0 if it is not
Syntax
QUEUE_MEMBER_EXISTS(queuename,interface)
Arguments
queuename
interface
=============
Currently I accomplish this using 9 dialplan strings, that’s a bit too much.
Do you think this feature would be useful? If yes maybe I will invest
in making a patch to add this feature.