[asterisk-bugs] [Asterisk-GUI 0011882]: [patch] Zap/BRI channels reported to have 30 channels
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Jan 30 18:53:49 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11882
======================================================================
Reported By: tzafrir
Assigned To: bkruse
======================================================================
Project: Asterisk-GUI
Issue ID: 11882
Category: Card Detection
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 2155
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-30-2008 15:05 CST
Last Modified: 01-30-2008 18:53 CST
======================================================================
Summary: [patch] Zap/BRI channels reported to have 30
channels
Description:
The asterisk-gui assumes that a digital span is either E1 or T1. Hence the
line:
SPANS[l]['reserved_ch'] = Number(n[l]['basechan']) + (
(Number(n[l]['totchans'])==24)? 23 : 15 );
A span may also be BRI, which has 2 B channels and a D channel.
A simpler way would be to just set the number to "number of channels" - 1.
Asterisk uses this in chan_zap and I use this calculation in
genzaptelconf. Is there any place where it would fail?
======================================================================
----------------------------------------------------------------------
bkruse - 01-30-08 18:53
----------------------------------------------------------------------
Have you tested this tzafrir?
I see what you mean and you ARE correct.
The place where it could be BRI, but would that also be setup in the
"mISDN setup" ?
The Digital Hardware vs mISDN are two different things right now (as far
as Digium cards that support bri)
-bk
Issue History
Date Modified Username Field Change
======================================================================
01-30-08 18:53 bkruse Note Added: 0081477
======================================================================
More information about the asterisk-bugs
mailing list