Getting Yeastar TDM800 working with Trixbox 2.2 CE Final

T313C0mun1s7
Posts: 83
Member Since:
2007-04-12

I FINALLY got this card to work by upgrading from 2.0 to 2.1.8 (2.2 RC2). See this thread on that who adventure - http://www.trixbox.org/forums/trixbox-forums/help/need-help-getting-my-hardware-work

Then I did a clean install of the just released 2.2 Trixbox CE and did the entire procedure again to find out it no longer got my card online. It didn't even load the drivers. I don't remember why I was using the 1.4 branch of zaptel, except I might have gotten myself confused into thinking it was what trixbox was using, but I modifed my procedure to use the version I found in the package manager (1.2.17.1) and got everything working again.

For anyone interested in using a Yeastar TDM800 card under Trixbox 2.2 CE here is the working procedure. I just confirmed that everything works as it should, or at least that it did for me. I don't know how big of a deal it is to get these cards working, but if this has value it might be stickied, and if anyone with a wiki account wants to, please feel free to put it there also. The images in this post are linked to Yeastar's website, so if they don't work that is why.

cd /usr/src
wget <a href="http://ftp.digium.com/pub/zaptel/zaptel-1.2.17.1.tar.gz" title="http://ftp.digium.com/pub/zaptel/zaptel-1.2.17.1.tar.gz">http://ftp.digium.com/pub/zaptel/zaptel-1.2.17.1.tar.gz</a>
tar xzvf zaptel-1.2.17.1.tar.gz 
wget <a href="http://www.yeastar.com/download/ystdm8xx-zaptel-1.2.17.1.patch.tar.gz" title="http://www.yeastar.com/download/ystdm8xx-zaptel-1.2.17.1.patch.tar.gz">http://www.yeastar.com/download/ystdm8xx-zaptel-1.2.17.1.patch.ta...</a>
tar xzvf ystdm8xx-zaptel-1.2.17.1.patch.tar.gz 
patch -p0 < ystdm8xx-zaptel-1.2.17.1.patch
yum -y install kernel-devel kernel
nano /usr/src/kernels/2.6.9-34.0.2.EL-i686/include/linux/spinlock.h

line 407 change this:

into this:

cd zaptel-1.2.17.1
make clean
make config
make install
amportal stop;reboot
genzaptelconf

Good Luck



jahyde
Posts: 2002
Member Since:
2006-06-02
ich - had a feeling about

ich - had a feeling about that 1.4 stuff ;)
congrats - wasnt that easy!

--

--my PBX is run on 2 V8's



T313C0mun1s7
Posts: 83
Member Since:
2007-04-12
still confused about make config

from what I read make config is only needed for the 1.4 stuff. However, running make config before make install does not work with 1.4, it just dies with a error code 2. You have to make clean;make install let it error - then make clean make install again, then finally make config.
I also found I had to do make clean;make config;make install for 1.2 even though the make config is only suppose to be needed for 1.4. Go figure!?

Yes, it is all working now though. It was rather easy at this point, and rather than have someone else go through everything I did I thought it best to post it.

P.S. if you want Yeastar's instructions for trixbox it is not linked on their website. The trick is to follow the link that says instructions for asterisk, put a %20 (space) in between every word in the filename, and change the last word from Asterisk to Trixbox. You end up with this URL:
http://www.yeastar.com/html/How%20to%20Install%20Driver%20for%20T...

Their instructions are a little different than my copy and paste method I posted, but mine work and theirs doesn't. Also it seams that their instructions is where I may have picked up the 1.4 version, but I am not positive.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.