Remove unneccessary explicit case for BRI
authorMatthew Fredrickson <creslin@digium.com>
Wed, 21 Nov 2007 22:37:25 +0000 (22:37 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Wed, 21 Nov 2007 22:37:25 +0000 (22:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89510 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 4cbc81b..970b52c 100644 (file)
@@ -7524,9 +7524,7 @@ static int pri_resolve_span(int *span, int channel, int offset, struct zt_spanin
                        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] =