Emit status complete message when status is finished (bug #122)
authorMark Spencer <markster@digium.com>
Thu, 29 Jan 2004 00:28:51 +0000 (00:28 +0000)
committerMark Spencer <markster@digium.com>
Thu, 29 Jan 2004 00:28:51 +0000 (00:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

manager.c

index 4583c5b..fe8d276 100755 (executable)
--- a/manager.c
+++ b/manager.c
@@ -361,6 +361,10 @@ static int action_status(struct mansession *s, struct message *m)
                }
                c = ast_channel_walk(c);
        }
+       ast_cli(s->fd,
+       "Event: StatusComplete\r\n"
+       "%s"
+       "\r\n",idText);
        return 0;
 }