<br><br><div class="gmail_quote">2010/10/24 Olivier <span dir="ltr"><<a href="mailto:oza_4h07@yahoo.fr">oza_4h07@yahoo.fr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">2010/10/14 Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>></span><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; 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>Olivier<div><div></div><div class="h5">
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, October 14, 2010
3:34 PM<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> Re: [asterisk-users]
Default MOH not working on 1.6.1</div></div></span></font></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">2010/10/14 Olivier <<a href="mailto:oza_4h07@yahoo.fr" target="_blank">oza_4h07@yahoo.fr</a>></span></font></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">2010/10/14 Olivier <<a href="mailto:oza_4h07@yahoo.fr" target="_blank">oza_4h07@yahoo.fr</a>></span></font></p>
<div>
<div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hello,<br>
<br>
I've configured with the very same script 1 Intel Xeon and 1 Intel Pentium4
machines.<br>
On one MOH is working properly<br>
On the other, I can read on console, lines such as those bellow but I can't
hear anything.<br>
<br>
In which direction, should I further investigate ?<br>
If this help, here is my setup:<br>
<br>
me ---<PSTN-ISDN> ---- Patton 4638 ---<SIP>--- Asterisk 1.6.1.18<br>
<br>
<br>
-- Started music on hold, class 'default', on
SIP/patton-0000002b<br>
== Using SIP RTP CoS mark 5<br>
== Extension Changed 249[subs] new state Ringing for Notify User 749<br>
== Extension Changed 249[subs] new state Ringing for Notify User 750<br>
-- SIP/249-0000002c is ringing<br>
Sent RTP packet to <a href="http://192.168.102.200:5030" target="_blank">192.168.102.200:5030</a>
(type 00, seq 043637, ts 000160, len 000160)<br>
Sent RTP packet to <a href="http://192.168.102.200:5030" target="_blank">192.168.102.200:5030</a>
(type 00, seq 043638, ts 000320, len 000160)<br>
<br>
<br>
Thanks</span></font></p>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
<br>
PS: I used the "standard" i386 Lenny image on the Xeon machine.<br>
Should I favor another image, such as amd64 or em64t, instead ?<br>
<br>
</span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
If this matters, I must also add MOH is triggered here by Queue application. </span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" color="navy" face="Times New Roman"><span style="font-size: 12pt; color: navy;"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I assume MOH is working on Pentium 4 and “failing”
on Xeon?</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"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Try this snippet</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Exten => 664,1,answer</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">exten => 664,n,SetMusicOnHold(default)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">exten => 664,n,WaitMusicOnHold(20)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">exten => 664,n,Background(vm-goodbye)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">exten => 664,n,Hangup</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"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">This should play your default MOH for 20
seconds, then say goodbye and hangup.</span></font></p></div></div></div></div></blockquote><div><br>Hi,<br><br>I can confirm MOH can't be heard but vm-goodbye file can !<br>I turned RTP debug on to see what is going on and I can see RTP packets flowing in and out :<br>
Got RTP packet from <a href="http://192.168.102.200:4876" target="_blank">192.168.102.200:4876</a> (type 08, seq 004857, ts 1590310527, len 000160)<br>Sent RTP packet to <a href="http://192.168.102.200:4876" target="_blank">192.168.102.200:4876</a> (type 08, seq 031524, ts 001440, len 000160)<br>
<br><br>I opened another thread in this list to further detail my setup.<br><br>A strange thing is that RTP flows seem to use very different timestamps (parameter ts above ?) but comparing with another setup, it doesn't seem to matter.<br>
<br>Regards<br><br><br></div></div><br>
</blockquote></div>Re-reading you advice, I realized I forgot to type the Answer line.<br>Adding it did it.<br><br>Thanks for all.<br><br>It is really strange to realize how applications (Playback, Dial, Queue) have different requirements towards Answer() statement.<br>