Musiconhold stoppinh immediately

My moh was working but after rebooting its not working.

Asterisk version:
Asterisk CLIoutput:
– Executing [6000@default:1] Answer(“SIP/gs102-081f3998”, “”) in new stack
– Executing [6000@default:2] MusicOnHold(“SIP/gs102-081f3998”, “”) in new stack
– Started music on hold, class ‘default’, on SIP/gs102-081f3998
– Stopped music on hold on SIP/gs102-081f399
i modified only the codec in peer definition. But even after changing it back to original it is not working.

I got it. Its very funny My moh directory was having some file by the name screenlog.0 I removed it and asterisk started playing moh again.