[asterisk-commits] kharwell: trunk r381219 - in /trunk: ./ apps/app_playback.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 11 15:17:07 CST 2013
Author: kharwell
Date: Mon Feb 11 15:17:04 2013
New Revision: 381219
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381219
Log:
Properly load say.conf upon reload of module app_playback.
If say.conf did not exists prior to originally loading module app_playback it
would not load on subsequent reloads of the module once it had been created.
This occurred because upon reload of the app_playback module it would only
load a new configuration if an old one had previously existed. This fix simply
removed the association between checking if an old configuration existed and
the loading of the new one.
(closes issue ASTERISK-20800)
Reported by: pgoergler
........
Merged revisions 381216 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 381217 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/apps/app_playback.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/apps/app_playback.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_playback.c?view=diff&rev=381219&r1=381218&r2=381219
==============================================================================
--- trunk/apps/app_playback.c (original)
+++ trunk/apps/app_playback.c Mon Feb 11 15:17:04 2013
@@ -513,8 +513,8 @@
if (say_cfg) {
ast_config_destroy(say_cfg);
ast_log(LOG_NOTICE, "Reloading say.conf\n");
- say_cfg = newcfg;
- }
+ }
+ say_cfg = newcfg;
if (say_cfg) {
for (v = ast_variable_browse(say_cfg, "general"); v ; v = v->next) {
More information about the asterisk-commits
mailing list