Prevent Invalid Queue Members

Home » Asterisk Users » Prevent Invalid Queue Members
Asterisk Users No Comments

Hi,

when using AddQueueMember() to add to a queue, it is possible to add unreachable (non-existing) peers to a queue. Such members show up marked as ‘… (dynamic) (Invalid) …’ when using the queue show command.

Is there a way to disallow adding unreachable peers to a queue?
“Unreachable”, in this case, means peers that can not be called like because they aren’t registered or because they do not exist.

If not, is there a good way to automatically remove invalid queue members?