From bbc9c049abbbf031e4836d8822bb4420f43b3211 Mon Sep 17 00:00:00 2001
From: BJ Weschke <bweschke@btwtech.com>
Date: Sun, 3 Sep 2006 20:44:14 +0000
Subject: [PATCH]  Fix enum indexing problem with m() in WaitExten. Reported by
 Pavel J, in asterisk-dev.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/pbx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/pbx.c b/main/pbx.c
index f080d016cd..c98b57173c 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -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;
-- 
GitLab