<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 1/23/2020 6:24 AM, Benoit Panizzon
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20200123122457.7c01ab2d@go.imp.ch">
<pre class="moz-quote-pre" wrap="">Therefore Asterisk PJSIP cannot match an unsername against an endpoint
and prints a notice on the console.
Is there a way to silence this kind of notice?</pre>
</blockquote>
<br>
No, per RFC 3261, authentication is required for OPTIONS requests
just like it would be if an INVITE were sent. There is <a
moz-do-not-send="true"
href="https://issues.asterisk.org/jira/browse/ASTERISK-27477">an
open issue in JIRA</a>.<br>
<br>
<blockquote type="cite" cite="mid:20200123122457.7c01ab2d@go.imp.ch">
<pre class="moz-quote-pre" wrap="">I wonder if identify_by 'header' could solve the issue to match method
'options', but I was not able to find any documentation about this.</pre>
</blockquote>
<br>
You can't match the request method, but you can match any message
header. Documentation can be found here:<br>
<br>
<tt> *CLI> config show help res_pjsip_endpoint_identifier_ip
identify match_header</tt><br>
<br>
Kind regards,<br>
Sean<br>
</body>
</html>