PJSIP endpoint for Kamailio dispatcher

After some more digging it looks like the anonymous endpoint is the way to go:

With a dialplan for the anonymous context that looks like this

[anonymous]
exten => _.,1,HangUp(21)

This replies with a 403 for all calls in my testing. Should it be 401? Is there any a better option than having this anonymous context?