ChannelRedirect application.
More...
Go to the source code of this file.
◆ __reg_module()
| static void __reg_module |
( |
void |
| ) |
|
|
static |
◆ __unreg_module()
| static void __unreg_module |
( |
void |
| ) |
|
|
static |
◆ AST_MODULE_SELF_SYM()
◆ asyncgoto_exec()
| static int asyncgoto_exec |
( |
struct ast_channel * |
chan, |
|
|
const char * |
data |
|
) |
| |
|
static |
Definition at line 70 of file app_channelredirect.c.
71{
72 int res = -1;
75
79 );
80
83 return -1;
84 }
85
88
91 return -1;
92 }
93
97 return 0;
98 }
99
101
103
105
106 return res;
107}
#define ast_strdupa(s)
duplicate a string in memory from the stack
struct ast_channel * ast_channel_get_by_name(const char *search)
Find a channel by name or uniqueid.
#define ast_channel_unref(c)
Decrease channel reference count.
#define AST_APP_ARG(name)
Define an application argument.
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
int pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const char *value)
Add a variable to the channel variable stack, removing the most recently set value for the same name.
int ast_async_parseable_goto(struct ast_channel *chan, const char *goto_string)
static force_inline int attribute_pure ast_strlen_zero(const char *s)
Main Channel structure associated with a channel.
References app, args, AST_APP_ARG, ast_async_parseable_goto(), ast_channel_get_by_name(), ast_channel_unref, AST_DECLARE_APP_ARGS, ast_log, AST_STANDARD_APP_ARGS, ast_strdupa, ast_strlen_zero(), ast_channel::data, LOG_WARNING, NULL, and pbx_builtin_setvar_helper().
Referenced by load_module().
◆ load_module()
| static int load_module |
( |
void |
| ) |
|
|
static |
◆ unload_module()
| static int unload_module |
( |
void |
| ) |
|
|
static |
◆ __mod_info
◆ app
| const char app[] = "ChannelRedirect" |
|
static |
◆ ast_module_info