Asterisk - The Open Source Telephony Project
18.5.0
|
Check if Channel is Available. More...
#include "asterisk.h"
#include <sys/ioctl.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/app.h"
#include "asterisk/devicestate.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 | chanavail_exec (struct ast_channel *chan, const char *data) |
static int | load_module (void) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "Check channel availability" , .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_EXTENDED, .load = load_module, .unload = unload_module, .optional_modules = "func_cdr" } |
static const char | app [] = "ChanIsAvail" |
static const struct ast_module_info * | ast_module_info = &__mod_info |
Check if Channel is Available.
Definition in file app_chanisavail.c.
|
static |
Definition at line 229 of file app_chanisavail.c.
|
static |
Definition at line 229 of file app_chanisavail.c.
struct ast_module* AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 229 of file app_chanisavail.c.
|
static |
Definition at line 102 of file app_chanisavail.c.
References args, AST_APP_ARG, ast_channel_name(), ast_channel_nativeformats(), ast_custom_function_find(), AST_DECLARE_APP_ARGS, AST_DEVICE_INVALID, AST_DEVICE_NOT_INUSE, AST_DEVICE_UNKNOWN, ast_func_write(), ast_hangup(), ast_log, ast_parse_device_state(), ast_request(), AST_STANDARD_APP_ARGS, ast_str_alloca, ast_str_append(), ast_str_buffer(), ast_str_strlen(), ast_strdupa, ast_strip(), ast_strlen_zero, sip_to_pjsip::info(), LOG_WARNING, NULL, options, pbx_builtin_setvar_helper(), status, and strsep().
Referenced by load_module().
|
static |
Definition at line 218 of file app_chanisavail.c.
References app, AST_MODFLAG_DEFAULT, AST_MODULE_INFO(), AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, AST_MODULE_SUPPORT_EXTENDED, ast_register_application_xml, ASTERISK_GPL_KEY, chanavail_exec(), and unload_module().
|
static |
Definition at line 213 of file app_chanisavail.c.
References app, and ast_unregister_application().
Referenced by load_module().
|
static |
Definition at line 229 of file app_chanisavail.c.
|
static |
Definition at line 46 of file app_chanisavail.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 229 of file app_chanisavail.c.