]> 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:09 +0000 (10:29 -0500)
commit166556961b90497b41e6b32796621116be6a7017
tree44685d7c496b55bcccf5decba72e6e967e10d699
parent220ce865dbac937cf77906b401a77e45924b6713
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