[asterisk-users] PJSIP do not challenge 'options' without username. - silence 'notice' on console.
Sean Bright
sean.bright at gmail.com
Thu Jan 23 16:50:29 CST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200123/291fe7fa/attachment.html>
More information about the asterisk-users
mailing list