On 1/23/2020 6:24 AM, Benoit Panizzon wrote:
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?

No, per RFC 3261, authentication is required for OPTIONS requests just like it would be if an INVITE were sent. There is an open issue in JIRA <https://issues.asterisk.org/jira/browse/ASTERISK-27477>.

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.

You can't match the request method, but you can match any message header. Documentation can be found here:

    *CLI> config show help res_pjsip_endpoint_identifier_ip identify match_header

Kind regards,
Sean
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to