summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-24 00:53:18 +0000
committerMark Spencer <markster@digium.com>2005-03-24 00:53:18 +0000
commitf5b6b2b953168e74cd307f644d85b2cbfcf92ac0 (patch)
treebece989ebf55cc51a2a3821cc1f5e45619c343f5
parent29ce32912d24c522d58e422285f030230a051897 (diff)
Make sure regtimeout is initialized (bug #3845)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 02df48a2a..5704a10f1 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9973,6 +9973,7 @@ static int reload_config(void)
global_rtptimeout = 0;
global_rtpholdtimeout = 0;
global_rtpkeepalive = 0;
+ global_reg_timeout = DEFAULT_REGISTRATION_TIMEOUT;
pedanticsipchecking = 0;
ast_clear_flag(&global_flags, AST_FLAGS_ALL);
ast_set_flag(&global_flags, SIP_DTMF_RFC2833);