<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Yes I linked all the mp3 and mpg extensions with the mpg123 program
(/usr/local/bin) ... but still not able to get the music on hold playing<br>
<br>
Getting curious now what I am doing wrong ...<br>
<br>
Andrew Joakimsen wrote:<br>
<blockquote type="cite"
cite="mid000201c36688$14b4bb40$ca682440@wolfgang">
<meta http-equiv="Content-Type" content="text/html; ">
<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;}
span.EmailStyle18
        {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>
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Did you
remove the symlink for mpg123 -> mpg321 and replace it with a
symlink to the correct location for mpg123? I have also noticed when
using the eStara softphone that if push to talk is enabled if you do
not press ctrl to “talk” you cannot hear the music on hold, as well as
some other oddities.</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="2"
face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">-----Original
Message-----<br>
<b><span style="font-weight: bold;">From:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-admin@lists.digium.com">asterisk-users-admin@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-admin@lists.digium.com">mailto:asterisk-users-admin@lists.digium.com</a>] <b><span
style="font-weight: bold;">On Behalf Of </span></b>Asterisk - linux -
JVB<br>
<b><span style="font-weight: bold;">Sent:</span></b> </span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;">Tuesday, August 19, 2003</span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"> </span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;">3:13 PM</span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"><br>
<b><span style="font-weight: bold;">To:</span></b> </span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"><a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a></span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re:
[Asterisk-Users] MusicOnHold</span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;">Andrew, thanks I
already have got mpg123 installed and working. However still got the
MOH stuff up and running. <br>
Got a feeling it has got something to do with the stottering audio (see
my other message on this list)<br>
<br>
NOTICE[1116949808]: File res_musiconhold.c, Line 258
(monmp3thread): Request to schedule in the past?!?!<br>
<br>
Any suggestions are welcome ....<br>
<br>
<br>
Andrew Joakimsen wrote:<br>
<br>
</span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="2"
color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><a
href="http://www.marko.net/asterisk/archives/0207/0097.html">http://www.marko.net/asterisk/archives/0207/0097.html</a></span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="2"
color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="2"
face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">-----Original
Message-----<br>
<b><span style="font-weight: bold;">From:</span></b> <a
href="mailto:asterisk-users-admin@lists.digium.com">asterisk-users-admin@lists.digium.com</a>
[<a href="mailto:asterisk-users-admin@lists.digium.com">mailto:asterisk-users-admin@lists.digium.com</a>]<b><span
style="font-weight: bold;">On Behalf Of </span></b>Asterisk - linux -
JVB<br>
<b><span style="font-weight: bold;">Sent:</span></b> </span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;">Tuesday, August 19, 2003</span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"> </span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;">6:12 AM</span></font><font
size="2" face="Tahoma"><span
style="font-size: 10pt; font-family: Tahoma;"><br>
<b><span style="font-weight: bold;">To:</span></b> <a
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b>
[Asterisk-Users] MusicOnHold</span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;">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: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;">*CLI> --
Executing WaitMusicOnHold("SIP/jeroen-bf54", "30") in new stack<br>
-- Started music on hold, class 'default', on SIP/jeroen-bf54<br>
-- Stopped music on hold on SIP/jeroen-bf54<br>
-- Timeout on SIP/jeroen-bf54<br>
-- Executing Goto("SIP/jeroen-bf54", "#|1") in new stack<br>
-- Goto (default,#,1)<br>
-- Sent into invalid extension '#' in context 'default' on
SIP/jeroen-bf54<br>
-- Executing Playback("SIP/jeroen-bf54", "invalid") in new stack<br>
-- Playing 'invalid'</span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;"><br>
<b><span style="font-weight: bold;">Extension.conf</span></b></span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;">exten =>
4000,1,WaitMusicOnHold,30<br>
exten => 4001,1,mp3player(/var/lib/asterisk/mohmp3/sample-hold.mp3)</span></font></p>
<p class="MsoNormal" style="margin-left: 1in;"><b><font size="3"
face="Times New Roman"><span
style="font-size: 12pt; font-weight: bold;">musiconhold.conf</span></font></b></p>
<p class="MsoNormal" style="margin-left: 1in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;">[classes]<br>
default => quietmp3:/var/lib/asterisk/mohmp3</span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
</div>
</blockquote>
<br>
</body>
</html>