Compiling/installing:
    + Make sure you have kernel sources or kernel headers installed!

    + Run the install.sh script (requires 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):
    modprobe qozap
    ztcfg

Loading the drivers (octoBRI):
    modprobe qozap ports=X 
    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
    modprobe qozap ports=3

Loading the drivers (singleE1, doubleE1):
    modprobe cwain
    ztcfg 
        
Loading the drivers (zaphfc):
    modprobe zaphfc (TE mode)
    or
    modprobe zaphfc modes=1 (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...)
    
    