Clear page2 flags at reload too

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Olle Johansson 20 years ago
parent 4e3b9d6389
commit 782eb432ab

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

Loading…
Cancel
Save