if on freebsd..<br><br>stop asterisk<br><br>killall mpg123<br>cd /usr/ports/audio/madplay/<br>make && make install<br><br>edit musiconhold.conf<br><br>[default]<br><br>mode=custom<br>directory=/usr/local/share/asterisk/mohmp3
<br>application=/usr/local/bin/madplay -Q -o raw:- --mono -R 8000 -a -12<br><br><br>then restart asterisk.. <br><br><br><br><br><br>Mike<br><a href="http://www.theclubvoip.com">http://www.theclubvoip.com</a><br><br><div><span class="gmail_quote">
On 6/7/06, <b class="gmail_sendername">turby</b> <<a href="mailto:turby@seznam.cz">turby@seznam.cz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">convert the moh sounfile to pcm or sln</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">save the file to
/var/lib/asterisk/moh/default</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">set the </font></span><span><font color="#0000ff" face="Arial" size="2">musiconhold.conf</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">[default]<br>mode=files<br>directory=/var/lib/asterisk/moh/default</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">turby @ </font></span><span><font color="#0000ff" face="Arial" size="2"><a href="http://www.canistec.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.canistec.com</a></font></span></div><br>
<div dir="ltr" align="left" lang="cs">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Richard
Reina<br><b>Sent:</b> Wednesday, June 07, 2006 5:30 PM<br><b>To:</b> Asterisk
Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re:
[Asterisk-Users] Music On Hold not working with new <a href="http://1.2.7.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.2.7.1</a>
install<br></font><br></div></div><div><span class="e" id="q_10baf578601d575f_1">
<div></div>Thank you very much for your relply. No I did not install
mpg123 as the instructions at:
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><a href="http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf</a><br></blockquote>for
version 1.2 say the mpg123 is no longer needed.<br><br><br><br><b><i>| Rurouni
Alucard | <<a href="mailto:rakh@dangerclan.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rakh@dangerclan.net</a>></i></b> wrote:
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
<div><font face="Arial" size="2">Did you check your mpg123 version ?, asterisk
needs a specific version in order to work...</font></div>
<div><font face="Arial" size="2"></font> </div>
<div> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="rf_reina@yahoo.com" href="mailto:rf_reina@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Richard
Reina</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a title="asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, June 07, 2006 6:02 AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
[Asterisk-Users] Music On Hold not working with new <a href="http://1.2.7.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.2.7.1</a> install</div>
<div><br></div>I have followed the instructions provided at:<br><br><a href="http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf</a><br><br>including
installing asterisk-addons-1.2. I have left musiconhold.conf as is,
calm-river et al are fine for now.<br><br>However, no sound is heard and I
get this message from the CLI when accessing MOH:<br><br>-- Started music on
hold, class 'default', on channel 'Zap/19-1'<br>-- Stoped music on hold on
Zap/19-1<br><br>This happens whether it's a parked call or whether I access
MOH directly via:<br><br>exten => 800,1,Answer<br>exten =>
800,2,MusicOnHold()<br><br>Any help would be greatly
appreciated.<br><br>Thank you very much.<br><br>Richard<br><br><br>
<div>__________________________________________________<br>Do You
Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.yahoo.com</a> </div>
<div></div>
<hr>
<div></div>_______________________________________________<br>--Bandwidth
and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>Asterisk-Users mailing
list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>_______________________________________________
<br>--Bandwidth
and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>Asterisk-Users mailing
list<br>To UNSUBSCRIBE or update options
visit:<br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
<br>
<p>__________________________________________________<br>Do You Yahoo!?<br>Tired
of spam? Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.yahoo.com</a> </p></span></div><div></div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>