summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMichael Walton <mike@farsouthnet.com>2016-10-05 12:24:54 +1300
committerJoshua Colp <jcolp@digium.com>2016-10-19 07:15:13 -0500
commit494bebeb6f362666150493580154fd0c6bc38c16 (patch)
treec738f4eb63bab1bd2affa60f722c07784c66302d /configs
parentab030fcc1fe0a7dfd4c435feb7f36a94b12e4e32 (diff)
res_rtp_asterisk: Add ice_blacklist option
Introduces ice_blacklist configuration in rtp.conf. Subnets listed in the form ice_blacklist = <subnet spec>, e.g. ice_blacklist = 192.168.1.0/255.255.255.0, are excluded from ICE host, srflx and relay discovery. This is useful for optimizing the ICE process where a system has multiple host address ranges and/or physical interfaces and certain of them are not expected to be used for RTP. Multiple ice_blacklist configuration lines may be used. If left unconfigured, all discovered host addresses are used, as per previous behavior. Documention in rtp.conf.sample. ASTERISK-26418 #close Change-Id: Ibee88f80d7693874fda1cceaef94a03bd86012c9
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/rtp.conf.sample12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/samples/rtp.conf.sample b/configs/samples/rtp.conf.sample
index 2ef5dd28a..fdd1d530e 100644
--- a/configs/samples/rtp.conf.sample
+++ b/configs/samples/rtp.conf.sample
@@ -59,6 +59,18 @@ rtpend=20000
; Password used to authenticate with TURN relay server.
; turnpassword=
;
+; Subnets to exclude from ICE host, srflx and relay discovery. This is useful
+; to optimize the ICE process where a system has multiple host address ranges
+; and/or physical interfaces and certain of them are not expected to be used
+; for RTP. For example, VPNs and local interconnections may not be suitable or
+; necessary for ICE. Multiple subnets may be listed. If left unconfigured,
+; all discovered host addresses are used.
+;
+; e.g. ice_blacklist = 192.168.1.0/255.255.255.0
+; ice_blacklist = 10.32.77.0/255.255.255.0
+;
+; ice_blacklist =
+;
[ice_host_candidates]
;
; When Asterisk is behind a static one-to-one NAT and ICE is in use, ICE will