Make sure regtimeout is initialized (bug #3845)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-24 00:53:18 +00:00
parent 29ce32912d
commit f5b6b2b953

View File

@@ -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);