Dear all, I have Asterisk 1.4.13 with the default configuration for Music On Hold. I have this in /etc/asterisk/musiconhold.conf: [default] mode=files directory=/var/lib/asterisk/moh and in /var/lib/asterisk/moh I have the default wav files: fpm-calm-river.wav fpm-sunshine.wav fpm-world-mix.wav This way the music on hold works very good. After that I use audacity to export my own MP3 files to WAV, and finally I put them into /var/lib/asterisk/moh and delete the default fpm* wav files. But when we call any other and turn on the HOLD function, the music doesn't work. How can I customize the "music on hold" files ??? Special thanks. Alejandro
Alejandro Cabrera Obed wrote:> How can I customize the "music on hold" files ??? >http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk&view_comment_id=13455 Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
On Wed, 30 Apr 2008, Alejandro Cabrera Obed wrote:> I have this in /etc/asterisk/musiconhold.conf: > > [default] > mode=files > directory=/var/lib/asterisk/moh > > After that I use audacity to export my own MP3 files to WAV, and finally > I put them into /var/lib/asterisk/moh and delete the default fpm* wav files. > > But when we call any other and turn on the HOLD function, the music > doesn't work.Use the "file" command to compare the files that work and the files that don't. They should be "RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz." I usually forget to change the "Hz." Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000