PJSIP: Force transport on contact rewrite
authorKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:15:56 +0000 (12:15 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:15:56 +0000 (12:15 +0000)
commit122cc050d0f8473e5f662aee35555f1aef062566
treef7f80daeab8e71ab6fd8477d2c2f5ad0b2d4523c
parentc3a75244573f3353d1e7c8624e85326fb2d0cbfe
PJSIP: Force transport on contact rewrite

If contact rewriting is enabled but the contact differs in transport
from what is actually being used, messages after the initial INVITE
transaction can be sent to an incorrect transport/port combination. In
the case where this bug occurred the remote party never received a BYE
since it was sent to the remote party's TCP port over UDP.

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

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

Merged revisions 424245 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_nat.c