Dahdi For BRI

Q1, Where to get lastest openvox dahdi driver?

http://www.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz

Q2, Howto: OSLEC echo canceling + DAHDI 2.1.0.4 + Asterisk 1.4

please refer this:
http://www.asterisk.org/forum/viewtopic.php?p=125314&sid=9515c7b03cb14dc698e89467c3d49a86

Q3, Difference between zaptel and dahdi

please refer these links:
http://www.voip-info.org/wiki/view/DAHDI
http://docs.tzafrir.org.il/dahdi-linux/
http://docs.tzafrir.org.il/dahdi-tools/

Q4, Tools from zaptel to dahdi

ztcfg -> dahdi_cfg
ztmonitor -> dahdi_monitor
ztscan -> dahdi_scan
ztspeed -> dahdi_speed
zttest -> dahdi_test
zttool -> dahdi_tool
zapconf -> dahdi_genconf (deprecates genzaptelconf)

Q5, what verions of dahdi and asterisk support BRI cards ?

1. B100P on Dahdi B100P TE mode can work well under the following environments:

OS: Centos 5.4
Kernel version: 2.6.18-164.el5
Asterisk version: Asterisk-1.6.1.18
Dahdi version: dahdi-linux-complete-2.3.0.1+2.3.0
Libpri version: libpri-1.4.11.2
Note that: dahdi needs to be patched.

If user need to user B100P on NT mode, please refer the following environment:

OS: Centos 5.5
Kernel version: 2.6.18-164.el5
Asterisk version: Asterisk-1.6.2.10
Dahdi version: dahdi-linux-complete-2.3.0.1+2.3.0
Libpri version: libpri-1.4.11.4
Note that: Dahdi needs to be patched, and chan_dahdi.c needs to be patched except asterisk 1.8 above version


2. B200P/400P on Dahdi B200P/B400P TE mode be supported well by dahdi.However, if users need to use B200P/B400P NT mode, please refer the following environments:

OS: Centos 5.4
Kernel version: 2.6.18-164.el5
Asterisk version: Asterisk-1.6.1.18
Dahdi version: dahdi-linux-2.3.0.1
               dahdi-tools-2.3.0
Libpri version: libpri-1.4.11.2
Note that: chan_dahdi.c needs to be patched.
Both NT_PTP and NT_PTMP can work fine under this environments.

Q6, error: conflicting types for 'bool' when compiling DAHDI after CentOS upgrade

I upgraded my Asterisk server from one CentOS 5.x version to another (e.g., CentOS 5.8 to 5.9). I'm attempting to compile DAHDI-Linux-Complete 2.6.1+2.6.1 (or DAHDI-Linux 2.6.1) from source code. I'm getting the following error:

In file included from /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpd.h:26, from /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.c:29: /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xdefs.h:152: error: conflicting types for 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here make[4]: *** [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.o] Error 1 make[3]: *** [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp] Error 2 make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.18-348.el5-i686' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make: *** [all] Error 2

 

This is a known issue (DAHLIN-312) for DAHDI-Linux 2.6.1.

This is corrected in DAHDI-Linux 2.6.2-rc1 (release candidate). Until DAHDI-Linux 2.6.2 is released -- and is incorporated into a new version of DAHDI-Linux-Complete -- the workaround is to use DAHDI-Linux 2.6.2-rc1 with DAHDI-Tools 2.6.1.

You can compile and install DAHDI-Linux 2.6.2-rc1 and DAHDI-Tools 2.6.1 separately with commands like the following, which are similar to (and derived from) the DAHDI installation steps in the Asterisk / DAHDI / Libpri Quick Start Installation guide:

~ # cd /usr/src /usr/src # wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.6.2-rc1.tar.gz /usr/src # tar -xzf dahdi-linux-2.6.2-rc1.tar.gz /usr/src # cd dahdi-linux-2.6.2-rc1 /usr/src/dahdi-linux-2.6.2-rc1 # make /usr/src/dahdi-linux-2.6.2-rc1 # make install /usr/src/dahdi-linux-2.6.2-rc1 # cd .. /usr/src # wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.6.1.tar.gz /usr/src # tar -xzf dahdi-tools-2.6.1.tar.gz /usr/src # cd dahdi-tools-2.6.1 /usr/src/dahdi-tools-2.6.1 # ./configure /usr/src/dahdi-tools-2.6.1 # make /usr/src/dahdi-tools-2.6.1 # make install
and optionally, to setup the system init scripts (usually for a first-time installation of DAHDI on a server):
/usr/src/dahdi-tools-2.6.1 # make config