Fix resetting mwimonitornotify on reload. I guess I only added this line in my head.
authorRussell Bryant <russell@russellbryant.com>
Tue, 4 Dec 2007 22:02:48 +0000 (22:02 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 4 Dec 2007 22:02:48 +0000 (22:02 +0000)
(thanks to tzafrir for pointing it out)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 763ed00..731eae4 100644 (file)
@@ -13309,6 +13309,8 @@ static int setup_zap(int reload)
        /* Copy the default jb config over global_jbconf */
        memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));
 
+       mwimonitornotify[0] = '\0';
+
        v = ast_variable_browse(cfg, "channels");
        res = process_zap(&base_conf, v, reload, 0);
        ast_mutex_unlock(&iflock);