[asterisk-commits] russell: trunk r91069 - /trunk/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 4 17:57:32 CST 2007
Author: russell
Date: Tue Dec 4 17:57:31 2007
New Revision: 91069
URL: http://svn.digium.com/view/asterisk?view=rev&rev=91069
Log:
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)
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=91069&r1=91068&r2=91069
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue Dec 4 17:57:31 2007
@@ -12655,6 +12655,8 @@
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 @@
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);
More information about the asterisk-commits
mailing list