Clear page2 flags at reload too

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2006-03-05 12:40:10 +00:00
parent 4e3b9d6389
commit 782eb432ab

View File

@@ -12323,6 +12323,7 @@ static int reload_config(void)
global_reg_timeout = DEFAULT_REGISTRATION_TIMEOUT;
global_regattempts_max = 0;
ast_clear_flag(&global_flags, AST_FLAGS_ALL);
ast_clear_flag(&global_flags_page2, AST_FLAGS_ALL);
ast_set_flag(&global_flags, SIP_DTMF_RFC2833);
ast_set_flag(&global_flags, SIP_NAT_RFC3581);
ast_set_flag(&global_flags, SIP_CAN_REINVITE);