NOTICE[2511]: chan_sip.c:24625 build_peer: The 'username' f

Hi Friends,

        While i am starting Asterisk why i am getting the following errors.

NOTICE[2511]: chan_sip.c:24625 build_peer: The ‘username’ field for sip peers has been deprecated in favor of the term 'defaultuser’
WARNING[2511]: res_musiconhold.c:1840 load_module: No music on hold classes configured, disabling music on hold.
[root@localhost premavardhan]# [Sep 28 12:29:42] WARNING[2535]: chan_sip.c:13581 register_verify: Failed to parse contact inf

Regards,
Nagavardhan.

You have used on obsolete, but still just about supported option name. The correct name is in the message.

You have an empty musiconhold.conf

I believe I already answered this. You need to provide the contents of the register request, but I suspect that it is trying to use a TEL: URL.