]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_nat: Place source port into rport of responses if 'force_rport' is on.
authorJoshua Colp <jcolp@digium.com>
Fri, 10 Oct 2014 12:09:39 +0000 (12:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 10 Oct 2014 12:09:39 +0000 (12:09 +0000)
commit29c84f001f7a4926001f7eb27952c7ca4d3c781f
tree3439e0c1b4f3e6c55aad432d0ecf14a7b3ad5878
parent83189839345dde5fa0725ae5b48b12ec9f08e17e
res_pjsip_nat: Place source port into rport of responses if 'force_rport' is on.

When the 'force_rport' option is enabled the behavior should be the same
as if the remote side placed rport into the message themselves. Therefore
any responses we send should include the source port of the request in the
rport of the Via header.

#SIPit31

ASTERISK-24387 #close
Reported by: Matt Jordan

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