]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Use SIPS URIs in Contact headers when appropriate.
authorMark Michelson <mmichelson@digium.com>
Thu, 29 Jan 2015 20:40:04 +0000 (20:40 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 29 Jan 2015 20:40:04 +0000 (20:40 +0000)
commit47b83c9378a1b031e83ae1c3c65dfaa8bcec2f87
tree889a47dadc2067b5ee7d8acafea1e16da5c332fd
parent9fe6588349832ff1d43d717f48f490f1fa55d9ec
Use SIPS URIs in Contact headers when appropriate.

RFC 3261 sections 8.1.1.8 and 12.1.1 dictate specific
scenarios when we are required to use SIPS URIs in Contact
headers. Asterisk's non-compliance with this could actually
cause calls to get dropped when communicating with clients
that are strict about checking the Contact header.

Both of the SIP stacks in Asterisk suffered from this issue.
This changeset corrects the behavior in chan_sip.

ASTERISK-24646 #close
Reported by Stephan Eisvogel

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

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