]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Honor support of Symmetric Response (rport) for SIP requests. 29/4029/1
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 5 Oct 2016 09:42:30 +0000 (11:42 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Wed, 5 Oct 2016 09:42:30 +0000 (11:42 +0200)
commit94bcc8b705175226fa592b664adf72886c399e38
treefc1e84a98db5ca966a79030794ab6537d503d019
parent69fb4428901a4045c17a86ac630383c0f2fbfba8
chan_sip: Honor support of Symmetric Response (rport) for SIP requests.

In the SIP channel driver chan_sip, the default is "auto_force_rport". When no
NAT was detected, for example in case of IPv6, Asterisk uses the IP address
from the headers within the SIP-REGISTER for subsequent SIP signaling. When
the remote party specifies support for Symmetric Response (RFC 3581) via the
parameter "rport", Asterisk should not extract the port from the SIP headers
but reuse the port of the transport. This did not happen because of a typo.

ASTERISK-26438 #close

Change-Id: If6e7891848aaf96666dee5305695f7c6667cd5a6
channels/chan_sip.c