aboutsummaryrefslogtreecommitdiffstats
path: root/manager.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-06 06:58:28 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-06 06:58:28 +0000
commitd494cfb5ea3f2b4991493d5c966e1667c9e059a0 (patch)
tree9d811eaa2b4871159951ac4374809cdf77cd6b05 /manager.c
parentf1834bf7210c1bb15201dc359de3fd3480a217f6 (diff)
Issue 8987 - Status could return two responses (mnicholson)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53245 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index 419d7cae4..d3488db7f 100644
--- a/manager.c
+++ b/manager.c
@@ -773,7 +773,6 @@ static int action_status(struct mansession *s, struct message *m)
long elapsed_seconds=0;
int all = ast_strlen_zero(name); /* set if we want all channels */
- astman_send_ack(s, m, "Channel status will follow");
if (!ast_strlen_zero(id))
snprintf(idText,256,"ActionID: %s\r\n",id);
if (all)
@@ -785,6 +784,7 @@ static int action_status(struct mansession *s, struct message *m)
return 0;
}
}
+ astman_send_ack(s, m, "Channel status will follow");
/* if we look by name, we break after the first iteration */
while(c) {
if (c->_bridge)