Asterisk - The Open Source Telephony Project GIT-master-b023714
|
AMI wrapper for external MWI. More...
#include "asterisk.h"
#include "asterisk/module.h"
#include "asterisk/res_mwi_external.h"
#include "asterisk/manager.h"
Go to the source code of this file.
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static int | load_module (void) |
static int | mwi_mailbox_delete (struct mansession *s, const struct message *m) |
static int | mwi_mailbox_get (struct mansession *s, const struct message *m) |
static int | mwi_mailbox_update (struct mansession *s, const struct message *m) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "AMI support for external MWI" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_CHANNEL_DEPEND - 5, .requires = "res_mwi_external", } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
|
static |
Definition at line 385 of file res_mwi_external_ami.c.
|
static |
Definition at line 385 of file res_mwi_external_ami.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 385 of file res_mwi_external_ami.c.
|
static |
Definition at line 363 of file res_mwi_external_ami.c.
References ast_manager_register_xml, AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, EVENT_FLAG_CALL, EVENT_FLAG_REPORTING, mwi_mailbox_delete(), mwi_mailbox_get(), mwi_mailbox_update(), and unload_module().
|
static |
Definition at line 259 of file res_mwi_external_ami.c.
References ast_free, ast_mwi_mailbox_delete(), ast_mwi_mailbox_delete_by_regex(), ast_regex_string_to_regex_pattern(), ast_str_buffer(), ast_str_create, ast_strlen_zero(), astman_get_header(), astman_send_ack(), astman_send_error(), astman_send_error_va(), and NULL.
Referenced by load_module().
|
static |
Definition at line 162 of file res_mwi_external_ami.c.
References AO2_ALLOC_OPT_LOCK_NOLOCK, ao2_container_alloc_list, ao2_iterator_destroy(), ao2_iterator_init(), ao2_iterator_next, AO2_ITERATOR_UNLINK, ao2_link, ao2_ref, ast_free, ast_mwi_mailbox_get(), ast_mwi_mailbox_get_by_regex(), ast_mwi_mailbox_get_id(), ast_mwi_mailbox_get_msgs_new(), ast_mwi_mailbox_get_msgs_old(), ast_mwi_mailbox_unref, ast_regex_string_to_regex_pattern(), ast_str_buffer(), ast_str_create, ast_strlen_zero(), astman_append(), astman_get_header(), astman_send_error(), astman_send_error_va(), astman_send_list_complete_end(), astman_send_list_complete_start(), astman_send_listack(), id, mailboxes, and NULL.
Referenced by load_module().
|
static |
Definition at line 305 of file res_mwi_external_ami.c.
References ast_mwi_mailbox_alloc(), ast_mwi_mailbox_set_msgs_new(), ast_mwi_mailbox_set_msgs_old(), ast_mwi_mailbox_unref, ast_mwi_mailbox_update(), ast_strlen_zero(), astman_get_header(), astman_send_ack(), astman_send_error(), astman_send_error_va(), ast_mwi_mailbox_object::msgs_new, ast_mwi_mailbox_object::msgs_old, and NULL.
Referenced by load_module().
|
static |
Definition at line 354 of file res_mwi_external_ami.c.
References ast_manager_unregister().
Referenced by load_module().
|
static |
Definition at line 385 of file res_mwi_external_ami.c.
|
static |
Definition at line 385 of file res_mwi_external_ami.c.