From: Tilghman Lesher Date: Tue, 20 Jun 2006 22:26:16 +0000 (+0000) Subject: Bug 7399 - Sample config showed [general] as the context, so the app should look... X-Git-Tag: 1.4.0-beta1~831 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c3e94f2895195d4b290c9a7e203e723c0964b46;p=thirdparty%2Fasterisk.git 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 --- 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")) {