Adds an option to sip.conf that prevents diversion headers from being added.
authorJonathan Rose <jrose@digium.com>
Mon, 27 Feb 2012 16:24:17 +0000 (16:24 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 27 Feb 2012 16:24:17 +0000 (16:24 +0000)
commit299dd5d4fc2f6617ee924112c1edf2cc071a160b
tree5913b25cb36aa7ca552c8534f540982e243cf917
parent9ed6de9fd254d4b51c493a8841fa1368ea4c0949
Adds an option to sip.conf that prevents diversion headers from being added.

send_diversion=no will prevent Diversion headers from being added to SIP
requests. This doesn't prevent Diversion from being added with dialplan
such as with SIPAddHeader.

(closes issue ASTERISK-16862)
Reported by: rsw686
Review: https://reviewboard.asterisk.org/r/1769/

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