Merged revisions 79778 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 16 Aug 2007 22:30:39 +0000 (22:30 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 16 Aug 2007 22:30:39 +0000 (22:30 +0000)
commit74200abe104390316fceef691d385632ecd8c290
tree3f53794d6117b4c91fdc1a04a5ed95bfaeac44d6
parent0b44b92cf5b93541cc871f3241bc92568f0296cc
Merged revisions 79778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79778 | russell | 2007-08-16 17:24:25 -0500 (Thu, 16 Aug 2007) | 14 lines

This patch fixes a bug where reloading the module with "module reload" did not
delete classes from memory that were no longer in the config.  This patch fixes
that problem as well as another one.  Previously, if you reloaded MOH using the
"moh reload" CLI command, which behaved differently than "module reload ...",
MOH had to be stopped on every channel and started again immediately.  However,
there was no way to tell what class was being used, so they would all fall back
to the default class.

(closes issue #10139)
Reported by: blitzrage
Patches:
      asterisk-10139-advanced.diff.txt uploaded by jamesgolovich (license 176)
Tested by: jamesgolovich

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c