Merged revisions 53399 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 7 Feb 2007 17:06:34 +0000 (17:06 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 7 Feb 2007 17:06:34 +0000 (17:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53399 | file | 2007-02-07 12:04:44 -0500 (Wed, 07 Feb 2007) | 2 lines

Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53400 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_playback.c

index 5c566fd..b808edb 100644 (file)
@@ -480,7 +480,7 @@ static int unload_module(void)
 
 static int load_module(void)
 {
 
 static int load_module(void)
 {
-       reload();
+       say_cfg = ast_config_load("say.conf");
         ast_cli_register_multiple(cli_playback, sizeof(cli_playback) / sizeof(struct ast_cli_entry));
        return ast_register_application(app, playback_exec, synopsis, descrip);
 }
         ast_cli_register_multiple(cli_playback, sizeof(cli_playback) / sizeof(struct ast_cli_entry));
        return ast_register_application(app, playback_exec, synopsis, descrip);
 }