aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-26 01:48:55 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-26 01:48:55 +0000
commit39f4537985ab2168e358aa9a1836b7f7aa78f52a (patch)
tree1f2d080046e4ddd0115b410440a7b969728740ec /res
parent3f9c8a788a96d54e26c77183b0a9405f5bb293c3 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@61961 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index b6b7c7a82..c8bae0a0c 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;
}