]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Automatically refresh stunaddr from DNS
authorSebastien Duthil <sduthil@wazo.community>
Mon, 5 Apr 2021 19:06:38 +0000 (15:06 -0400)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 1 Sep 2021 15:29:39 +0000 (10:29 -0500)
commit6fbf55ac11d8af56fc64209845a306c0f234495a
tree63e381b19ce304ee07732366c0a633e00f841a98
parentf01a0398f8c9920c32202d788c2415f62816f79c
res_rtp_asterisk: Automatically refresh stunaddr from DNS

This allows the STUN server to change its IP address without having to
reload the res_rtp_asterisk module.

The refresh of the name resolution occurs first when the module is
loaded, then recurringly, slightly after the previous DNS answer TTL
expires.

ASTERISK-29508 #close

Change-Id: I7955a046293f913ba121bbd82153b04439e3465f
configs/samples/rtp.conf.sample
doc/CHANGES-staging/res_rtp_asterisk_stunaddr_recurring_resolution.txt [new file with mode: 0644]
main/dns_recurring.c
res/res_rtp_asterisk.c