]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Use the address we already know when reloading a peer with nat=yes.
authorEliel C. Sardanons <eliels@gmail.com>
Thu, 28 May 2009 15:21:32 +0000 (15:21 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Thu, 28 May 2009 15:21:32 +0000 (15:21 +0000)
commit26cec158af677509882897d817cf42cf21cffe10
tree87f96f8071ae31ad03b858fde287411f7e7ee8a2
parent3268149a1f374286e4e3816c82bb21e0231c18df
Use the address we already know when reloading a peer with nat=yes.

If we already have an address for a peer, and we are reloading the sip
configuration, try to use that address to contact the peer, instead of
getting it from the Contact.

(closes issue #15194)
Reported by: ibc
Patches:
      sip.patch uploaded by eliel (license 64)
      Tested by: manwe

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@197562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c