defining an endpoint named “anonymous”. will accept anoymous calls, which is not allowed by default and not recommended, at least make sure the anonymous context do not have access to internal or outbound dialing extensions
Does it matter that the endpoint can’t be found. When Asterisk is using OPTIONSs to test a “connection”, and 404 response is just as valid as a 200 one.
I suppose not, although replying with a 200 seems neater (and results in less logs). It might be more trouble than it’s worth with the anonymous call restrictions though.
bump. Still not sure what to do about this. My console is full of this
[Aug 23 15:23:16] NOTICE[19720]: res_pjsip/pjsip_distributor.c:659 log_failed_request: Request 'OPTIONS' from '<sip:dispatcher@voip01.syd>' failed for 'x.x.x.x:5060' (callid: 6650e5586ed28055-20740@x.x.x.x) - No matching endpoint found