mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 10:28:32 +00:00
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/branches/1.4@53399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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));
|
ast_cli_register_multiple(cli_playback, sizeof(cli_playback) / sizeof(struct ast_cli_entry));
|
||||||
return ast_register_application(app, playback_exec, synopsis, descrip);
|
return ast_register_application(app, playback_exec, synopsis, descrip);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user