summaryrefslogtreecommitdiff
path: root/apps/app_ivrdemo.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_ivrdemo.c')
-rw-r--r--apps/app_ivrdemo.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/app_ivrdemo.c b/apps/app_ivrdemo.c
index 38134e247..78aeca67f 100644
--- a/apps/app_ivrdemo.c
+++ b/apps/app_ivrdemo.c
@@ -21,7 +21,7 @@
* \brief IVR Demo application
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
@@ -62,7 +62,7 @@ static int ivr_demo_func(struct ast_channel *chan, void *data)
return 0;
}
-AST_IVR_DECLARE_MENU(ivr_submenu, "IVR Demo Sub Menu", 0,
+AST_IVR_DECLARE_MENU(ivr_submenu, "IVR Demo Sub Menu", 0,
{
{ "s", AST_ACTION_BACKGROUND, "demo-abouttotry" },
{ "s", AST_ACTION_WAITOPTION },
@@ -77,7 +77,7 @@ AST_IVR_DECLARE_MENU(ivr_submenu, "IVR Demo Sub Menu", 0,
{ NULL }
});
-AST_IVR_DECLARE_MENU(ivr_demo, "IVR Demo Main Menu", 0,
+AST_IVR_DECLARE_MENU(ivr_demo, "IVR Demo Main Menu", 0,
{
{ "s", AST_ACTION_BACKGROUND, "demo-congrats" },
{ "g", AST_ACTION_BACKGROUND, "demo-instruct" },
@@ -96,12 +96,12 @@ static int skel_exec(struct ast_channel *chan, const char *data)
{
int res=0;
char *tmp;
-
+
if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "skel requires an argument (filename)\n");
return -1;
}
-
+
tmp = ast_strdupa(data);
/* Do our thing here */
@@ -110,7 +110,7 @@ static int skel_exec(struct ast_channel *chan, const char *data)
res = ast_answer(chan);
if (!res)
res = ast_ivr_menu_run(chan, &ivr_demo, tmp);
-
+
return res;
}
@@ -125,4 +125,3 @@ static int load_module(void)
}
AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "IVR Demo Application");
-