<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Wich player do you use?<br>
<br>
I use the one that is coming with Asterisk. Just cd to the Asterisk
Sources, make mpg123, cd mpg..., make && make install<br>
and i´m done. It worked fine all the time.<br>
<br>
cheers<br>
klaus<br>
<pre class="moz-signature" cols="72">
</pre>
<br>
<br>
Bud Bach schrieb:
<blockquote cite="mid000001c60261$ea4f0bd0$6501a8c0@BudsDesktop"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 10 (filtered)">
<style>
<!--
/* 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:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Help! No Music on Hold.
Probably a novice
mistake but I can’t figure it out. Here are the details:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">CentOS 4.2</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Asterisk 1.2.1 (Do I need
to do something to get MOH to
build?)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Ztdummy loaded
(conference works fine)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">musiconhold.conf:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">[default]</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">mode=quietmp3</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">directory=/var/lib/asterisk/mohmp3</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Sip device (x-lite – also
tried with an ATA) with canreinvite=no:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">sip.conf:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">[7211]</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">username=7211</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">secret=****</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">host=dynamic</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">type=friend</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">context=standardphone</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">disallow=all</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">allow=gsm</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">allow=ulaw</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">allow=alaw</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">allow=g723.1</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">allow=g729</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">canreinvite=no</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Extensions.conf:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">exten =>
8702,1,Answer()</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">exten =>
8702,n,MusicOnHold(default)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">exten =>
8702,n,Hangup()</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"># asterisk -r</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Asterisk 1.2.1, Copyright
(C) 1999 - 2005 Digium.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Written by Mark Spencer
<a class="moz-txt-link-rfc2396E" href="mailto:markster@digium.com"><markster@digium.com></a></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">=========================================================================</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Connected to Asterisk
1.2.1 currently running on ccsip (pid
= 4782)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">Verbosity is at least 3</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> == Spawn extension
(standardphone, 8702, 2) exited
non-zero on 'SIP/7211-be01'</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> -- Executing
Answer("SIP/7211-cedb",
"") in new stack</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> -- Executing
MusicOnHold("SIP/7211-cedb",
"default") in new stack</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> -- Started music on
hold, class
'default', on channel 'SIP/7211-cedb'</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> -- Stopped music on
hold on SIP/7211-cedb</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> == Spawn extension
(standardphone, 8702, 2) exited
non-zero on 'SIP/7211-cedb'</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">The “Stopped music on
hold” happens immediately
like it can’t find something. Should I give up and use madplay?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 11pt; font-family: Arial;">-- Bud</span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>