diff options
author | Michael Walton <mike@farsouthnet.com> | 2016-10-05 12:24:54 +1300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-10-19 12:14:53 +0000 |
commit | 3c62b60e56e5c06ae7d33d81d03268d0d2f6aa28 (patch) | |
tree | d933c08ee341db8396c522a916e3afe92cdd5a65 /configs/samples | |
parent | 6adc293b14f22f273c2f00f8a7b33f4f6aefaf51 (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/samples')
-rw-r--r-- | configs/samples/rtp.conf.sample | 12 |
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 |