[asterisk-bugs] [Asterisk-GUI 0011882]: [patch] Zap/BRI channels reported to have 30 channels
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jan 31 05:20:40 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-31-2008 05:20 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?
======================================================================
----------------------------------------------------------------------
tzafrir - 01-31-08 05:20
----------------------------------------------------------------------
Yes, it's tested with BRI modules of ours.
Note that 1.6 will have BRI support in Asterisk without a need for
bristuff patches.
(initial version, but it's a start)
Issue History
Date Modified Username Field Change
======================================================================
01-31-08 05:20 tzafrir Note Added: 0081490
======================================================================
More information about the asterisk-bugs
mailing list