I recently added a Streaming Music Category name “AOL-80’s”. The problem is the apostrophe in “80’s” interprets to “AOL-80& #039;s” (for this post I am adding a space between the “&” and “#039;s”, otherwise it would just be interpreted to an apostrophe by browsers) in my musiconhold_additional.conf (i.e. [AOL-80& #039;s]) which breaks the rest of my music on hold classes under it because of the semicolon in the string.
When I delete the class manually from the musiconhold_additional.conf and press submit on anything other then a change to Music on Hold, for instance a change to the extensions and “Apply Configuration Changes” the offending class is excluded from the reload and all is well. But when I add another Music on Hold Class through the Web GUI, the offending class is reintroduced and all MOH classes break.
I have tried to delete the “AOL-80’s” class using the GUI but that does not work.
My question is, how can I manually delete a Music on Hold Class completely from the system? I have looked at the Asterisk Database tables and can not find anything regarding Musiconhold. Please help!
Here is an example of my musiconhold_additional.conf
(again I have intentionally added a space between the & and # so that this example will not simply show an apostrophe to thos of you reading this)…
application=/usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 http://scfire-mtc-aa04.stream.aol.com:80/stream/1040
Please note that the Class [AOL-80s] works perfectly once the first class [AOL-80& #039;s] is removed.