<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<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;}
 /* 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
        {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>

</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'>http://www.marko.net/asterisk/archives/0207/0097.html</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><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-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Asterisk - linux - JVB<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, August 19, 2003
6:12 AM<br>
<b><span style='font-weight:bold'>To:</span></b> </span></font><font size=2
 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>asterisk-users@lists.digium.com</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> [Asterisk-Users]
MusicOnHold</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Does anybody know why I can NOT hear the MusicOnHold -
using SJphone on another PC in our network (normal playback is not a problem) .
<br>
See the * output and the line configured in extension.conf below (also mp3player
does not function)<br>
<br>
Any suggestions?<br>
<br>
<br>
<b><span style='font-weight:bold'>Asterisk output:</span></b></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>*CLI&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
WaitMusicOnHold(&quot;SIP/jeroen-bf54&quot;, &quot;30&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Started music on hold, class 'default', on
SIP/jeroen-bf54<br>
&nbsp;&nbsp;&nbsp; -- Stopped music on hold on SIP/jeroen-bf54<br>
&nbsp;&nbsp;&nbsp; -- Timeout on SIP/jeroen-bf54<br>
&nbsp;&nbsp;&nbsp; -- Executing Goto(&quot;SIP/jeroen-bf54&quot;,
&quot;#|1&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (default,#,1)<br>
&nbsp;&nbsp;&nbsp; -- Sent into invalid extension '#' in context 'default' on
SIP/jeroen-bf54<br>
&nbsp;&nbsp;&nbsp; -- Executing Playback(&quot;SIP/jeroen-bf54&quot;,
&quot;invalid&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Playing 'invalid'</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<b><span style='font-weight:bold'>Extension.conf</span></b></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>exten =&gt; 4000,1,WaitMusicOnHold,30<br>
exten =&gt; 4001,1,mp3player(/var/lib/asterisk/mohmp3/sample-hold.mp3)</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-weight:bold'>musiconhold.conf</span></font></b></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>[classes]<br>
default =&gt; quietmp3:/var/lib/asterisk/mohmp3</span></font></p>

</div>

</body>

</html>