app_queue: Only log PAUSEALL/UNPAUSEALL when 1+ memebers changed.
authorJonathan Rose <jrose@digium.com>
Tue, 4 Sep 2012 19:26:02 +0000 (19:26 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 4 Sep 2012 19:26:02 +0000 (19:26 +0000)
commitb02c65752ccfc2317693644c424d221339d57e19
tree709c2516e0973b62c8a4f148beaa5aa7c937c118
parenta40f702aef6f9cc779bd718475175e53154147da
app_queue: Only log PAUSEALL/UNPAUSEALL when 1+ memebers changed.

Prior to this patch, if pause or unpause was issued on an interface
without specifying a specific queue, a PAUSEALL or UNPAUSEALL event
would be logged in the queue log even if that interface wasn't a
member of any queues. This patch changes it so that these events are
only logged when at least one member of any queue exists for that
interface.

(closes issue AST-946)
Reported by: John Bigelow
Review: https://reviewboard.asterisk.org/r/2079/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
apps/app_queue.c