<html><body bgcolor="#FFFFFF" lang="EN-US" link="blue" vlink="purple"><div>It was the darn restart, thanks!</div><div><br></div><div>I wasn't aware that musiconhold.conf was only read at start but now I remember that Asterisk only reads certain files upon reload.</div><div><br></div><div>Thx<br><br>On Jul 31, 2009, at 2:03 PM, "Danny Nicholas" <<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName">
<o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType">
<o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Are your permissions ok (files and
directories)? Did you restart asterisk after modifying moh.conf?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style="font-weight:
bold">On Behalf Of </span></b>Todd Routhier<br>
<b><span style="font-weight:bold">Sent:</span></b> Friday, July 31, 2009 1:49
PM<br>
<b><span style="font-weight:bold">To:</span></b>
<a href="mailto:asterisk-users@lists.digium.com"><a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a></a><br>
<b><span style="font-weight:bold">Subject:</span></b> [asterisk-users] Ignoring
MOH directory and using default</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Wow, been a long time
since I have been on the list.. A few years to be exact :)<br>
<br>
Glad to be back in the <st1:place w:st="on"><st1:placetype w:st="on">land</st1:placetype>
of <st1:placename w:st="on">Asterisk</st1:placename></st1:place>..<br>
<br>
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.<br>
<br>
I am trying to move this to a new piece of hardware and everything is going
well but I am having MOH issues.<br>
<br>
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.<br>
<br>
I installed the same version of asterisk on the new box, then moved all my
config files and sound files over.<br>
<br>
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.<br>
<br>
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?<br>
<br>
Thanks!<br>
<br>
#####musiconhold.conf######<br>
[default]<br>
mode=files<br>
;directory=/var/lib/asterisk/moh<br>
directory=/var/lib/asterisk/mohtjr<br>
<br>
<o:p></o:p></span></font></p>
</div>
</o:smarttagtype></o:smarttagtype></o:smarttagtype></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><br><span></span><br><span>AstriCon 2009 - October 13 - 15 Phoenix, Arizona</span><br><span>Register Now: <a href="http://www.astricon.net"><a href="http://www.astricon.net">http://www.astricon.net</a></a></span><br><span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a></span></div></blockquote></body></html>