mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
Add ability to match against PJSIP request URI.
UserNote: this new feature let users match endpoints based on the
indound SIP requests' URI. To do so, add 'request_uri' to the
endpoint's 'identify_by' option. The 'match_request_uri' option of
the identify can be an exact match for the entire request uri, or a
regular expression (between slashes). It's quite similar to the
header identifer.
Fixes: #599
(cherry picked from commit ac297d15f8
)
This commit is contained in:
committed by
Asterisk Development Team
parent
f1223a041b
commit
d2255002f7
@@ -686,6 +686,7 @@
|
||||
; "auth_username": Identify by the Authorization username and realm
|
||||
; "ip": Identify by the source IP address
|
||||
; "header": Identify by a configured SIP header value.
|
||||
; "request_uri": Identify by the configured SIP request URI.
|
||||
; In the username and auth_username cases, if an exact match
|
||||
; on both username and domain/realm fails, the match is
|
||||
; retried with just the username.
|
||||
|
Reference in New Issue
Block a user