summaryrefslogtreecommitdiff
path: root/main/manager.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-01-12 18:09:27 +0000
committerRichard Mudgett <rmudgett@digium.com>2015-01-12 18:09:27 +0000
commitc7ea108e02a03728f4c0eef4506678b81a22159c (patch)
treec024d0473b792401fb6be54046d1ae6049e908d8 /main/manager.c
parent9065488ddd308ef4a3b46ad2da0a993e2e18c370 (diff)
Revert -r430452 It needs to be redone for the next major AMI version change instead.
ASTERISK-24049 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/manager.c b/main/manager.c
index 137e50a3a..4410cd7c5 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -2919,7 +2919,7 @@ static void astman_start_ack(struct mansession *s, const struct message *m)
astman_send_response_full(s, m, "Success", MSG_MOREDATA, NULL);
}
-void astman_send_listack(struct mansession *s, const struct message *m, char *msg)
+void astman_send_listack(struct mansession *s, const struct message *m, char *msg, char *listflag)
{
astman_send_response_full(s, m, "Success", msg, "Start");
}
@@ -4203,7 +4203,7 @@ static int action_hangup(struct mansession *s, const struct message *m)
return 0;
}
- astman_send_listack(s, m, "Channels hung up will follow");
+ astman_send_listack(s, m, "Channels hung up will follow", "start");
iter = ast_channel_iterator_all_new();
if (iter) {
@@ -4481,7 +4481,7 @@ static int action_status(struct mansession *s, const struct message *m)
}
}
- astman_send_listack(s, m, "Channel status will follow");
+ astman_send_listack(s, m, "Channel status will follow", "start");
if (!ast_strlen_zero(id)) {
snprintf(id_text, sizeof(id_text), "ActionID: %s\r\n", id);
@@ -5908,7 +5908,7 @@ static int action_coreshowchannels(struct mansession *s, const struct message *m
return 0;
}
- astman_send_listack(s, m, "Channels will follow");
+ astman_send_listack(s, m, "Channels will follow", "start");
it_chans = ao2_iterator_init(channels, 0);
for (; (msg = ao2_iterator_next(&it_chans)); ao2_ref(msg, -1)) {