Got sip response 405 "Method not allowed"

Hi!

I’m trying t register a sip user from another pc to the asterisk. My sip.conf looks like this:

[general]
register => 1111:test@(ip-address-of the pc):5060/1111

[1111]
type=friend
username=test
password=test
host=dynamic

Please tell me if I’m doing something wrong!