From 7f2bd4ea18ed362ac5fe0876b827c52cc630d5ca Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 28 Feb 2014 21:13:49 +0000 Subject: [PATCH] app_queue: Fix documentation generation The documentation for QueueMemberPaused was causing documentation generation to fail because the documentation for that AMI event was in the wrong location. This moves that documentation the correct location and adds a missing parameter. (closes issue SWDAT-261) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@409208 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) 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"