Files
asterisk/channels
Terry Wilson 13c15462d8 Refresh peer address if DNS unavailable at peer creation
If Asterisk starts and no DNS is available, outbound registrations will fail
indefinitely. This patch copies the address from the sip_registry struct, which
will be updated, to the peer->addr when necessary.

If dnsmgr is enabled, the registration fails without the patch because even
though the address on the registry is updated via dnsmgr, the address is just
copied on the first try. Since we use ast_sockaddr_copy, dnsmgr can't update
the address that is copied to the sip_pvt or peers.

Closes issue ASTERISK-18000

Review: https://reviewboard.asterisk.org/r/1335/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@333836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-29 21:38:31 +00:00
..
2011-05-17 21:57:56 +00:00
2011-08-23 18:11:50 +00:00
2009-08-10 19:20:57 +00:00
2011-08-22 19:41:24 +00:00
2011-08-09 22:12:59 +00:00
2010-06-07 20:04:42 +00:00