Hi,<div><br></div><div>Few days ago, my asterisk began to stop unexpectedly</div><div><br></div><div>What I did:</div><div><ul><li>Added a mp3 to the musiconhold directory</li></ul><ul><li>Adjusted the permissions (chown asterisk:asterisk + chmod 755)</li>
<li>Reconfigured the musiconhold.conf to the deprecated format (found the example on the internet)</li></ul><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; "><pre style="font-family: monospace !important; text-align: left; font-size: 1.1em; overflow-x: auto; overflow-y: auto; ">
<code style="font-family: monospace !important; text-align: left; font-size: 1.1em; ">[classes]
default =&gt; quietmp3:/etc/asterisk/moh,r</code></pre></span></div><ul><li>Restarted the service</li></ul></div><div>I thought the new mp3 was corrupted so I removed it from the server.</div><div><br></div><div>The problem perssisted so yesterday I changed the deprecated configuration to:</div>
<div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[default]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">mode=quietmp3</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">directory=/etc/asterisk/moh</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">random=yes</font></div></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">My original configuration was:</font></div>
<div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[default]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">mode=files</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">directory=/etc/asterisk/moh</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I have no logs telling me thate quietmp3 failed and I cannot find any way to see if the musiconhold was enabled  when asterisk dropped.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Here are my questions (finally):</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Do you know if quietmp3 may kill the server?</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Is there a way to set random in &quot;files&quot; mode?</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I am using  Asterisk 1.4.17~dfsg-2ubuntu1.1 on an Ubuntu 8.04.4 server.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Thank you very much</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div>-------<br>Alexandre Vézina<br>
</div>