I had the same problem, had to reboot the machine & it started to work.<br>
<br>
Thanks<br><br><div><span class="gmail_quote">On 12/3/05, <b class="gmail_sendername">Chuck Bunn</b> <<a href="mailto:chuck.bunn@networkdoc.com">chuck.bunn@networkdoc.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I setup music on hold as directed for Asterisk 1.2 but still no music on<br>hold. Any ideas what I did wrong. I see it start in the CLI but then it<br>immediately stops?? I also see the Hangup occur 20 seconds later as it
<br>should according to WitMusicOnHold(20). I used a test setup suggested in<br>the wiki...<br><br>**************************<br>CLI Output<br>Spawn extension (longdistance, 870, 4) exited non-zero on 'SIP/499-39ff'<br> -- Executing Answer("SIP/499-206c", "") in new stack
<br> -- Executing SetMusicOnHold("SIP/499-206c", "default") in new stack<br> -- Executing WaitMusicOnHold("SIP/499-206c", "20") in new stack<br> -- Started music on hold, class 'default', on channel 'SIP/499-206c'
<br> -- Stopped music on hold on SIP/499-206c<br> == Spawn extension (longdistance, 870, 3) exited non-zero on<br>'SIP/499-206c'<br><br>***************************<br>;Music on Hold<br>exten => 870,1,Answer<br>exten => 870,2,SetMusicOnHold(default)
<br>exten => 870,3,WaitMusicOnHold(20)<br>exten => 870,4,Hangup<br><br>*************************<br>musiconhold.conf<br><br>[default]<br>mode=quietmp3<br>directory=/var/lib/asterisk/mohmp3<br><br>*************************
<br>zapata.conf<br><br>[trunkgroups]<br><br>[channels]<br>musiconhold=default<br>echocancel=yes<br>echocancelwhenbridged=yes<br>echotraining=yes<br>rxgain=10.0<br>txgain=3.0<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=no
<br>threewaycalling=no<br>transfer=no<br>immediate=no<br>faxdetect=both<br><br>context=incoming-home<br>signalling=fxs_ks<br>group=1<br>channel => 1,2<br><br>context=local<br>signalling=fxo_ks<br>group=2<br>channel => 3
<br><br>context=longdistance<br>signalling=fxo_ks<br>group=3<br>channel => 4<br><br>**************************<br>Output of /var/lib/asterisk/mohmp3 directory<br><br>[root@tomato mohmp3]# ls -la<br>total 107772<br>drwxr-xr-x 2 asterisk asterisk 4096 Dec 3 20:33 .
<br>drwxr-xr-x 9 asterisk asterisk 4096 Nov 11 10:18 ..<br>-rw-r--r-- 1
root
root 1939812 Nov 11 10:24
fpm-calm-river.mp3<br>-rw-r--r-- 1
root
root 2582496 Nov 11 10:24
fpm-sunshine.mp3<br>-rw-r--r-- 1
root
root 2217563 Nov 11 10:24
fpm-world-mix.mp3<br>-rw-r--r-- 1 asterisk asterisk 884864 Oct 29 12:39 QuajiroPromo.mp3<br>-rw-r--r-- 1 asterisk asterisk 835712 Oct 29 12:39 TristeAlegriaPromo.mp3<br><br><br><br>Thanks<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</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">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>