Bug 7399 - Sample config showed [general] as the context, so the app should look...
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 20 Jun 2006 22:26:16 +0000 (22:26 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 20 Jun 2006 22:26:16 +0000 (22:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35185 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_amd.c

index b5acb96..1ffc463 100644 (file)
@@ -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")) {