]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Add sendrpid trust options
authorJonathan Rose <jrose@digium.com>
Mon, 21 Apr 2014 16:05:11 +0000 (16:05 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 21 Apr 2014 16:05:11 +0000 (16:05 +0000)
commitea0325599a7506ae2fab40525646765fd9cb6ae3
treebbeb72ac04f6b96b1096d907a5f53416186e0808
parent587c8c507d125990c2b628ed90d8c187e13b82b0
chan_sip: Add sendrpid trust options

In r411189, some behavior was changed which made sendrpid behavior
act in a more trusting manner by sending full user data for peers
set with private caller presence in P-Asserted-Identity headers.
Since this changed long time expected behaviors, we decided to pull
that patch when that was pointed out by the community. Instead, this
patch provides a trust_id_outbound setting which will expose the data
per RFC-3325 if set to 'yes' and simply not send the PAI/RPID headers
at all if set to 'no'. By default trust_id_outbound will be set to
'legacy' which will preserve the behavior prior to these patches.
Extra special thanks to Walter Doekes for providing advice and
feedback.

(closes issue AST-1301)

(closes issue ASTERISK-19465)
Reported by: Krzysztof Chmielewski

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

Merged revisions 412744 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
channels/chan_sip.c
channels/sip/include/sip.h
configs/sip.conf.sample