<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        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=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>What are your actual file names
(/etc/asterisk/musiconhold/Frederic Chopin &#8211; Polonaised Op. 40-2.wav?)<o:p></o:p></span></font></p>

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

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><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>Dan Saul<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 16,
2009 4:50 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users]
Music on Hold</span></font><o:p></o:p></p>

</div>

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

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>That was a good shot in
the dark, but sadly renaming it to something simple (and removing all non ascii
in the process) does not correct this.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Wed, Sep 16, 2009 at 4:37 PM, Danny Nicholas &lt;<a
href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt; wrote:<o:p></o:p></span></font></p>

<div link=blue vlink=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Just a &#8220;shot in the dark&#8221; but could MOH be choking on the
&#8220;long file names&#8221;?&nbsp; (does it work on fred_chopin_pol_1)?</span></font><o:p></o:p></p>

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

<div>

<div class=MsoNormal align=center style='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><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'> <a
href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Dan Saul<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 16,
2009 4:18 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Music on
Hold</span></font><o:p></o:p></p>

</div>

<div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Hi,<br>
<br>
I have trouble getting MOH to work after an upgrade from asterisk 1.4 to
1.6.1.4. The call goes on hold, MOH is started, and then stops right away.<br>
<br>
Here are the files both of type .raw:<br>
<br>
Tsunami*CLI&gt; moh show files<br>
Class: default<br>
&nbsp;&nbsp;&nbsp; File: /etc/asterisk/musiconhold/Frédéric Chopin - Polonaises
Op. 40-2<br>
&nbsp;&nbsp;&nbsp; File: /etc/asterisk/musiconhold/Frédéric Chopin - Polonaises
Op. 40-1<br>
<br>
These files were generated by SoX:<br>
Channels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br>
Sample Rate&nbsp;&nbsp;&nbsp; : 8000<br>
Precision&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 16-bit<br>
Sample Encoding: 16-bit Signed Integer PCM<br>
Endian Type&nbsp;&nbsp;&nbsp; : little<br>
Reverse Nibbles: no<br>
Reverse Bits&nbsp;&nbsp; : no<br>
Comment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 'Processed by SoX'<br>
<br>
This prints in the asterisk console when you attempt to put someone in hold:<br>
<br>
&nbsp;&nbsp;&nbsp; -- Started music on hold, class 'default', on
SIP/link2voip-sw1-02477668<br>
&nbsp;&nbsp;&nbsp; -- Stopped music on hold on SIP/link2voip-sw1-02477668<br>
<br>
No errors are printed, however the other side just hears silence.<br>
<br>
Here is the full debug output (asterisk -rvvvvv):<br>
<br>
&nbsp;== Using SIP RTP CoS mark 5<br>
&nbsp;&nbsp;&nbsp; -- Executing [xxxxxxx@phones:1]
Goto(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;, &quot;1xxxxxxxxxx,1&quot;) in new
stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (phones,1xxxxxxxxxx,1)<br>
&nbsp;&nbsp;&nbsp; -- Executing [1xxxxxxxxxx@phones:1]
MSet(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;, &quot;oldcidnum=0&quot;) in
new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [1xxxxxxxxxx@phones:2]
MSet(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;,
&quot;CALLERID(name)=&quot;&quot;&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [1xxxxxxxxxx@phones:3]
MSet(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;,
&quot;CALLERID(num)=xxxxxxxxxx&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [1xxxxxxxxxx@phones:4]
Monitor(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;, &quot;wav,/tmp/out 0
2009-09-17 03h 04m 51s CST xxxxxxxxxx,m&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [1xxxxxxxxxx@phones:5]
Gosub(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;,
&quot;ExternalDial,s,1(1xxxxxxxxxx)&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@ExternalDial:1]
MSet(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;,
&quot;LOCAL(num)=1xxxxxxxxxx&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@ExternalDial:2]
MSet(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;, &quot;~~EXTEN~~=s&quot;) in
new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@ExternalDial:3]
Dial(&quot;SIP/ATA-xxxxxxxxxx-L1-024b6d88&quot;,
&quot;SIP/1xxxxxxxxxx@link2voip-sw1,120&quot;) in new stack<br>
&nbsp; == Using SIP RTP CoS mark 5<br>
&nbsp;&nbsp;&nbsp; -- Called 1xxxxxxxxxx@link2voip-sw1<br>
&nbsp;&nbsp;&nbsp; -- SIP/link2voip-sw1-02477668 is making progress passing it
to SIP/ATA-xxxxxxxxxx-L1-024b6d88<br>
&nbsp;&nbsp;&nbsp; -- SIP/link2voip-sw1-02477668 answered
SIP/ATA-xxxxxxxxxx-L1-024b6d88<br>
&nbsp;&nbsp;&nbsp; -- Started music on hold, class 'default', on
SIP/link2voip-sw1-02477668<br>
&nbsp;&nbsp;&nbsp; -- Stopped music on hold on SIP/link2voip-sw1-02477668<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; doing dnsmgr_lookup for '<a
href="http://sip.ca2.link2voip.com" target="_blank">sip.ca2.link2voip.com</a>'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; doing dnsmgr_lookup for '<a
href="http://sip.ca1.link2voip.com" target="_blank">sip.ca1.link2voip.com</a>'<br>
&nbsp; == Spawn extension (ExternalDial, s, 3) exited non-zero on
'SIP/ATA-xxxxxxxxxx-L1-024b6d88'<br>
<br>
Any thoughts or ideas? If there were an error I could work on solving that, but
there is none... Thanks.<o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 <st1:place w:st="on"><st1:City w:st="on">Phoenix</st1:City>,
 <st1:State w:st="on">Arizona</st1:State></st1:place><br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>

</div>

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

</div>

</body>

</html>