Setting up PBX with Asterisk

Work base on Debian Squeeze

Hardware

Finding a computer that allows a 31 cm PCI card was the hardest part :

  • IBM could not find anything
  • HP almost said “fuck off” when I called
  • Dell will call me back (still waiting)
  • Sun was being buy
  • Local assembler said they haven't anythin

So I did the assembler (Picture of PBX) :

  • Intel DX58SO
  • Intel Core i7 950
  • 12GB Kingston memory
  • Supermicro SCT835TQ-R800B
  • Seagate Barracuda 1TB
  • Western Digital Caviar 1TB
  • Asus Nvidia GeForce EN8400GS (accident, I would not choose Nvidia hardware)
  • Digium AEX2460EF
  • Digium B410PF

Xorcom

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.

Installing dahdi kernel driver

First don't use “trunk” kernel. At the time of writing, I use 2.6.32-3-amd64 kernel.

  • Install kernel headers : aptitude install linux-headers-2.6.32-3-amd64
  • Install dahdi sources : aptitude install dahdi-source
  • Build kernel module with module-assistant : m-a a-i dahdi

APIC

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

DAHDI is a set of tools (+kernel module we built before) to work with Digium hardware (and other manufacturer). You need the package dahdi.

wctdm24xxp in Switzerland

To load the analog card driver add in /etc/modprobe.d/asterisk

options wctdm24xxp opermode=SWITZERLAND fxshonormode=1
 
pbx/index.txt · Last modified: 2010/07/15 13:48 by tchetch
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki