[asterisk-commits] mattf: trunk r48011 - /trunk/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sat Nov 25 14:32:34 MST 2006
Author: mattf
Date: Sat Nov 25 15:32:33 2006
New Revision: 48011
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48011
Log:
Make sure we don't send a group reset on a group larger than 32 CICs
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=48011&r1=48010&r2=48011
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Sat Nov 25 15:32:33 2006
@@ -8380,7 +8380,7 @@
startcic = linkset->pvts[0]->cic;
for (i = 0; i < linkset->numchans; i++) {
- if (linkset->pvts[i+1] && (linkset->pvts[i+1]->cic - linkset->pvts[i]->cic) == 1) {
+ if (linkset->pvts[i+1] && ((linkset->pvts[i+1]->cic - linkset->pvts[i]->cic) == 1) && (endcic - startcic < 31)) {
continue;
} else {
endcic = linkset->pvts[i]->cic;
More information about the asterisk-commits
mailing list