BRIstuff is a set of patches and BRI drivers, along with automated download and patching scripts for Asterisk, Zaptel and Libpri, provided and maintained by Klaus Peter Junghanns of Junghanns GmbH. After the patches have been applied, Asterisk can use BRI telephony interface cards from Junghanns (and other such cards based on the HFC chip sets from Cologne Chip AG) through the Zaptel channel driver interface (chan_zap).

Official website

Mailing List

Latest releases


  • Improved ISDN stack
  • Support for ISDN/BRI in Asterisk ZAP channels
  • That also includes Asterisk zaphfc: support for many simple ISDN cards that use the Cologne HFC-s chipset
  • And some other cards or Junghanns (quad- and octo-BRI and single and dual E1).
  • Latest versions include Asterisk CAPI Channels
  • Many small goodies (e.g: app_devstate)

Also part of Asterisk packages. Note that you need the package asterisk-bristuff inthe latest packages (>=1.2.4 )
(Still misses libgsmat).


Bristuff is essentially a distibution of Asterisk with many modifications. It has an install script that downloads some specific versions of Zaptel, libpri and Asterisk, patches them and installs them.

The files/directories in recent bristuff:
  • CHANGES: A useful changelog.
  • INSTALL: installation instrucructions.
  • cwain: Channel Without An Interesting Name. Zaptel driver for the Junghanns E1 adapters. Does it work with standard Zaptel? Unlike others this really is what the name stands for.
  •, scrits to just compile or download and install everything. See INSTALL above.
  • ISDNGuard: Some extra software for the Junghanns ISDNGuard ISDN failover switch.
  • libgsmat-0.0.1: A libpri-like library to control Junghann's GSM module.
  • patches: the patches that are to be applied to zaptel (a small one) libpri and asterisk (huge ones).
  • qozap: Zaptel drivers for the Junghanns quadBRI and octoBRI cards. Requires Zaptel patched with the zaptel patch above.
  • SAMPLES: examples of zapata.conf and extensions.conf for more practical scenarios.
  • TESTING: currently just one subdirectory: realzap: a kernel driver to get zaptel timing from RTAI.
  • zaphfc: Zaptel driver for PCI ISDN adapters based on the common Cologne HFC-s chip. As with qozap, requires Zaptel patched with the zpatel patch above.
  • ztgsm: Zaptel driver for the Junghanns GSM adapter. Seems to require a patched Zaptel as well. Requires Asterisk patched with the Asterisk patch above, and libgsmat from above.


Known Issues

  • How to compile Bristuff 0.4.0-RC3a on Ubuntu. A litte fix is needed. See here: Bristuff fix

Incorrectly edits the /usr/src symlinks instead of using the build link. (elaborate)

Broken Drivers

  • Before unloading qozap, be sure to run 'ztcfg -s' (versions??). Acknowledged by Junghanns.
  • Rumor has it that qozap later than bristuff 0.3.0-PRE1-s is broken. (Update: I have found qozap from 0.3.0-PRE-1w appears to be fairly stable in both TE and NT mode.)


Interface Compatibility

I noticed that too often the Asterisk bristuff patch changes interfaces in Asterisk. This means I can't simply lift the good partsof it and use them in my own Asterisk.

zaphfc alternatives

ZapHFC seems to be underdeveloped (heck, Junghanns don't make money on it). There seem to be two alternative zaphfc drivers:

Mar 2010: Please also have a look at Asterisk vzaphfc, the new module for HFC-S cards as mentioned before



Debian has included support for BriStuff for quite some time. recent versions include up-to-date versions of the bristuff drivers (e.g.: ones that will be properly idfentified by ztscan needed for the asterisk-gui).


Xorcom maintains a live CD based on Debian that sets up a Zaptel-based system automatically.

Current version is 1.2 with Asterisk/Zaptel 1.4 and FreePBX 2.3.1.

Voiplinux EasyPBX

a freely downloadable demo of EasyPBX is now available and supports bristuffed Asterisk (1.2). It supports HFC-based cards such as the Junghanns BRI cards and HFC-S-based PCI cards.

For more information about VOOIPLINUX, see EasyPBX . It also includes a web interface and an automatic hardware scan to detect the ISDN cards. You can download a fully-funtioning trial version.

Created by: tzafrir, Last modification: Sat 06 of Mar, 2010 (15:58 UTC) by ojaksch
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+