57 static char *
app =
"IVRDemo";
61 ast_verbose(
"IVR Demo, data is %s!\n", (
char *) data);
Main Channel structure associated with a channel.
Asterisk locking-related definitions:
Asterisk main include file. File version handling, generic pbx functions.
static struct ast_ivr_menu ivr_submenu
ast_channel_state
ast_channel states
void ast_verbose(const char *fmt,...)
Generic File Format Support. Should be included by clients of the file handling routines. File service providers should instead include mod_format.h.
int ast_unregister_application(const char *app)
Unregister an application.
AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "IVR Demo Application")
#define ast_strlen_zero(foo)
int ast_ivr_menu_run(struct ast_channel *c, struct ast_ivr_menu *menu, void *cbdata)
Runs an IVR menu.
General Asterisk PBX channel definitions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
Core PBX routines and definitions.
static int unload_module(void)
static int ivr_demo_func(struct ast_channel *chan, void *data)
#define AST_IVR_DECLARE_MENU(holder, title, flags, foo...)
static int skel_exec(struct ast_channel *chan, const char *data)
int ast_answer(struct ast_channel *chan)
Answer a channel.
static int load_module(void)
static struct ast_ivr_menu ivr_demo
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
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.