Asterisk - The Open Source Telephony Project
21.4.1
|
The Asterisk Management Interface - AMI (endpoint handling) More...
#include "asterisk.h"
#include "asterisk/callerid.h"
#include "asterisk/channel.h"
#include "asterisk/manager.h"
#include "asterisk/stasis_message_router.h"
#include "asterisk/pbx.h"
#include "asterisk/stasis_endpoints.h"
Go to the source code of this file.
Functions | |
static void | endpoint_state_cb (void *data, struct stasis_subscription *sub, struct stasis_message *message) |
int | manager_endpoints_init (void) |
Initialize support for AMI endpoint events. More... | |
static void | manager_endpoints_shutdown (void) |
Variables | |
static struct stasis_message_router * | endpoint_router |
The Asterisk Management Interface - AMI (endpoint handling)
Definition in file manager_endpoints.c.
int manager_endpoints_init | ( | void | ) |
Initialize support for AMI endpoint events.
0 | on success. |
non-zero | on error. |
Definition at line 52 of file manager_endpoints.c.
References ast_endpoint_contact_state_type(), ast_endpoint_state_type(), ast_endpoint_topic_all_cached(), ast_register_cleanup(), and stasis_message_router_add().