From 1c6f5bd8514cfe3a3ff42d963b401d972b098d39 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 26 Apr 2007 01:48:55 +0000 Subject: [PATCH] Don't always say that the channel is being paused if it is actually being unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61961 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_monitor.c b/res/res_monitor.c index b6b7c7a824..c8bae0a0c8 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -624,7 +624,7 @@ static int do_pause_or_unpause(struct mansession *s, const struct message *m, in ast_monitor_unpause(c); ast_channel_unlock(c); - astman_send_ack(s, m, "Paused monitoring of the channel"); + astman_send_ack(s, m, (action == MONITOR_ACTION_PAUSE ? "Paused monitoring of the channel" : "Unpaused monitoring of the channel")); return 0; }