Asterisk - The Open Source Telephony Project
18.5.0
|
System AMI event handling. More...
#include "asterisk.h"
#include "asterisk/stasis.h"
#include "asterisk/stasis_message_router.h"
#include "asterisk/stasis_system.h"
Go to the source code of this file.
Functions | |
int | manager_system_init (void) |
Initialize support for AMI system events. More... | |
static void | manager_system_shutdown (void) |
Variables | |
static struct stasis_forward * | topic_forwarder |
The Stasis Message Bus API subscription returned by the forwarding of the system topic to the manager topic. More... | |
System AMI event handling.
Definition in file manager_system.c.
int manager_system_init | ( | void | ) |
Initialize support for AMI system events.
0 | on success |
non-zero | on error |
Definition at line 43 of file manager_system.c.
References ast_manager_get_message_router(), ast_manager_get_topic(), ast_register_cleanup(), ast_system_topic(), manager_system_shutdown(), manager_topic, stasis_forward_all(), and system_topic.
Referenced by subscribe_all().
|
static |
Definition at line 37 of file manager_system.c.
References NULL, and stasis_forward_cancel().
Referenced by manager_system_init().
|
static |
The Stasis Message Bus API subscription returned by the forwarding of the system topic to the manager topic.
Definition at line 35 of file manager_system.c.