summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorMichael L. Young <elgueromexicano@gmail.com>2014-08-28 20:31:48 +0000
committerMichael L. Young <elgueromexicano@gmail.com>2014-08-28 20:31:48 +0000
commitc5916fb39f1d6c0fe1292f2d1de5f4e925ef1a1f (patch)
tree75bcebcfc8401843fb0f326267f0fac7aeb83922 /LICENSE
parent4e750a26fd28ba22ad757a68b5dfe298cc9754a2 (diff)
chan_iax2: Fix Dynamic IAX2 Registrations After Temporary DNS Failure
The reporter on the issue found some issues when upgrading from version 10 to 11 on 55 hosts. Two situations that can occur with dynamic registrations. 1. With dnsmgr disabled, if the host is not resolvable we are not trying to resolve the host again when it is time to attempt to register again. This results in never registering to the host. 2. With dnsmgr enabled, when the host is temporarily not resolvable the address is set to 0.0.0.0:0 and then when the host is resolvable the port is not being restored and stays set to 0. This patch resolves these two issues by: * Storing the hostname so that it can be used for resolving with DNS. * Resolve the hostname on the next scheduled attempt to register. * Storing the port used to reach the host so that when the hostname is resolvable again, we can set the port again if the port is still unset after looking up the host. ASTERISK-23767 #close Reported by: David Herselman Tested by: David Herselman, Michael L. Young Patches: asterisk-23767-dns_reg_retry_and_set_port_11_v3.diff uploaded by Michael L. Young (license 5026) Review: https://reviewboard.asterisk.org/r/3856/ ........ Merged revisions 422274 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 422275 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 422276 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions