mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-30 07:41:39 +00:00
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/branches/1.8@332026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -27405,7 +27405,7 @@ static int reload_config(enum channelreloadreason reason)
|
|||||||
global_shrinkcallerid = 1;
|
global_shrinkcallerid = 1;
|
||||||
authlimit = DEFAULT_AUTHLIMIT;
|
authlimit = DEFAULT_AUTHLIMIT;
|
||||||
authtimeout = DEFAULT_AUTHTIMEOUT;
|
authtimeout = DEFAULT_AUTHTIMEOUT;
|
||||||
global_store_sip_cause = TRUE;
|
global_store_sip_cause = DEFAULT_STORE_SIP_CAUSE;
|
||||||
|
|
||||||
sip_cfg.matchexternaddrlocally = DEFAULT_MATCHEXTERNADDRLOCALLY;
|
sip_cfg.matchexternaddrlocally = DEFAULT_MATCHEXTERNADDRLOCALLY;
|
||||||
|
|
||||||
|
|||||||
@@ -221,6 +221,7 @@
|
|||||||
#define DEFAULT_SDPOWNER "root" /*!< Default SDP username field in (o=) 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_ENGINE "asterisk" /*!< Default RTP engine to use for sessions */
|
||||||
#define DEFAULT_CAPABILITY (AST_FORMAT_ULAW | AST_FORMAT_TESTLAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263);
|
#define DEFAULT_CAPABILITY (AST_FORMAT_ULAW | AST_FORMAT_TESTLAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263);
|
||||||
|
#define DEFAULT_STORE_SIP_CAUSE TRUE /*!< Store HASH(SIP_CAUSE,<channel name>) for channels by default */
|
||||||
#endif
|
#endif
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user