]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Allow ICE host candidates to be overriden 02/2102/7
authorSean Bright <sean.bright@gmail.com>
Wed, 27 Jan 2016 16:44:10 +0000 (11:44 -0500)
committerSean Bright <sean.bright@gmail.com>
Wed, 3 Feb 2016 23:06:20 +0000 (17:06 -0600)
commitd83dba7099f990027e1d6408c12a2ef9b0db3af0
tree3b83bdbcb1fd63c9501b4c95d85d7fe70173b700
parente89114c1bec1fde828524c4858cebd5b412bd2b5
res_rtp_asterisk: Allow ICE host candidates to be overriden

During ICE negotiation the IPs of the local interfaces are sent to the remote
peer as host candidates. In many cases Asterisk is behind a static one-to-one
NAT, so these host addresses will be internal IP addresses.

To help in hiding the topology of the internal network, this patch adds the
ability to override the host candidates by matching them against a
user-defined list of replacements.

Change-Id: I1c9541af97b83a4c690c8150d19bf7202c8bff1f
CHANGES
configs/samples/rtp.conf.sample
res/res_rtp_asterisk.c