<div dir="ltr">Hello,<br><br>We're running 2 Asterisk 1.6.2.x systems, one installed from source and one from AsteriskNow.<br><br>On the system installed form source, MOH works fine and these are the results we get for the different relevant queries:<br>
<br><br>Asterisk CLI commands:<br>----------------------<br><br>sip*CLI> moh show classes<br>Class: default<br> Mode: files<br> Directory: moh<br><br>sip*CLI> moh show files<br>Class: default<br> File: /var/lib/asterisk/moh/macroform-cold_day<br>
File: /var/lib/asterisk/moh/macroform-the_simplicity<br> File: /var/lib/asterisk/moh/reno_project-system<br> File: /var/lib/asterisk/moh/macroform-robot_dity<br> File: /var/lib/asterisk/moh/manolo_camp-morning_coffee<br>
<br>sip*CLI> module show like music<br>Module Description Use Count<br>res_musiconhold.so Music On Hold Resource 0<br>1 modules loaded<br>
<br><br><br>musiconhold.conf:<br>-----------------<br>[general]<br>[default]<br>mode=files<br>directory=moh<br><br><br><br>On the AsteriskNow based system, the files/classes are not loaded, for some reason. These are the results we get:<br>
<br><br>Asterisk CLI commands:<br>----------------------<br><br>pbx*CLI> moh show classes<br><br>pbx*CLI> moh show files<br><br>pbx*CLI> module show like music<br>Module Description Use Count<br>
res_musiconhold.so Music On Hold Resource 0<br>1 modules loaded<br><br><br>musiconhold.conf:<br>-----------------<br>;<br>; Music on hold class definitions<br>; This is using the new 1.2 config file format, and will not work with 1.0<br>
; based Asterisk systems<br>;<br>include musiconhold_custom.conf<br>include musiconhold_additional.conf<br><br><br>musiconhold_additional.conf:<br>----------------------------<br>[default]<br>mode=files<br>directory=/var/lib/asterisk/moh/<br>
[none]<br>mode=files<br>directory=/var/lib/asterisk/moh/.nomusic_reserved<br><br>When a call is placed on hold on this system, we get this message:<br><br>"Music class default requested but no musiconhold loaded"<br>
<br>
We tried to change the "directory" line to match the working one (only =moh), but it didn't help despite a "moh reload" command.<br>
<br>
I'm not sure what to do next to solve this issue.<br><br>Please help.<br><br>Thanks,<br><br>Michael<br><br></div>