<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Fixedsys;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {font-family:Arial;
        color:navy;}
p.bodytext21, li.bodytext21, div.bodytext21
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Change from default to manual. I did that
and it helped.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Later I changed to madplay and set that as
default. Below my line from musiconhold.conf:</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>default =>
custom:/usr/share/asterisk/mohmp3/,/usr/bin/madplay --mono -R 8000
--output=raw:-</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:navy'>Marcel </span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Giordano Grandis<br>
<b><span style='font-weight:bold'>Sent:</span></b> donderdag 30 juni 2005 </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>9:05</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Subject:</span></b> R: [Asterisk-Users] Music
oh hold</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>This is
my musiconhold.conf and my folder:</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'><a
href="mailto:root@voip:/etc/asterisk">root@voip:/etc/asterisk</a># less
musiconhold.conf<br>
[classes]<br>
default => quietmp3:/var/lib/asterisk/mohmp3<br>
;loud => mp3:/var/lib/asterisk/mohmp3<br>
;random => mp3:/var/lib/asterisk/mohmp3,-z<br>
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3<br>
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3<br>
; Note that the custom mode cannot handle escaped parameters (specifically
embedded spaces)<br>
;manual => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000 -f
8192 -b 2048 --mono -s<br>
<a href="mailto:root@voip:/etc/asterisk">root@voip:/etc/asterisk</a># ls
/var/lib/asterisk/mohmp3/<br>
fpm-calm-river.mp3 fpm-sunshine.mp3 fpm-world-mix.mp3<br>
<a href="mailto:root@voip:/etc/asterisk">root@voip:/etc/asterisk</a>#</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I think
is ok.</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Any
ideas ?</span></font></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=4 color=navy
face=Fixedsys><span style='font-size:13.5pt;font-family:Fixedsys;color:navy'>Giordano</span></font></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span lang=IT style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><b><font size=2 face=Tahoma><span lang=IT style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><font size=2
face=Tahoma><span lang=IT style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>Per conto di </span></b>Chris Stinson<br>
<b><span style='font-weight:bold'>Inviato:</span></b> mercoledì 29 giugno 2005
22.39<br>
<b><span style='font-weight:bold'>A:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> RE: [Asterisk-Users]
Music oh hold</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 color=blue
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:blue'>Does
your default look like this in musiconhold.conf, default =>
quietmp3:/var/lib/asterisk/mohmp3</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 color=blue
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:blue'>If so,
do you have any music in the directory mohmp3?</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 color=blue
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:blue'> </span></font></p>
<div>
<p style='margin-left:36.0pt'><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;color:blue'>-----<br>
<br>
Chris Stinson<br>
Network Operations Center<br>
ISDN-Net, Inc.<br>
615-221-4200 x103<br>
noc@isdn.net</span></font><font color=blue><span style='color:blue'> </span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-left:36.0pt'><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'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Giordano Grandis<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, June 29, 2005
12:35 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Asterisk-Users] Music oh
hold</span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Sorry, i
also tried this:</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>exten
=> 6000,1,Answer<br>
exten => 6000,2,MusicOnHold(default)</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>and i
got this result:</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>*CLI>
-- Executing Answer("SIP/2391-8cdd", "") in new stack<br>
-- Executing MusicOnHold("SIP/2391-8cdd",
"default") in new stack<br>
Jun 29 19:33:47 WARNING[1616]: res_musiconhold.c:354 moh0_exec: Unable to start
music on hold (class 'default') on channel SIP/2391-8cdd<br>
== Spawn extension (local, 6000, 2) exited non-zero on 'SIP/2391-8cdd'</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Any
ideas ?</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Thanks</span></font></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Giordano</span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span lang=IT style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><b><font size=2 face=Tahoma><span lang=IT style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><font size=2
face=Tahoma><span lang=IT style='font-size:10.0pt;font-family:Tahoma'> Giordano
Grandis <br>
<b><span style='font-weight:bold'>Inviato:</span></b> mercoledì 29 giugno 2005
19.27<br>
<b><span style='font-weight:bold'>A:</span></b> asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> </span></font></p>
<div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi, I installed mpg123 v0.59r
without error and defined as defaut folder /var/lib/asterisk/mohmp3. When i set
a call on hold everythinghs seem ok, but i cannot hear music. I'm using
asterisk 1.0.8</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>*CLI> --
Executing Dial("SIP/2339-4da6", "SIP/2391|60|Thtr") in new
stack<br>
-- Called 2391<br>
-- SIP/2391-79a0 is ringing<br>
-- Saved useragent "PA168S" for peer 2319<br>
-- SIP/2391-79a0 answered SIP/2339-4da6<br>
-- Attempting native bridge of SIP/2339-4da6 and
SIP/2391-79a0<br>
-- Started music on hold, class 'default', on SIP/2339-4da6<br>
-- Stopped music on hold on SIP/2339-4da6<br>
== Spawn extension (local, 2391, 1) exited non-zero on 'SIP/2339-4da6'</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Anyone can help me please ?</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Thanks</span></font></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=4 color=navy
face=Fixedsys><span style='font-size:13.5pt;font-family:Fixedsys;color:navy'>Giordano </span></font><em><i><font
size=2 color=navy face=Fixedsys><span style='font-size:10.0pt;font-family:Fixedsys;
color:navy'> </span></font></i></em></p>
<p class=MsoNormal style='margin-left:36.0pt'><em><i><font size=2 color=navy
face=Fixedsys><span style='font-size:10.0pt;font-family:Fixedsys;color:navy'>
</span></font></i></em></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
</div>
</body>
</html>