Got SIP response 405 "Method Not Allowed"

This means you are using allowguest=yes as this the default.
Not sure why digium thinks this is a good choice.
You should put allowguest=no in sip.conf

Check also svnview.digium.com/svn/asterisk/ … onf.sample