[Asterisk-cvs] asterisk/channels chan_zap.c,1.186,1.187
citats at lists.digium.com
citats at lists.digium.com
Thu Mar 11 00:17:27 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels
Modified Files:
chan_zap.c
Log Message:
Make sure usedistinctivering gets set to the right value
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- chan_zap.c 10 Mar 2004 09:11:05 -0000 1.186
+++ chan_zap.c 11 Mar 2004 05:10:23 -0000 1.187
@@ -7409,7 +7409,8 @@
chan = strsep(&c, ",");
}
} else if (!strcasecmp(v->name, "usedistinctiveringdetection")) {
- usedistinctiveringdetection = ast_true(v->value);
+ if (ast_true(v->value))
+ usedistinctiveringdetection = 1;
} else if (!strcasecmp(v->name, "dring1context")) {
strncpy(drings.ringContext[0].contextData,v->value,sizeof(drings.ringContext[0].contextData)-1);
} else if (!strcasecmp(v->name, "dring2context")) {
@@ -7972,7 +7973,8 @@
chan = strsep(&stringp, ",");
}
} else if (!strcasecmp(v->name, "usedistinctiveringdetection")) {
- usedistinctiveringdetection = ast_true(v->value);
+ if (ast_true(v->value))
+ usedistinctiveringdetection = 1;
} else if (!strcasecmp(v->name, "dring1context")) {
strncpy(drings.ringContext[0].contextData,v->value,sizeof(drings.ringContext[0].contextData)-1);
} else if (!strcasecmp(v->name, "dring2context")) {
More information about the svn-commits
mailing list