From 8f2e8d4b8a3a6cf96b41e2e0b20651d5ccc61478 Mon Sep 17 00:00:00 2001 From: Matthew Nicholson Date: Tue, 16 Aug 2011 14:41:23 +0000 Subject: Merged revisions 332022 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/10 ................ r332022 | mnicholson | 2011-08-16 09:40:37 -0500 (Tue, 16 Aug 2011) | 16 lines In 10 and trunk this option is disabled by default. Merged revisions 332021 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r332021 | mnicholson | 2011-08-16 09:20:43 -0500 (Tue, 16 Aug 2011) | 7 lines Added the 'storesipcause' option to sip.conf to allow the user to disable the setting of HASH(SIP_CAUSE,) on the channel. Having chan_sip set HASH(SIP_CAUSE,) on the channel carries a significant performance penalty because of the usage of the MASTER_CHANNEL() dialplan function. AST-580 ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@332023 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/sip.conf.sample | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configs/sip.conf.sample') diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index f33b1cf32..fb487dba6 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -1016,6 +1016,16 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; but occasionally has spikes. ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". + +;----------------------------- SIP_CAUSE reporting --------------------------------- +; storesipcause = no ; This option causes chan_sip to set the + ; HASH(SIP_CAUSE,) channel variable + ; to the value of the last sip response. + ; WARNING: enabling this option carries a + ; significant performance burden. It should only + ; be used in low call volume situations. This + ; option defaults to "no". + ;----------------------------------------------------------------------------------- [authentication] -- cgit v1.2.3