]> 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:03:57 +0000 (13:03 -0500)
commitcd80af508e89ec79d40a277448d61b8ecd610ceb
treef5acc75d5e1586e36b3af496b3c3acbed92d9954
parentf8219a2e12579b0cf0119756dec699f5a8c5640a
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