[asterisk-bugs] [Asterisk 0010536]: When reloading moh and the directory is changed, the change doesn't apply
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Dec 17 16:16:36 CST 2007
The following issue has been REOPENED.
======================================================================
http://bugs.digium.com/view.php?id=10536
======================================================================
Reported By: tbelder
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10536
Category: Resources/res_musiconhold
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.10.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 08-23-2007 09:05 CDT
Last Modified: 12-17-2007 16:16 CST
======================================================================
Summary: When reloading moh and the directory is changed, the
change doesn't apply
Description:
When changing the directory in musiconhold.conf and commit a reload
('module reload res_musiconhold.so' or 'moh reload'), the filelist isn't
updated.
======================================================================
----------------------------------------------------------------------
junky - 12-17-07 16:16
----------------------------------------------------------------------
Like I was discussing with russell on IRC.
That patch could result in some problems:
you can have 2 moh classes with the same name.
Example:
[default]
mode=files
directory=/var/lib/asterisk/moh
[babysue]
mode=files
directory=/var/lib/asterisk/moh/babysue23
[babysue]
mode=files
directory=/var/lib/asterisk/moh/babysue3
rabbit*CLI> moh show classes
Class: babysue
Mode: files
Directory: /var/lib/asterisk/moh/babysue3
Use Count: 0
Class: babysue
Mode: files
Directory: /var/lib/asterisk/moh/babysue23
Use Count: 0
Class: default
Mode: files
Directory: /var/lib/asterisk/moh
Use Count: 0
rabbit*CLI>
these 2 classes have 2 different directories, but the same name and
there's no warning at all, which is bad to my point of view.
Issue History
Date Modified Username Field Change
======================================================================
12-17-07 16:16 junky Assigned To qwell =>
12-17-07 16:16 junky Status closed => new
12-17-07 16:16 junky Resolution fixed => reopened
12-17-07 16:16 junky Note Added: 0075603
======================================================================
More information about the asterisk-bugs
mailing list