Remove Port Restriction When Checking For NAT
authorMichael L. Young <elgueromexicano@gmail.com>
Fri, 18 Oct 2013 15:14:36 +0000 (15:14 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Fri, 18 Oct 2013 15:14:36 +0000 (15:14 +0000)
commit32d758ed32ef1a5e452f4e7e6c1a4f5ceaa1c968
tree9c50c64018f3c8fc5c460bb414f5bdf94c9f25a5
parentf33e0776ec765b92dba20ffed497688684a902bf
Remove Port Restriction When Checking For NAT

When trying to determine if a peer is behind NAT, we should not be using the
ports when comparing addresses.

This patch removes the port from being checked and just useds the addresses
now.

(closes issue ASTERISK-22729)
Reported by: Michael L. Young
Tested by: Michael L. Young
Patches:
    asterisk-remove-using-port-for-nat-check.diff
                                     uploaded by Michael L. Young (license 5026)

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

Merged revisions 401182 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401183 from http://svn.asterisk.org/svn/asterisk/branches/12

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