Does asterisk support Message method?

I want to test the message method with *,but asterisk returned 405.So I wonder if * support message and if it supports,how I need to configure

Asterisk supports SIP “MESSAGE” method, but only within a dialog, if the request is sent without any exist dialogs (calls) wthen Asterisk retruns 405.