[Home]

Summary:ASTERISK-15555: [patch] 'moh reload' doesn't reload moh directory content
Reporter:pj (pj)Labels:
Date Opened:2010-02-01 09:21:47.000-0600Date Closed:2011-04-26 07:33:24
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 16744-reload.diff
Description:When files are added or removed from moh directory, 'moh reload' command doesn't update running proces and 'moh show files' still shows original content of moh directory
'config reload /etc/asterisk/musiconhold.conf' also doesn't help, although it notices, that module 'res_musiconhold.so' was reloaded:
localhost*CLI> config reload /etc/asterisk/musiconhold.conf
[Feb  1 08:43:03]     -- Reloading module 'res_musiconhold.so' (Music On Hold Resource)




****** ADDITIONAL INFORMATION ******

as workaround we need to manually unload/load module res_musiconhold.so
module unload res_musiconhold.so
module load res_musiconhold.so
Comments:By: Jason Parker (jparker) 2010-08-12 15:14:27

Does this patch solve the issue for you?

By: Digium Subversion (svnbot) 2010-09-08 15:31:44

Repository: asterisk
Revision: 285526

U   branches/1.6.2/res/res_musiconhold.c

------------------------------------------------------------------------
r285526 | qwell | 2010-09-08 15:31:43 -0500 (Wed, 08 Sep 2010) | 8 lines

Fixes issue where moh files were no longer rescanned during a reload.

(closes issue ASTERISK-15555)
Reported by: pj
Patches:
     16744-reload.diff uploaded by qwell (license 4)
Tested by: qwell

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=285526

By: Digium Subversion (svnbot) 2010-09-08 15:32:13

Repository: asterisk
Revision: 285527

_U  branches/1.8/
U   branches/1.8/res/res_musiconhold.c

------------------------------------------------------------------------
r285527 | qwell | 2010-09-08 15:32:13 -0500 (Wed, 08 Sep 2010) | 15 lines

Merged revisions 285526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
 r285526 | qwell | 2010-09-08 15:31:43 -0500 (Wed, 08 Sep 2010) | 8 lines
 
 Fixes issue where moh files were no longer rescanned during a reload.
 
 (closes issue ASTERISK-15555)
 Reported by: pj
 Patches:
       16744-reload.diff uploaded by qwell (license 4)
 Tested by: qwell
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=285527

By: Digium Subversion (svnbot) 2010-09-08 15:32:49

Repository: asterisk
Revision: 285528

_U  trunk/
U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r285528 | qwell | 2010-09-08 15:32:49 -0500 (Wed, 08 Sep 2010) | 22 lines

Merged revisions 285527 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
 r285527 | qwell | 2010-09-08 15:32:13 -0500 (Wed, 08 Sep 2010) | 15 lines
 
 Merged revisions 285526 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.6.2
 
 ........
   r285526 | qwell | 2010-09-08 15:31:43 -0500 (Wed, 08 Sep 2010) | 8 lines
   
   Fixes issue where moh files were no longer rescanned during a reload.
   
   (closes issue ASTERISK-15555)
   Reported by: pj
   Patches:
         16744-reload.diff uploaded by qwell (license 4)
   Tested by: qwell
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=285528