]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Clear page2 flags at reload too
authorOlle Johansson <oej@edvina.net>
Sun, 5 Mar 2006 12:40:10 +0000 (12:40 +0000)
committerOlle Johansson <oej@edvina.net>
Sun, 5 Mar 2006 12:40:10 +0000 (12:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index bba0f995bdfa6d8da9e317bd7d560719c38b1b03..8e60f83ac83716b327cb571dd3d1636d105caa0f 100644 (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);