Work base on Debian Squeeze
Finding a computer that allows a 31 cm PCI card was the hardest part :
So I did the assembler (Picture of PBX) :
I thought about using Xorcom USB device for telephony hardware, but the lack of users feedback and the fact that telephony is new to me, I didn't take the risk to test it.
First don't use “trunk” kernel. At the time of writing, I use 2.6.32-3-amd64 kernel.
aptitude install linux-headers-2.6.32-3-amd64aptitude install dahdi-sourcem-a a-i dahdi
Detection of my card AEX2400EF did not work without the option noapic=yes on the kernel command line.
Errors were like that
May 8 00:53:21 pbx00 kernel: [ 3.464225] wcb4xxp 0000:08:02.0: new card sync source: port 3 May 8 00:53:21 pbx00 kernel: [ 5.000237] Port 1: Installed -- AUTO FXS/DPO May 8 00:53:21 pbx00 kernel: [ 6.628839] Port 2: Installed -- AUTO FXS/DPO May 8 00:53:21 pbx00 kernel: [ 8.261427] Port 3: Installed -- AUTO FXS/DPO May 8 00:53:21 pbx00 kernel: [ 9.519266] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.532334] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533329] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533369] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533409] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533450] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533490] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533530] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533570] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun. May 8 00:53:21 pbx00 kernel: [ 9.533611] wctdm24xxp 0000:05:08.0: Host failed to service card interrupt within 128 ms which is a hardunderun.
DAHDI is a set of tools (+kernel module we built before) to work with Digium hardware (and other manufacturer). You need the package dahdi.
To load the analog card driver add in /etc/modprobe.d/asterisk
options wctdm24xxp opermode=SWITZERLAND fxshonormode=1