Asterisk - The Open Source Telephony Project
18.5.0
|
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 = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = "30ef0c93b36035ec78c9cfd712d36d9b" , .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 370 of file res_mwi_external_ami.c.
|
static |
Definition at line 370 of file res_mwi_external_ami.c.
struct ast_module* AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 370 of file res_mwi_external_ami.c.
|
static |
Definition at line 348 of file res_mwi_external_ami.c.
References ast_manager_register_xml, AST_MODFLAG_DEFAULT, AST_MODPRI_CHANNEL_DEPEND, AST_MODULE_INFO(), AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, AST_MODULE_SUPPORT_CORE, ASTERISK_GPL_KEY, EVENT_FLAG_CALL, EVENT_FLAG_REPORTING, mwi_mailbox_delete(), mwi_mailbox_get(), mwi_mailbox_update(), and unload_module().
|
static |
Definition at line 244 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 147 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, mailbox, mailboxes, and NULL.
Referenced by load_module().
|
static |
Definition at line 290 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(), mailbox, and NULL.
Referenced by load_module().
|
static |
Definition at line 339 of file res_mwi_external_ami.c.
References ast_manager_unregister().
Referenced by load_module().
|
static |
Definition at line 370 of file res_mwi_external_ami.c.
|
static |
Definition at line 370 of file res_mwi_external_ami.c.