From: Kinsey Moore Date: Fri, 28 Feb 2014 21:13:49 +0000 (+0000) Subject: app_queue: Fix documentation generation X-Git-Tag: 11.9.0-rc1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2bd4ea18ed362ac5fe0876b827c52cc630d5ca;p=thirdparty%2Fasterisk.git 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 --- 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"