]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP: Force transport on contact rewrite
authorKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:13:20 +0000 (12:13 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 1 Oct 2014 12:13:20 +0000 (12:13 +0000)
commitf1fdc51ff73c5cad315fba6fe26b0556f2d726f8
tree24b1f76c28810a375ca70a1a2053706cc8e8231c
parenta50e707ade31be0b95b4ede094fd9db0f41a612d
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/

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