[asterisk-commits] mattf: trunk r89510 - /trunk/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 21 16:37:26 CST 2007


Author: mattf
Date: Wed Nov 21 16:37:25 2007
New Revision: 89510

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89510
Log:
Remove unneccessary explicit case for BRI

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=89510&r1=89509&r2=89510
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Wed Nov 21 16:37:25 2007
@@ -7524,9 +7524,7 @@
 			ast_log(LOG_WARNING, "Unable to use span %d implicitly since it is already part of trunk group %d\n", *span, pris[*span].mastertrunkgroup);
 			*span = -1;
 		} else {
-			if (si->totalchans == 3) {
-				pris[*span].dchannels[0] = 3 + offset;
-			} else if (si->totalchans == 31) { /* if it's an E1 */
+			if (si->totalchans == 31) { /* if it's an E1 */
 				pris[*span].dchannels[0] = 16 + offset;
 			} else { /* T1 or BRI: D Channel is the last Channel */
 				pris[*span].dchannels[0] = 




More information about the asterisk-commits mailing list