Music on hold is not working

hi everyone,

see i modified the musiconhold.conf

but this wat happening

– Executing Answer(“SIP/harish-81fe”, “”) in new stack
– Executing SetMusicOnHold(“SIP/harish-81fe”, “default”) in new stack
– Executing WaitMusicOnHold(“SIP/harish-81fe”, “20”) in new stack
– Started music on hold, class ‘default’, on channel ‘SIP/harish-81fe’

it executes and suddenly stops no music at all

plz help me

How did you modify musiconhold.conf ?? Post the relevent portions. Also, did you install mpg123 or madplay? If you want to use the built-in moh stuff, you have to translate the .mp3 files into .gsm or .wav or something. I found this post that helped me.

oinko.net/astrecipes/index.php?n=152

you can use native MOH with MP3s - you just need to change your musiconhold.conf

here’s mine, works great, and NO MORE mpg123!!

[default] mode=files directory=/var/lib/asterisk/moh-native

you can change the directory to whereever your music files reside.

aslo do you have a timing source installed ? Are you using any hardware with asterisk. If not did you install ztdummy ?

You might want to see the following thread; forums.digium.com/viewtopic.php? … usiconhold