You have 3 options to configure the B410P on your system.
- mISDN
- wcb4xxp : B410P native DAHDI driver
- use bristuff (you need to patch it first!)
Page Contents
B410P native DAHDI driver (wcb4xxp)
Get the latest DAHDI svn or 2.1.0 release candidate and install as usual. Now it will also build a wcb4xxp driver. The command dahdi_hardware can be used to detect what hardware you have and which drivers you need.
Advantage of this driver:
- On-board echo cancellation supported
- LED’s working (GREEN when link is UP, flashing RED when link is down, No light when link unused/unconfigured)
mISDN
- This Installation was on Debian Etch, Vanilla Linux kernel 2.6.17.11. The ISDN lines are provides by British Telecom.
First of, the B410p uses mISDN, rather than zaptel. I have a t110p zaptel card as well, so I compiled that too. This may or may not be required for the B410p. I don’t believe it is.
I have tried asterisk 1.4.0 – but had various problems, mostly with the new ‘GUI’ not enabling the misdn option. I did try to change the dependencies in the menuselect-tree, but it failed to compile cleanly.
Installing Misdn
I downloaded mISDN.tar.gz from http://www.misdn.org.
I untarred it, and Make’d it.
At first it failed with loads of warnings about capi symbols in the kernel missing. I added Capi support to the kernel, recompiled etc…
now make install worked…
Debian packages
I installed these extra packages for my system:
apt-get install libisdnnet-dev libmisdn-dev install libpt-dev
Digium Downloads
I downloaded from digium:
libpri-1.4.0
zaptel-1.4.0
asterisk-1.4.0
mISDNuser.tar.gz
misdn-b410p.tar.gz
I compiled libpri/zaptel/asterisk “as normal”. There’s enough stuff on the web, I won’t describe this here.
B410P driver compilation
tar -zxvf misdn-b410p.tar.gz && cd misdn && make install
and
tar -zxvf mISDNuser.tar.gz && cd mISDNuser && make install
Loading the modules…
I created my /etc/asterisk/misdn.conf like so:
[general]
debug=0
bridging=no
[default]
echocancel=128
context=misdnin
[all]
msns=*
ports=1ptp,2ptp,3ptp,4ptp
context=misdnin
The misdn-b410p.tar.gz archive contains a convenient script “misdn-init”.
./misdn-init start
… loads the modules with the relevant parameters.
Configuring asterisk
For testing purposes, I simply created:
[dialmisdn]
exten => 100,1,Dial(mISDN/1/020...)
A call from my sip phone to extension 100 resulted in a successful call 😉
note: At the time of writing, this is my first installation of a b410p card. I suspect this process can be simplified a little. For example, I don’t think the entire libmisdn-dev package is required but provided by the tarballs. — conrad