Music on hold not working

hi,

i have the problem that music on hold is not working at all. on the CLI i get the message

Music class default requested but no musiconhold loaded

in my modules.conf i have the following lines:

load => format_wav.so
load => format_pcm.so
load => format_au.so
load => format_mp3.so
load => res_musiconhold.so

i was under the impression that would do the job.

then i uploaded a 900kb mp3

/var/lib/asterisk/mohmp3/song1.mp3

by using the “On Hold Musik” configuration page of freePBX, still no joy. help would be great here.

thanks
Jan

not sure if this is gonna help

are you using a zaptel card? if not it hink you need to edit the zaptel files to enusre that you get music on hold from another type of card.

no, i have no zaptel card. i have a Fritz! card working and i have an account with a voip provider which talks IAX2 to my asterisk box.

Jan

okay, have it working now.

i am not sure WHY, but a CR at the last line in musiconhold.conf did the trick. i hope thats a bug not a feature !!!

bye
Jan

This was a fix for me too. After which i did a moh reload from the asterisk cli. This was a very unintuitive solution. Thanks for posting your fix.