Astersik tips

From Bob's Basement

Jump to: navigation, search

Asterisk with Zaptel in a Debian Etch
Why bother?

I don't know but just in case you do, here's some pointers:

[edit] Installing the Wildcard

Let's start with the card, the Diguim Wildcard TDMxyB where:

x = Number of FXS modules y = Number of FXO modules

I have a TDM12B.

First, make sure you can see the card with an lspci:

00:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

Next, apt-get install every fscking package under the sun:

  • asterisk
  • zaptel
  • zaptel-sources
  • kernel-headers-`uname -r`
  • shitloads of other stuff

Then make the modules with m-a assist:

m-a build zaptel

Sit, wait, hope that it doesn't crash and burn

Let's modprobe some stuff:

modprobe zaptel modprobe wcfxo modprobe wctdm

Now let's write the config file, /etc/zaptel.conf:

fxoks=1
fxsks=3-4
loadzone=uk
defaultzone=uk

Now see if we can bring up the channels:

ztcfg -vvv

If you see this:

Zaptel Configuration
======================


Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

3 channels configured.

It worked, if you don't see this, it b0rked, cry!

Personal tools