Benoit Panizzon
2020-Jan-23 11:24 UTC
[asterisk-users] PJSIP do not challenge 'options' without username. - silence 'notice' on console.
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 ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
Sean Bright
2020-Jan-23 22:50 UTC
[asterisk-users] PJSIP do not challenge 'options' without username. - silence 'notice' on console.
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>
Seemingly Similar Threads
- Is it possible to have two endpoints to the same IP address where one uses IP based authentication and the other requires asterisk to register to that system?
- Is it possible to have two endpoints to the same IP address where one uses IP based authentication and the other requires asterisk to register to that system?
- res_pjsip endpoint config object's 'identify_by' option needs new value "uri".
- pjsip endoint woes
- PJSIP: identify endpoint by authentication username?