mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
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
This commit is contained in:
committed by
Joshua Colp
parent
193a94a60f
commit
3e96d491d0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user