]> 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:44:07 +0000 (20:44 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 29 Jan 2015 20:44:07 +0000 (20:44 +0000)
commit22fc3359dabe8b0f6dfaa4073a9380a9fcd31ec7
tree78a676c0ed94473e6abdd19e7dc4e8ed53d669e3
parentb8ea23b0d12882065c448a9fb8ce1de503dc2103
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
........

Merged revisions 431423 from http://svn.asterisk.org/svn/asterisk/branches/11

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