diff options
author | Matthew Nicholson <mnicholson@digium.com> | 2011-08-16 15:10:18 +0000 |
---|---|---|
committer | Matthew Nicholson <mnicholson@digium.com> | 2011-08-16 15:10:18 +0000 |
commit | 1858e274e375469929e0084b2fb093a48f241595 (patch) | |
tree | 69751a5c9d65dfe020df269ff16ff41460566c80 /channels | |
parent | 4403a89f50f5f7c71fbcf78ba72d8d9af7514e91 (diff) |
Merged revisions 332027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10
................
r332027 | mnicholson | 2011-08-16 10:08:40 -0500 (Tue, 16 Aug 2011) | 9 lines
Merged revisions 332026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r332026 | mnicholson | 2011-08-16 10:06:31 -0500 (Tue, 16 Aug 2011) | 2 lines
use DEFAULT_STORE_SIP_CAUSE to set the default value for the 'storesipcause' option
AST-580
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@332028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 | ||||
-rw-r--r-- | channels/sip/include/sip.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b017a03ed..a8058438a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -28111,7 +28111,7 @@ static int reload_config(enum channelreloadreason reason) global_shrinkcallerid = 1; authlimit = DEFAULT_AUTHLIMIT; authtimeout = DEFAULT_AUTHTIMEOUT; - global_store_sip_cause = FALSE; + global_store_sip_cause = DEFAULT_STORE_SIP_CAUSE; sip_cfg.matchexternaddrlocally = DEFAULT_MATCHEXTERNADDRLOCALLY; diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index e44a50685..b0134d1c0 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -222,6 +222,7 @@ #define DEFAULT_SDPSESSION "Asterisk PBX" /*!< Default SDP session name, (s=) header unless re-defined in sip.conf */ #define DEFAULT_SDPOWNER "root" /*!< Default SDP username field in (o=) header unless re-defined in sip.conf */ #define DEFAULT_ENGINE "asterisk" /*!< Default RTP engine to use for sessions */ +#define DEFAULT_STORE_SIP_CAUSE FALSE /*!< Store HASH(SIP_CAUSE,<channel name>) for channels by default */ #endif /*@}*/ |