From 2c3e94f2895195d4b290c9a7e203e723c0964b46 Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Tue, 20 Jun 2006 22:26:16 +0000
Subject: [PATCH] Bug 7399 - Sample config showed [general] as the context, so
 the app should look there, too.

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

diff --git a/apps/app_amd.c b/apps/app_amd.c
index b5acb96822..1ffc463b2b 100644
--- a/apps/app_amd.c
+++ b/apps/app_amd.c
@@ -346,7 +346,7 @@ static void load_config(void)
 	cat = ast_category_browse(cfg, NULL);
 
 	while (cat) {
-		if (!strcasecmp(cat, "amd") ) {
+		if (!strcasecmp(cat, "general") ) {
 			var = ast_variable_browse(cfg, cat);
 			while (var) {
 				if (!strcasecmp(var->name, "initial_silence")) {
-- 
GitLab