60static char *
app =
"IVRDemo";
64 ast_verbose(
"IVR Demo, data is %s!\n", (
char *) data);
static struct ast_ivr_menu ivr_submenu
static int skel_exec(struct ast_channel *chan, const char *data)
static struct ast_ivr_menu ivr_demo
static int ivr_demo_func(struct ast_channel *chan, void *data)
static int load_module(void)
static int unload_module(void)
Asterisk main include file. File version handling, generic pbx functions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
General Asterisk PBX channel definitions.
int ast_answer(struct ast_channel *chan)
Answer a channel.
ast_channel_state
ast_channel states
Generic File Format Support. Should be included by clients of the file handling routines....
Application convenience functions, designed to give consistent look and feel to Asterisk apps.
int ast_ivr_menu_run(struct ast_channel *c, struct ast_ivr_menu *menu, void *cbdata)
Runs an IVR menu.
#define AST_IVR_DECLARE_MENU(holder, title, flags, foo...)
Asterisk locking-related definitions:
Asterisk module definitions.
#define ASTERISK_GPL_KEY
The text the key() function should return.
int ast_unregister_application(const char *app)
Unregister an application.
#define AST_MODULE_INFO_STANDARD_EXTENDED(keystr, desc)
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.
Core PBX routines and definitions.
static force_inline int attribute_pure ast_strlen_zero(const char *s)
Main Channel structure associated with a channel.