Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Get ADSI CPE ID. More...
#include "asterisk.h"
#include "asterisk/lock.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/adsi.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 | cpeid_exec (struct ast_channel *chan, const char *idata) |
static int | cpeid_setstatus (struct ast_channel *chan, char *stuff[], int voice) |
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 = "Get ADSI CPE ID" , .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 = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_DEPRECATED, .load = load_module, .unload = unload_module, .requires = "res_adsi", } |
static char * | app = "GetCPEID" |
static const struct ast_module_info * | ast_module_info = &__mod_info |
Get ADSI CPE ID.
Definition in file app_getcpeid.c.
|
static |
Definition at line 145 of file app_getcpeid.c.
|
static |
Definition at line 145 of file app_getcpeid.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 145 of file app_getcpeid.c.
|
static |
Definition at line 67 of file app_getcpeid.c.
References ast_adsi_get_cpeid(), ast_adsi_get_cpeinfo(), ast_adsi_load_session(), ast_adsi_unload_session(), ast_alloca, ast_channel_name(), ast_verb, ast_waitfordigit(), cpeid_setstatus(), and NULL.
Referenced by load_module().
|
static |
Definition at line 56 of file app_getcpeid.c.
References ADSI_JUST_CENT, ADSI_JUST_LEFT, ast_adsi_print(), justify, NULL, and tmp().
Referenced by cpeid_exec().
|
static |
Definition at line 135 of file app_getcpeid.c.
References app, ast_register_application_xml, and cpeid_exec().
|
static |
Definition at line 130 of file app_getcpeid.c.
References app, and ast_unregister_application().
|
static |
Definition at line 145 of file app_getcpeid.c.
|
static |
Definition at line 54 of file app_getcpeid.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 145 of file app_getcpeid.c.