mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +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
This commit is contained in:
committed by
asterisk-org-access-app[bot]
parent
c8ab570c6f
commit
895ab9d798
@@ -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