Todd Routhier
2009-Jul-31 18:48 UTC
[asterisk-users] Ignoring MOH directory and using default
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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090731/c2bd8d0c/attachment.htm
Danny Nicholas
2009-Jul-31 19:03 UTC
[asterisk-users] Ignoring MOH directory and using default
Are your permissions ok (files and directories)? Did you restart asterisk after modifying moh.conf? _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Todd Routhier Sent: Friday, July 31, 2009 1:49 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Ignoring MOH directory and using default 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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090731/26dd5603/attachment.htm