[asterisk-users] Ignoring MOH directory and using default

Todd Routhier
Fri, 31 Jul 2009 18:48:31 -0000

Wow, been a long time since I have been on the list.. A few years to be
exact :)

Glad to be back in the land of Asterisk..

I have a box running Asterisk 1.4.8 that's been real solid and I have a
bunch of custom stuff running on it.

I am trying to move this to a new piece of hardware and everything is going
well but I am having MOH issues.

Basically, I use raw sound files for my music on hold on the old machine and
I want to do the same on the new machine.

I installed the same version of asterisk on the new box, then moved all my
config files and sound files over.

For some odd reason, the music on hold that Asterisk is playing is the
default stuff in the default moh directory even though I have the class
below defined in musiconhold.conf.

The directory and sound files do exist and all this works fine on the old
box, same config files, same sound files, same path, same Asterisk version.
Any ideas?

Thanks!

#####musiconhold.conf######
[default]
mode=files
;directory=/var/lib/asterisk/moh
directory=/var/lib/asterisk/mohtjr
-------------- next part --------------
An HTML attachment was scrubbed...