I always need to apply this patch before putting Asterisk into Production.

The pauses for specific queues get the reason logged properly, but the
pausealls don't.  I rely on pausalls and their reasons for reporting,
though I'm trying to get away from it by keeping agents in single queues.

Can we get this in the pipeline somewhere?  Do I have to submit a patch
this tiny through gerrit?

diff a/apps/app_queue.c b/apps/app_queue.c
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -7289,7 +7228,7 @@ static int set_member_paused(const char *queuename,
const char *interface, const
                                         * but since this affects all
queues, we cannot.
                                         */
                                        ast_queue_log("NONE", "NONE",
mem->membername,
-                                               (paused ? "PAUSEALL" :
"UNPAUSEALL"), "%s", "");
+                                               (paused ? "PAUSEALL" :
"UNPAUSEALL"), "%s", S_OR(reason, ""));
                                }

                                set_queue_member_pause(q, mem, reason,
paused);
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to