PJSIP Do Not Challenge ‘options’ Without Username. – Silence ‘notice’ On Console.

Home » Asterisk Users » PJSIP Do Not Challenge ‘options’ Without Username. – Silence ‘notice’ On Console.
Asterisk Users 1 Comment

Hi Gang

Mitel PBX use ‘options’ without username to monitor the connection.

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?

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.

Mit freundlichen Grüssen

-Benoît Panizzon-

I m p r o W a r e A G – Leiter Commerce Kunden

One thought on - PJSIP Do Not Challenge ‘options’ Without Username. – Silence ‘notice’ On Console.

  • 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>.

    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