Zaptel patchwork
(Informationen auf dieser Seite sind beabsichtigt in englischer Sprache!)
This page contains patches which improve the Zaptel telephony interface used by the Asterisk PBX and especially its BRIstuffed variant by adding support for more hardware and fixing compile problems.
BeroNet BNxS0 support in qozap
This patch adds support for the BeroNet BNxS0 BRI cards to the qozap driver. The Junghanns duo/quad/octoBRI and the BeroNet BN2S0, BN4S0 and BN8S0(+) (and propably also cards by other manufacturers) are the same hardware-wise, and differ only by their subsystem device ID. Normally, the qozap-module supplied by Junghanns’ BRIstuff patch only recognizes the cards sold by Junghanns – with this patch applied to the source, also the cards manufactured/sold by BeroNet are recognized and supported.
As with every new BRIstuff-patch release, qozap.c seems to change a bit, different patch versions are available for different BRIstuff revisions.
- qozap_beronet_BRIstuff-0.3.0PRE-1y-b.patch.bz2 (2.27kb)
qozap-patch for BRIstuff-0.3.0PRE-1y-b - qozap_beronet_BRIstuff-0.3.0PRE-1y-e.patch.bz2 (2.29kb)
qozap-patch for BRIstuff-0.3.0PRE-1y-e - qozap_beronet_BRIstuff-0.3.0PRE-1y-h.patch.bz2 (2.40kb)
qozap-patch for BRIstuff-0.3.0PRE-1y-h and PRE-1y-i
BeroNet BNxE1 support in cwain
This patch adds support for BeroNet’s E1/T1 cards (BNxE1[+]), additionally fixing the weird spancount-determination in the original code.
The BeroNet boards are already recognized by the stock cwain driver, however, the number of spans the card provides (number of E1/T1 ports – one or two) is determined by substracting the cards subsystem ID with a predefined value. With Junghanns cards, there’s no big problem with that – the predefined value is 0xb552; the singleE1′s subID is 0xb553, which results in 1 span to be initialised and used; and the doubleE1′s subID is 0xb554, resulting in 2 spans. However, when a BeroNet board – with ID’s 0xb563 for BN1E1, 0xb564 for BN2E1 and 0xb565 for BN2E1+ – the driver tries to initialise at most 19 (!) spans when using a BN2E1+, resulting in a nice OOPS… The patch fixes that by changing the spancount determination and additionally by adding the subID’s and matching card strings, so you can use your BeroNet board with Zaptel/cwain.
Only one patch revision so far, as the code doesn’t seem to change (much) with new BRIstuff releases.
- cwain_beronet.patch.bz2 (1.88kb)
cwain-patch for BRIstuff-0.3.0PRE-1y
vzaphfc and Kernel Versions > 2.6.18
When trying to compile this module (being an improved version of the original zaphfc module, which is not part of the normal BRIstuff distribution) on kernel versions > 2.6.18, it will complain with a “config.h not found”. This small patch fixes that – at least it tries to
- vzaphfc_kernel2.6.18.patch.bz2 (608 bytes)
Compile fix patch for vzaphfc and Kernels > 2.6.18
Fixed florz-patch for newer Zaptel revisions
I’ve found it necessary to change a few things in the original florz-patch written by Florian Zumbiehl to make it apply to newer (>= 1.2.16) Zaptel versions. Nothing else is changed in the patch.
Note: This patch might not be necessary for you, or it may not work at all!
- zaphfc_florz_newzaptelrevs.patch.bz2 (9.91kb)
Modified/fixed florz patch for newer (>= 1.2.16) Zaptel versions
License
All code/patches found on this page is free software and may be modified and distributed under the terms of the GNU General Public License.