Upgrade 3CX to v18 and get it hosted free!

zaptelBRI TE mode installation

Author image

For Asterisk 0.7.2 and bri-stuff.0.0.2rc10 (Note: only use the newest version, currently rc14):

Added note (Alf, 2004/04/21) :

For bri-stuff.0.0.2rc20a, use the following versions :
Asterisk 0.9.0
cvs co -D 2004/03/29 libpri
cvs co -D 2004/03/29 zaptel

Added note (Alf, 2004/05/18) :

For bri-stuff-0.0.2 (final), use :

cvs -z9 co -r v1-0_stable asterisk
cvs -z9 co -D “2004/05/05” zaptel
cvs -z9 co -D “2004/04/17” libpri

Added note (Alf, 2004/09/09) :

For bri-stuff-0.1.0-RC4a, use :

cvs -z9 co -D ‘2004/08/21 21:34:58’ asterisk libpri zaptel

 

1. 
Take a fresh asterisk-0.7.2 from:
ftp://ftp.asterisk.org/pub/telephony/

Download zaptel CVS of 02/01/04:
cvs co -D 02/01/04 zaptel

Download libpri;
cvs co -D 12/02/04 libpri

2. Download the bri-stuff driver from:
http://www.junghanns.net/asterisk/page17.html

2. Apply the patches:
asterisk-0.7.2.patch
zaptel.patch
libpri.patch

3. Compile and install zaptel, libpri, asterisk
    "make; make install"
    note: zaptel needs crc_ccitt compiled as module

3a. Do a "make config" for start scripts

4. Edit the Makefile in the bri-stuff/qozap dir.
    "vim bri-stuff.0.0.2rc10/qozap/Makefile"

    Change the lines:
       ZAP=$(shell [ -f ../zaptel/zaptel.h ] && echo "-I../../zaptel")
       ZAP=$(shell [ -f ../zaptel/zaptel.h ] && echo "-I../zaptel")

    to:
       ZAP=$(shell [ -f ../../zaptel/zaptel.h ] && echo "-I../../zaptel")
       ZAP=$(shell [ -f ../../zaptel/zaptel.h ] && echo "-I../zaptel")

5. Compile and load qozap:
    "cd bri-stuff.0.0.2rc10/qozap/"
    "make load"

5a. Copy qozap.o to /lib/modules/<your_kernel>/misc/qozap.o (kernel 2.4)
      or copy qozap.ko to /lib/modules/<your_kernel>/misc/qozap.ko (kernel 2.6)
     "depmod"

5b. Edit start script /etc/init.d/zaptel and change "insmod" to "modprobe"
     Add qozap to the lines MODULES and RMODULES
     ex:
     MODULES="torisa tor2 wct4xxp wct1xxp wcfxo wcusb qozap"
     RMODULES="torisa tor2 wct4xxp wct1xxp wcfxo wcusb qozap"

6. Edit /etc/zaptel.conf and run "ztcfg -v -c /etc/zaptel.conf"

7. Edit /etc/asterisk/zapata.conf and start asterisk.

 


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.