]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Changes contact use in build_peer to use the FORCE_RPORT flag instead of RPORT_PRESENT
authorJonathan Rose <jrose@digium.com>
Tue, 14 Jun 2011 16:38:43 +0000 (16:38 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 14 Jun 2011 16:38:43 +0000 (16:38 +0000)
commitf9e5239e8aed3dfa612106401ab257d1e9f8802e
tree2d167523ae691b2983e284c14e839cfeb4fdc043
parentee2920afba71ca125e53b3e40cca1ae41cf14c71
Changes contact use in build_peer to use the FORCE_RPORT flag instead of RPORT_PRESENT

It turned out that this was causing NAT=Yes to always use rport when present which was
against 1.6.2 behavior and the check itself was redundant since the only way this
segment of code could be reached was if RPORT_PRESENT was already evaluated as true
earlier.

(closes issue ASTERISK-17789)
Reported by: byronclark
Patches:
      use_sip_nat_force_rport.patch uploaded by byronclark (license 1200)

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