]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk.c: Add stun_blacklist option
authorRichard Mudgett <rmudgett@digium.com>
Fri, 7 Apr 2017 21:14:16 +0000 (16:14 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 11 Apr 2017 18:00:06 +0000 (13:00 -0500)
commitf592947b983be8bcbb16d40b84d7d50dbe5245db
tree9fef20169f57e3a88bbb1f50899e3321ad49b264
parent3408561eb7601da9dd38c3d89722a515d210c4fe
res_rtp_asterisk.c: Add stun_blacklist option

Added the stun_blacklist option to rtp.conf.  Some multihomed servers have
IP interfaces that cannot reach the STUN server specified by stunaddr.
Blacklist those interface subnets from trying to send a STUN packet to
find the external IP address.  Attempting to send the STUN packet
needlessly delays processing incoming and outgoing SIP INVITEs because we
will wait for a response that can never come until we give up on the
response.  Multiple subnets may be listed.

ASTERISK-26890 #close

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