mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
Issue 8987 - Status could return two responses (mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -773,7 +773,6 @@ static int action_status(struct mansession *s, struct message *m)
|
|||||||
long elapsed_seconds=0;
|
long elapsed_seconds=0;
|
||||||
int all = ast_strlen_zero(name); /* set if we want all channels */
|
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))
|
if (!ast_strlen_zero(id))
|
||||||
snprintf(idText,256,"ActionID: %s\r\n",id);
|
snprintf(idText,256,"ActionID: %s\r\n",id);
|
||||||
if (all)
|
if (all)
|
||||||
@@ -785,6 +784,7 @@ static int action_status(struct mansession *s, struct message *m)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
astman_send_ack(s, m, "Channel status will follow");
|
||||||
/* if we look by name, we break after the first iteration */
|
/* if we look by name, we break after the first iteration */
|
||||||
while(c) {
|
while(c) {
|
||||||
if (c->_bridge)
|
if (c->_bridge)
|
||||||
|
Reference in New Issue
Block a user