38 static char *
app =
"SendImage";
Main Channel structure associated with a channel.
Asterisk main include file. File version handling, generic pbx functions.
static int sendimage_exec(struct ast_channel *chan, const char *data)
AST_MODULE_INFO_STANDARD_DEPRECATED(ASTERISK_GPL_KEY, "Image Transmission Application")
int ast_unregister_application(const char *app)
Unregister an application.
int ast_send_image(struct ast_channel *chan, const char *filename)
Sends an image.
#define ast_strlen_zero(foo)
General Asterisk channel definitions for image handling.
static int unload_module(void)
Core PBX routines and definitions.
int ast_supports_images(struct ast_channel *chan)
Check for image support on a channel.
static int load_module(void)
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...
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.