]> 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:20 +0000 (10:29 -0500)
commitac492f2ff8c82bedbe953adf97702880dee3c488
tree074e0c66159b4b4367a03c44caa354c0058ffbd5
parente660a2c03b657c791e0b8d6b96342f94b0f1ae49
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