diff --git a/apps/app_queue.c b/apps/app_queue.c index aae27495bb..53380cc6e6 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -6276,22 +6276,25 @@ static int set_member_paused(const char *queuename, const char *interface, const ast_queue_log(q->name, "NONE", mem->membername, (paused ? "PAUSE" : "UNPAUSE"), "%s", S_OR(reason, "")); - /*** DOCUMENTATION - - Raised when a member is paused/unpaused in the queue with a reason. - - - - - - - - PauseQueueMember - UnPauseQueueMember - - - ***/ if (!ast_strlen_zero(reason)) { + /*** DOCUMENTATION + + Raised when a member is paused/unpaused in the queue with a reason. + + + + + + + The reason given for pausing or unpausing a queue member. + + + + PauseQueueMember + UnPauseQueueMember + + + ***/ manager_event(EVENT_FLAG_AGENT, "QueueMemberPaused", "Queue: %s\r\n" "Location: %s\r\n"