diff --git a/Makefile b/Makefile
index 2cae111b391f317944150e2dbba1fa4fb27ff35b..ac304dc9a5650ef80b9a1e17ebd5ebf63bf1dd8b 100644
--- a/Makefile
+++ b/Makefile
@@ -745,10 +745,10 @@ samples: adsi
 		echo ";astctlgroup = apache" ; \
 		echo ";astctl = asterisk.ctl" ; \
 		echo "" ; \
-		echo "[compat]" ; \
-		echo "pbx_realtime=1.6" ; \
-		echo "res_agi=1.6" ; \
-		echo "app_set=1.6" ; \
+		echo ";[compat]" ; \
+		echo ";pbx_realtime=1.6" ; \
+		echo ";res_agi=1.6" ; \
+		echo ";app_set=1.6" ; \
 		) > $(DESTDIR)$(ASTCONFPATH) ; \
 	else \
 		echo "Skipping asterisk.conf creation"; \
diff --git a/main/asterisk.c b/main/asterisk.c
index 5509788e25e02094ce71c47da363a5b99e10715a..39940ebf508c0bae02dc429ab89b69a851c8dd74 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -170,7 +170,7 @@ int daemon(int, int);  /* defined in libresolv of all places */
 /*! @{ */
 
 struct ast_flags ast_options = { AST_DEFAULT_OPTIONS };
-struct ast_flags ast_compat = { 0 };
+struct ast_flags ast_compat = { 0x07 };
 
 int option_verbose;				/*!< Verbosity level */
 int option_debug;				/*!< Debug level */