Compiling/installing:
    + Make sure you have configured kernel sources installed!
      (this can be done by make menuconfig (save kernel configuration) and then make dep)
      if you are running a 2.6 kernel, make sure you have the /usr/src/linux-2.6 symlink
      pointing to your 2.6 kernel sources

    + Run the install.sh script (requires cvs and wget).
    (to install some sample configuration files look at compile.sh)

    + if you have a quadBRI card, edit the qozap/zapata.conf file and copy it to /etc/asterisk
      copy the qozap/zaptel.conf file to /etc

    + if you have an octoBRI card, edit the qozap/zapata.conf.octoBRI file and copy it to /etc/asterisk
      copy the qozap/zaptel.conf.octoBRI file to /etc

    + if you have a HFC-PCI card, edit the zaphfc/zapata.conf file and copy it to /etc/asterisk
      copy the zaphfc/zaptel.conf file to /etc

    + if you have a Junghanns.NET singleE1 card, edit the cwain/zapata.conf file and copy it to /etc/asterisk
      copy the cwain/zaptel.conf file to /etc

    + if you have a Junghanns.NET doubleE1 card, edit the cwain/zapata.conf.doubleE1 file and copy it to /etc/asterisk
      copy the cwain/zaptel.conf.doubleE1 file to /etc

Loading the drivers (quadBRI):
    cd qozap
    modprobe zaptel
    insmod qozap.o (for kernel 2.4)
    insmod qozap.ko (for kernel 2.6)
    ztcfg

Loading the drivers (octoBRI):
    cd qozap
    modprobe zaptel
    insmod qozap.o ports=X (kernel 2.4, for X see below)
    insmod qozap.ko ports=X (kernel 2.6, for X see below)
    ztcfg
    
    X is a bitmap representing the port configuration (TE or NT mode) of the octoBRI card.
    S/T port 1 starts at the LSB of the bitmap.
    
    example:
    S/T 1,2 in NT mode, S/T 3,4,5,6,7,8 in TE mode
    X (binary) = 00000011
    X (decimal) = 3
    insmod qozap.o ports=3 (kernel 2.4)
    insmod qozap.ko ports=3 (kernel 2.6)

Loading the drivers (singleE1, doubleE1):
    cd cwain
    modprobe zaptel
    insmod cwain.o (kernel 2.4)
    insmod cwain.ko (kernel 2.6)
    
Loading the drivers (zaphfc):
    cd zaphfc
    make load   (for TE mode)
or  make loadNT (for NT mode)

IMPORTANT NOTE:
    if you have any other zaptel device in your machine then make sure that ztcfg is only run once!
    (or run ztcfg -s and after that ztcfg again...)
    
    