[Asterisk-cvs] asterisk/apps app_ivrdemo.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Sat Mar 5 15:09:34 CST 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28325/apps
Modified Files:
app_ivrdemo.c
Log Message:
Flush out app stuff, make profiling easier to turn on/off
Index: app_ivrdemo.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_ivrdemo.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_ivrdemo.c 26 Feb 2005 19:06:09 -0000 1.3
+++ app_ivrdemo.c 5 Mar 2005 21:06:26 -0000 1.4
@@ -36,14 +36,17 @@
AST_IVR_DECLARE_MENU(ivr_submenu, "IVR Demo Sub Menu", 0,
{
- { "s", AST_ACTION_BACKGROUND, "demo-abouttotry" },
- { "1", AST_ACTION_PLAYBACK, "digits/1" },
- { "1", AST_ACTION_PLAYBACK, "digits/1" },
- { "1", AST_ACTION_RESTART },
- { "2", AST_ACTION_PLAYLIST, "digits/2;digits/3" },
- { "*", AST_ACTION_REPEAT },
- { "#", AST_ACTION_UPONE },
- { NULL }
+ { "s", AST_ACTION_BACKGROUND, "demo-abouttotry" },
+ { "s", AST_ACTION_WAITOPTION },
+ { "1", AST_ACTION_PLAYBACK, "digits/1" },
+ { "1", AST_ACTION_PLAYBACK, "digits/1" },
+ { "1", AST_ACTION_RESTART },
+ { "2", AST_ACTION_PLAYLIST, "digits/2;digits/3" },
+ { "3", AST_ACTION_CALLBACK, ivr_demo_func },
+ { "4", AST_ACTION_TRANSFER, "demo|s|1" },
+ { "*", AST_ACTION_REPEAT },
+ { "#", AST_ACTION_UPONE },
+ { NULL }
});
AST_IVR_DECLARE_MENU(ivr_demo, "IVR Demo Main Menu", 0,
@@ -56,7 +59,7 @@
{ "2", AST_ACTION_MENU, &ivr_submenu },
{ "2", AST_ACTION_RESTART },
{ "i", AST_ACTION_PLAYBACK, "invalid" },
- { "i", AST_ACTION_REPEAT, (void *)2 },
+ { "i", AST_ACTION_REPEAT, (void *)(unsigned long)2 },
{ "#", AST_ACTION_EXIT },
{ NULL },
});
More information about the svn-commits
mailing list