aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-19 09:25:09 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-19 09:25:09 +0000
commitda88f2e35fcb9e40aa40dc794ac8696b3274689b (patch)
tree6716f1fc007c8e11cddf4757b53f028ee51306d6
parentefe12756ecf5a900b9e7da5af80a2032a9d1d18d (diff)
Reset global_rtautoclear at sip reload
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@13547 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7c02f230c..7772565d6 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -579,7 +579,7 @@ struct sip_auth {
#define SIP_PKT_DEBUG (1 << 0) /*!< Debug this packet */
#define SIP_PKT_WITH_TOTAG (1 << 1) /*!< This packet has a to-tag */
-static int global_rtautoclear = 120;
+static int global_rtautoclear;
/*! \brief sip_pvt: PVT structures are used for each SIP conversation, ie. a call */
static struct sip_pvt {
@@ -12344,6 +12344,7 @@ static int reload_config(void)
global_rtptimeout = 0;
global_rtpholdtimeout = 0;
global_rtpkeepalive = 0;
+ global_rtautoclear = 120;
pedanticsipchecking = 0;
global_reg_timeout = DEFAULT_REGISTRATION_TIMEOUT;
global_regattempts_max = 0;