Merge the rest of the FullyBooted patch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@265467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2010-05-24 22:21:58 +00:00
parent cba378d847
commit 0390dae08d
3 changed files with 20 additions and 0 deletions

View File

@@ -2740,6 +2740,9 @@ static int action_login(struct mansession *s, const struct message *m)
ast_verb(2, "%sManager '%s' logged on from %s\n", (s->session->managerid ? "HTTP " : ""), s->session->username, ast_inet_ntoa(s->session->sin.sin_addr));
}
astman_send_ack(s, m, "Authentication accepted");
if (ast_test_flag(&ast_options, AST_OPT_FLAG_FULLY_BOOTED)) {
manager_event(EVENT_FLAG_SYSTEM, "FullyBooted", "Status: Fully Booted\r\n");
}
return 0;
}