]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make sure regtimeout is initialized (bug #3845)
authorMark Spencer <markster@digium.com>
Thu, 24 Mar 2005 00:53:18 +0000 (00:53 +0000)
committerMark Spencer <markster@digium.com>
Thu, 24 Mar 2005 00:53:18 +0000 (00:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5239 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 02df48a2a2e16840822cbeb9a28104003a938723..5704a10f1ffc044f417aac5485fcc6e1e95c931a 100755 (executable)
@@ -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);