diff options
author | zuul <zuul@gerrit.asterisk.org> | 2017-04-06 10:19:33 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-04-06 10:19:33 -0500 |
commit | 71e25ad7ad3a529075b7dd49f974198ea10cfad2 (patch) | |
tree | 9c80a0609fa7713d26514abc230727dd0483ba74 | |
parent | b9ae54a8ff879a94b99b619a7769b9cbb8d2bc12 (diff) | |
parent | fac5115c43b519c42ae8fbfec454311e79b3bbef (diff) |
Merge "app_queue: Log reason for PAUSEALL/UNPAUSEALL"
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | apps/app_queue.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -12,6 +12,11 @@ --- Functionality changes from Asterisk 14 to Asterisk 15 -------------------- ------------------------------------------------------------------------------ +app_queue +------------------ + * PAUSEALL/UNPAUSEALL now sets the pause reason in the queue_log if it has + been defined. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 14.4.0 to Asterisk 14.5.0 ------------ ------------------------------------------------------------------------------ diff --git a/apps/app_queue.c b/apps/app_queue.c index 9bba6762d..ae2d645e9 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -7332,7 +7332,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); |