99 if (sscanf(
args.level,
"%30u", &vsize) != 1) {
102 }
else if (4 < vsize) {
127 if (!strcasecmp(
args.level,
"ERROR")) {
129 }
else if (!strcasecmp(
args.level,
"WARNING")) {
131 }
else if (!strcasecmp(
args.level,
"NOTICE")) {
133 }
else if (!strcasecmp(
args.level,
"DEBUG")) {
135 }
else if (!strcasecmp(
args.level,
"VERBOSE")) {
137 }
else if (!strcasecmp(
args.level,
"DTMF")) {
Main Channel structure associated with a channel.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
#define ast_log_dynamic_level(level,...)
Send a log message to a dynamically registered log level.
static int load_module(void)
int ast_unregister_application(const char *app)
Unregister an application.
static int verbose_exec(struct ast_channel *chan, const char *data)
int ast_channel_priority(const struct ast_channel *chan)
#define ast_verb(level,...)
#define ast_strlen_zero(foo)
General Asterisk PBX channel definitions.
#define AST_MAX_EXTENSION
structure to hold extensions
#define ast_strdupa(s)
duplicate a string in memory from the stack
const char * ast_channel_exten(const struct ast_channel *chan)
static void parse(struct mgcp_request *req)
int ast_dynamic_logger_level(const char *name)
Checks if a dynamic logger level exists.
static char * app_verbose
Support for logging to various files, console and syslog Configuration in file logger.conf.
const char * ast_channel_context(const struct ast_channel *chan)
static int unload_module(void)
static char context[AST_MAX_CONTEXT]
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
static int log_exec(struct ast_channel *chan, const char *data)
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
Application convenience functions, designed to give consistent look and feel to Asterisk apps...
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.
#define AST_APP_ARG(name)
Define an application argument.