summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-12-04 23:57:31 +0000
committerRussell Bryant <russell@russellbryant.com>2007-12-04 23:57:31 +0000
commita040ff199bce003c6fe00ffc6fec746e3307df20 (patch)
tree8e35c24f2e9871caad58ff3b0eb3d224a448b3eb /channels
parent01c616789135af0b155c7a6c47185c49a433f7c7 (diff)
Fix mwimonitornotify on reload ... again. This option was only read at startup
so a reload would erase it and not reset it. (pointed out by tzafrir) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 91183c298..42275076c 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -12655,6 +12655,8 @@ static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int r
confp->chan.hanguponpolarityswitch = ast_true(v->value);
} else if (!strcasecmp(v->name, "sendcalleridafter")) {
confp->chan.sendcalleridafter = atoi(v->value);
+ } else if (!strcasecmp(v->name, "mwimonitornotify")) {
+ ast_copy_string(mwimonitornotify, v->value, sizeof(mwimonitornotify));
} else if (!reload){
if (!strcasecmp(v->name, "signalling") || !strcasecmp(v->name, "signaling")) {
confp->chan.outsigmod = -1;
@@ -13168,8 +13170,6 @@ static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int r
ast_copy_string(defaultcic, v->value, sizeof(defaultcic));
} else if (!strcasecmp(v->name, "defaultozz")) {
ast_copy_string(defaultozz, v->value, sizeof(defaultozz));
- } else if (!strcasecmp(v->name, "mwimonitornotify")) {
- ast_copy_string(mwimonitornotify, v->value, sizeof(mwimonitornotify));
}
} else if (!skipchannels)
ast_log(LOG_WARNING, "Ignoring %s\n", v->name);