This might be another piece of the puzzle:<br><br>It would appear any application using playback functionality exits immediately. For example anything involving voicemail or playback. Phone calls work with no problem but not if asterisk must play something back. <br>
<br>The modules are loaded however...<br><br>Tsunami*CLI> module show like voicemail<br>Module Description Use Count <br>app_voicemail.so Comedian Mail (Voicemail System) 0 <br>
<br>I'm begining to think that the problem lies with my vendor's package.<br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 5:30 PM, Dan Saul <span dir="ltr"><<a href="mailto:daniel.saul@gmail.com">daniel.saul@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The files used to be "Frederic Chopin – Polonaised Op. 40-2.raw" I have since replaced the raw files with the original mp3s They are now as follows:<br>
<br>[root@Tsunami musiconhold]# ls -l .<br>total 13320<br>-rw-r--r-- 1 asterisk asterisk 5415926 2009-09-16 17:18 hm1.mp3<br>
-rw-r--r-- 1 asterisk asterisk 8217974 2009-09-16 17:18 hm2.mp3<br><br>I also have the same issue with the default files in /var/lib/asterisk/moh .<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 5:02 PM, Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>></span> wrote:<br>
<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>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What are your actual file names
(/etc/asterisk/musiconhold/Frederic Chopin – Polonaised Op. 40-2.wav?)</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><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>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> Asterisk
Users Mailing List - Non-Commercial Discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users]
Music on Hold</span></font></p>
</div><div><div></div><div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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.</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Wed, Sep 16, 2009 at 4:37 PM, Danny Nicholas <<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>> wrote:</span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Just a “shot in the dark” but could MOH be choking on the
“long file names”? (does it work on fred_chopin_pol_1)?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><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>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></p>
</div>
<div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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> moh show files<br>
Class: default<br>
File: /etc/asterisk/musiconhold/Frédéric Chopin - Polonaises
Op. 40-2<br>
File: /etc/asterisk/musiconhold/Frédéric Chopin - Polonaises
Op. 40-1<br>
<br>
These files were generated by SoX:<br>
Channels : 1<br>
Sample Rate : 8000<br>
Precision : 16-bit<br>
Sample Encoding: 16-bit Signed Integer PCM<br>
Endian Type : little<br>
Reverse Nibbles: no<br>
Reverse Bits : no<br>
Comment : 'Processed by SoX'<br>
<br>
This prints in the asterisk console when you attempt to put someone in hold:<br>
<br>
-- Started music on hold, class 'default', on
SIP/link2voip-sw1-02477668<br>
-- 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>
== Using SIP RTP CoS mark 5<br>
-- Executing [xxxxxxx@phones:1]
Goto("SIP/ATA-xxxxxxxxxx-L1-024b6d88", "1xxxxxxxxxx,1") in new
stack<br>
-- Goto (phones,1xxxxxxxxxx,1)<br>
-- Executing [1xxxxxxxxxx@phones:1]
MSet("SIP/ATA-xxxxxxxxxx-L1-024b6d88", "oldcidnum=0") in
new stack<br>
-- Executing [1xxxxxxxxxx@phones:2]
MSet("SIP/ATA-xxxxxxxxxx-L1-024b6d88",
"CALLERID(name)=""") in new stack<br>
-- Executing [1xxxxxxxxxx@phones:3]
MSet("SIP/ATA-xxxxxxxxxx-L1-024b6d88",
"CALLERID(num)=xxxxxxxxxx") in new stack<br>
-- Executing [1xxxxxxxxxx@phones:4]
Monitor("SIP/ATA-xxxxxxxxxx-L1-024b6d88", "wav,/tmp/out 0
2009-09-17 03h 04m 51s CST xxxxxxxxxx,m") in new stack<br>
-- Executing [1xxxxxxxxxx@phones:5]
Gosub("SIP/ATA-xxxxxxxxxx-L1-024b6d88",
"ExternalDial,s,1(1xxxxxxxxxx)") in new stack<br>
-- Executing [s@ExternalDial:1]
MSet("SIP/ATA-xxxxxxxxxx-L1-024b6d88",
"LOCAL(num)=1xxxxxxxxxx") in new stack<br>
-- Executing [s@ExternalDial:2]
MSet("SIP/ATA-xxxxxxxxxx-L1-024b6d88", "~~EXTEN~~=s") in
new stack<br>
-- Executing [s@ExternalDial:3]
Dial("SIP/ATA-xxxxxxxxxx-L1-024b6d88",
"SIP/1xxxxxxxxxx@link2voip-sw1,120") in new stack<br>
== Using SIP RTP CoS mark 5<br>
-- Called 1xxxxxxxxxx@link2voip-sw1<br>
-- SIP/link2voip-sw1-02477668 is making progress passing it
to SIP/ATA-xxxxxxxxxx-L1-024b6d88<br>
-- SIP/link2voip-sw1-02477668 answered
SIP/ATA-xxxxxxxxxx-L1-024b6d88<br>
-- Started music on hold, class 'default', on
SIP/link2voip-sw1-02477668<br>
-- Stopped music on hold on SIP/link2voip-sw1-02477668<br>
> doing dnsmgr_lookup for '<a href="http://sip.ca2.link2voip.com" target="_blank">sip.ca2.link2voip.com</a>'<br>
> doing dnsmgr_lookup for '<a href="http://sip.ca1.link2voip.com" target="_blank">sip.ca1.link2voip.com</a>'<br>
== 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.</span></font></p>
</div>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><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 Phoenix,
Arizona<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>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div></div></div>
</div>
<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 Phoenix, Arizona<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>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</div></div></blockquote></div><br>