All, I am using Asterisk 1.4.4 and it is not playing any MOH. I think the underlying problem is the following error: [Jun 11 20:25:37] WARNING[3207]: res_musiconhold.c:424 spawn_mp3: Found no files in '/var/lib/asterisk/moh/asterisk' [Jun 11 20:25:37] WARNING[3207]: res_musiconhold.c:506 monmp3thread: Unable to spawn mp3player Now it does not matter what I change in the directy= to in the heading [default] in the file musiconhold.conf. [default] mode=files directory=/var/lib/asterisk/moh/klavo I still get the error: res_musiconhold.c:424 spawn_mp3: Found no files in '/var/lib/asterisk/moh/asterisk' which does not make sense to me. I don't have any other MOH defined As soon as MOH is initiated is immediately stop with no error. -- Executing [099@internal:2] MusicOnHold("SIP/202-0895d428", "default") in new stack -- Started music on hold, class 'default', on channel 'SIP/202-0895d428' -- Stopped music on hold on SIP/202-0895d428 It's like the musiconhold.conf file is not read. I have rebooted and reloaded with no chance to the above. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070611/ecaf357c/attachment-0001.htm
On Monday 11 June 2007, Klaverstyn, David C wrote:> I think the underlying problem is the following error:You are right. You have to put some mp3 files to /var/lib/asterisk/moh/asterisk according to your configuration. regards t. -- knowledgeTools? ... managing complexity. -------------------------------------------------- knowledgeTools International GmbH Wallstra?e 15 / 15 a 10179 Berlin Fon: +49 30 726 169 20 Fax: +49 30 726 169 249 thomas.stein@knowledgetools.de www.knowledgetools.de Sitz Berlin, AG Berlin-Charlottenburg, HRB 86378 Gesch?ftsf?hrer: Oliver Seyboldt, Reinhard Kunz -------------------------------------------------- This eMail communication (and any attachment/s) may contain confidential or privileged information and is intended only for the individual(s) or entity named above and to others who have been specifically authorized to receive it. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by reply e-mail, and delete the e-mail subsequently. Thank you.