[Asterisk-code-review] Log the reason for pausealls. (asterisk[13.9])
Troy Bowman
asteriskteam at digium.com
Tue May 17 17:19:06 CDT 2016
Troy Bowman has uploaded a new change for review.
https://gerrit.asterisk.org/2858
Change subject: Log the reason for pausealls.
......................................................................
Log the reason for pausealls.
Pauseall does not log the reason.
We need that reason for reporting.
ASTERISK-26032
Change-Id: Id46ef7659352c1e0e39985bac11b8b4a0eaff324
---
M apps/app_queue.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/58/2858/1
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 34fdfe7..7629f08 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -7172,7 +7172,7 @@
* 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);
--
To view, visit https://gerrit.asterisk.org/2858
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id46ef7659352c1e0e39985bac11b8b4a0eaff324
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13.9
Gerrit-Owner: Troy Bowman <troy at lump.net>
More information about the asterisk-code-review
mailing list