summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2018-01-03 17:26:42 -0600
committerRichard Mudgett <rmudgett@digium.com>2018-01-09 13:38:59 -0600
commit8f3167c5f17a5c85bd7d6c42f3c22f56e081eaba (patch)
tree075d024e72a306d865887f0fee7d233458883cf8 /configs
parent3a7d91725607b84274c068550096307f59e6b9f8 (diff)
res_pjsip.c: Update the endpoint identification documentation.
* Endpoint identify_by documentation. * IP/Header endpoint identifier documentation. Change-Id: Id92f00b495acca7be945daf749d2abd7f76a0b5a
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/pjsip.conf.sample18
1 files changed, 12 insertions, 6 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index 302899a17..849932069 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -635,9 +635,9 @@
; "username": Identify by the From or To username and domain
; "auth_username": Identify by the Authorization username and realm
; "ip": Identify by the source IP address
- ; In username and auth_username cases, if an exact match on
- ; username and domain/realm fails, the match will be retried
- ; with just the username.
+ ; 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.
; (default: "username,ip")
;redirect_method=user ; How redirects received from an endpoint are handled
; (default: "user")
@@ -1135,9 +1135,15 @@
; MODULE PROVIDING BELOW SECTION(S): res_pjsip_endpoint_identifier_ip
;==========================IDENTIFY SECTION OPTIONS=========================
;[identify]
-; SYNOPSIS: Identifies endpoints via source IP address
-;endpoint= ; Name of Endpoint (default: "")
-;match= ; IP addresses or networks to match against (default: "")
+; SYNOPSIS: Identifies endpoints via some criteria.
+;
+; NOTE: If multiple matching criteria are provided then an inbound request will
+; be matched to the endpoint if it matches ANY of the criteria.
+;endpoint= ; Name of endpoint identified (default: "")
+;srv_lookups=yes ; Perform SRV lookups for provided hostnames. (default: yes)
+;match= ; Comma separated list of IP addresses, networks, or hostnames to match
+ ; against (default: "")
+;match_header= ; SIP header with specified value to match against (default: "")
;type= ; Must be of type identify (default: "")