Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in asterisk...
authorBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 20:44:14 +0000 (20:44 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 20:44:14 +0000 (20:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41916 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index f080d01..c98b571 100644 (file)
@@ -100,7 +100,7 @@ AST_APP_OPTIONS(background_opts, {
 #define WAITEXTEN_MOH          (1 << 0)
 
 AST_APP_OPTIONS(waitexten_opts, {
-       AST_APP_OPTION_ARG('m', WAITEXTEN_MOH, 1),
+       AST_APP_OPTION_ARG('m', WAITEXTEN_MOH, 0),
 });
 
 struct ast_context;