85 static char *
app =
"SendURL";
153 status =
"UNSUPPORTED";
Main Channel structure associated with a channel.
Asterisk main include file. File version handling, generic pbx functions.
#define AST_HTML_NOSUPPORT
#define ast_test_flag(p, flag)
#define AST_HTML_LDCOMPLETE
int ast_channel_supports_html(struct ast_channel *channel)
Checks for HTML support on a channel.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
struct ast_frame * ast_read(struct ast_channel *chan)
Reads a frame.
int ast_unregister_application(const char *app)
Unregister an application.
struct ast_frame_subclass subclass
static int load_module(void)
#define ast_strlen_zero(foo)
static const struct ast_app_option app_opts[128]
#define AST_APP_OPTIONS(holder, options...)
Declares an array of options for an application.
AST_MODULE_INFO_STANDARD_DEPRECATED(ASTERISK_GPL_KEY, "Send URL Applications")
General Asterisk PBX channel definitions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
int ast_app_parse_options(const struct ast_app_option *options, struct ast_flags *flags, char **args, char *optstr)
Parses a string containing application options and sets flags/arguments.
Core PBX routines and definitions.
int ast_channel_sendurl(struct ast_channel *channel, const char *url)
Sends a URL on a given link Send URL on link.
static int sendurl_exec(struct ast_channel *chan, const char *data)
Structure used to handle boolean flags.
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_waitfor(struct ast_channel *chan, int ms)
Wait for input on a channel.
static int unload_module(void)
Data structure associated with a single frame of data.
enum ast_frame_type frametype
#define AST_APP_OPTION(option, flagno)
Declares an application option that does not accept an argument.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
#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.