No MOH during call transfer

Hello Everybody,
I have a strange issue on a new Asterisk 1.8.21.0 system just installed on Centos 6.4 final (running virtual on Win2008 Hyper-V).
MOH should be installed and working as I can get it playing with this:

extensions.conf
exten=>100,1,Answer()
exten=>100,n,MusicOnHold()
exten=>100,n,Hangup()

musiconhold.conf
[default]
mode=files
directory=moh

But when I place a caller on hold to perform a call transfer, caller does not hear any music on hold, jus silence. Anybody could tell me what I am doing wrong?
Thanks!
Romano

try this
directory=/var/lib/asterisk/mohmp3
and make sure you have files in this directory.

Hi numan82 and thanks for your reply.

I tried what you suggest (created mohmp3 directory, added MP3 files, amended musiconhold.conf, reloaded MOH) but I get the same: dialling my test extension for MOH (100) I can hear my new MP3 files; unfortunately when placing the caller on hold during a call transfer, the caller gets silence instead of MOH!

That’s weird!

Use Set(CHANNEL(MUSICCLASS)=default) remember you can change default ,for your own music class

OK, thanks! I think it works now after having applied numan82’s hint!