mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 02:32:36 +00:00
Stasis: Update security events to use Stasis
Also moves ACL messages to the security topic and gets rid of the ACL topic (closes issue ASTERISK-21103) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2496/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -242,6 +242,7 @@ int daemon(int, int); /* defined in libresolv of all places */
|
||||
#include "asterisk/sorcery.h"
|
||||
#include "asterisk/stasis.h"
|
||||
#include "asterisk/json.h"
|
||||
#include "asterisk/security_events.h"
|
||||
#include "asterisk/stasis_endpoints.h"
|
||||
|
||||
#include "../defaults.h"
|
||||
@@ -4263,6 +4264,12 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (ast_security_stasis_init()) { /* Initialize Security Stasis Topic and Events */
|
||||
ast_security_stasis_cleanup();
|
||||
printf("%s", term_quit());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (ast_named_acl_init()) { /* Initialize the Named ACL system */
|
||||
printf("%s", term_quit());
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user