res_pjsip.c: OPTIONS processing can now optionally skip authentication

ASTERISK-27477 #close

Change-Id: I68f6715bba92a525149e35d142a49377a34a1193
This commit is contained in:
Sean Bright
2021-04-23 13:37:20 -04:00
committed by Friendly Automation
parent 55279bfd9c
commit 4a843e00ef
6 changed files with 80 additions and 0 deletions

View File

@@ -915,6 +915,8 @@ struct ast_sip_endpoint {
unsigned int ignore_183_without_sdp;
/*! Enable STIR/SHAKEN support on this endpoint */
unsigned int stir_shaken;
/*! Should we authenticate OPTIONS requests per RFC 3261? */
unsigned int allow_unauthenticated_options;
};
/*! URI parameter for symmetric transport */