[asterisk-commits] file: branch 1.4 r53399 - /branches/1.4/apps/app_playback.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 7 10:04:45 MST 2007


Author: file
Date: Wed Feb  7 11:04:44 2007
New Revision: 53399

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53399
Log:
Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)

Modified:
    branches/1.4/apps/app_playback.c

Modified: branches/1.4/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_playback.c?view=diff&rev=53399&r1=53398&r2=53399
==============================================================================
--- branches/1.4/apps/app_playback.c (original)
+++ branches/1.4/apps/app_playback.c Wed Feb  7 11:04:44 2007
@@ -480,7 +480,7 @@
 
 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);
 }



More information about the asterisk-commits mailing list