From 299dd5d4fc2f6617ee924112c1edf2cc071a160b Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Mon, 27 Feb 2012 16:24:17 +0000 Subject: 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 --- configs/sip.conf.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs') diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index f64dc04a9..d54610686 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -476,6 +476,11 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; user options for whatever reason. The behavior is similar to ; how SIP URI's were typically handled in 1.6.2, hence the name. +;send_diversion=no ; Default "yes" ; Asterisk normally sends Diversion headers with certain SIP + ; invites to relay data about forwarded calls. If this option + ; is disabled, Asterisk won't send Diversion headers unless + ; they are added manually. + ; The shrinkcallerid function removes '(', ' ', ')', non-trailing '.', and '-' not ; in square brackets. For example, the caller id value 555.5555 becomes 5555555 ; when this option is enabled. Disabling this option results in no modification -- cgit v1.2.3