Hi Guys,
Just did a fresh install 2.6.2.3 found a problem with my yeastar TDM400 (based on digium) card not being recognized, and I could not setup my trunks etc, all it did was give me errors and setup the ZT dummy, tried running setup-pstn and genzaptelconf.
I followed their guide to install the TDM400/800 patch for trixbox (www.yeastar.com/download/)
I fixed my card problem by doing the following;
[root@localhost ~]# cd /usr/src
[root@localhost src]# wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.12.1.t...
[root@localhost src]# wget http://www.yeastar.com/download/ystdm8xx-zaptel-1.4.12.1.patch.ta...
[root@localhost src]# tar xzvf zaptel-1.4.12.1.tar.gz
[root@localhost src]# tar xzvf ystdm8xx-zaptel-1.4.12.1.patch.tar.gz
[root@localhost src]# patch -p0
You should see the following lines after entering the above command
patching file zaptel-1.4.12/Makefile
patching file zaptel-1.4.12/ystdm8xx.c
patching file zaptel-1.4.12/zaptel.sysconfig
[root@localhost src]# yum install kernel-devel-`uname –r`
[root@localhost src]# yum install gcc
[root@localhost src]# wget http://www.yeastar.com/download/newt.h
[root@localhost src]# mv newt.h /usr/include/
[root@localhost src]# cd zaptel-1.4.12.1
[root@localhost zaptel-1.4.12.1]# make clean
[root@localhost zaptel-1.4.12.1]# make (you should get a "[config.status] Error 1" at the end of the script - ignore it)
[root@localhost zaptel-1.4.12.1]# make install
[root@localhost zaptel-1.4.12.1]# make make config
[root@localhost zaptel-1.4.12.1]# reboot
[root@localhost src]# mv /lib/modules/kernel version/extra/zaptel /lib/modules/kernel version/extra/zaptel.bak
[root@localhost src]# cp -a /lib/modules/kernel version/misc /lib/modules/kernel version/extra/
[root@localhost src]# mv /lib/modules/kernel version/extra/misc /lib/modules/kernel version/extra/zaptel
[root@localhost src]# reboot
[root@localhost ~]# genzaptelconf
[root@localhost ~]# asterisk –r
asterisk1*CLI> restart now
[root@localhost ~]# asterisk –r
asterisk1*CLI> zap show channels
asterisk1*CLI> restart now
I did not have to continue further with the steps in the manual as my card lit up like a christmas tree and populated all the .conf files as per normal, 15 minutes later I could start making calls, the trunks also show up in the FOP now.
I hope this helps.
Thanks to David Chan from Yeastar and his help I could get this card up in 15 minutes.
Cheers.
Member Since:
2008-06-11