From: Russell Bryant Date: Tue, 4 Dec 2007 22:02:48 +0000 (+0000) Subject: Fix resetting mwimonitornotify on reload. I guess I only added this line in my head. X-Git-Tag: 1.6.0-beta1~3^2~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ed96a4737ef49ae4f1dfda5a1908041fa615b0;p=thirdparty%2Fasterisk.git Fix resetting mwimonitornotify on reload. I guess I only added this line in my head. (thanks to tzafrir for pointing it out) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91010 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 763ed001e4..731eae4ffe 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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);