]> 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:54:46 +0000 (20:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 29 Jan 2015 20:54:46 +0000 (20:54 +0000)
commitfe76d4829fa0cc74c89dac1caab19f1fb4332acf
treefa1c16b371c0663c4eae20ee7e05ab508a58e01f
parent8357ffab9c939062a2a6d546a90c766f519d30ca
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
........

Merged revisions 431424 from http://svn.asterisk.org/svn/asterisk/branches/13

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