aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-03 15:13:42 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-03 15:13:42 +0000
commit8ac970ba286b90d4d7cf0d2be1512e63f15dfdeb (patch)
tree8a237859e4b992644e07258a5d16919e5be6b493 /channels
parent4298d14a2d053606e1f1c96be8bd7116333c8114 (diff)
Please prefix default values with DEFAULT
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@179675 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3a6362a6d..066cc3d30 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -535,8 +535,8 @@ static int mwi_expiry = DEFAULT_MWI_EXPIRY;
#define DEFAULT_RETRANS 1000 /*!< How frequently to retransmit Default: 2 * 500 ms in RFC 3261 */
#define MAX_RETRANS 6 /*!< Try only 6 times for retransmissions, a total of 7 transmissions */
-#define SIP_TIMER_T1 500 /*!< SIP timer T1 (according to RFC 3261) */
-#define SIP_TRANS_TIMEOUT 64 * SIP_TIMER_T1/*!< SIP request timeout (rfc 3261) 64*T1
+#define DEFAULT_TIMER_T1 500 /*!< SIP timer T1 (according to RFC 3261) */
+#define SIP_TRANS_TIMEOUT 64 * DEFAULT_TIMER_T1 /*!< SIP request timeout (rfc 3261) 64*T1
\todo Use known T1 for timeout (peerpoke)
*/
#define DEFAULT_TRANS_TIMEOUT -1 /*!< Use default SIP transaction timeout */
@@ -23187,8 +23187,8 @@ static int reload_config(enum channelreloadreason reason)
global_relaxdtmf = FALSE;
sip_cfg.callevents = DEFAULT_CALLEVENTS;
global_authfailureevents = FALSE;
- global_t1 = SIP_TIMER_T1;
- global_timer_b = 64 * SIP_TIMER_T1;
+ global_t1 = DEFAULT_TIMER_T1;
+ global_timer_b = 64 * DEFAULT_TIMER_T1;
global_t1min = DEFAULT_T1MIN;
global_qualifyfreq = DEFAULT_QUALIFYFREQ;