diff options
author | Michael Walton <mike@farsouthnet.com> | 2016-10-05 12:24:54 +1300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-10-19 07:15:20 -0500 |
commit | 3e96d491d01580ae1538c2779378ccf78abead9b (patch) | |
tree | e8f2b97565936a4ca5dc1d5e980a1f920328f895 /configs/samples/rtp.conf.sample | |
parent | 193a94a60fbee4d1920a806da883321a6dd6e056 (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/rtp.conf.sample')
-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 |