[RESOLVED] TDM400 channels not showing up in Asterisk

I am sure I am missing something very easy.

I have installed my TDM400 with 4 FXO ports to connect to loopstart lines.

From /etc/zaptel.conf:

fxsls=1-4
loadzone = us
defaultzone=us

From /sbin/ztcfg -vvvvv

Zaptel Configuration

Channel map:

Channel 01: FXS Loopstart (Default) (Slaves: 01)
Channel 02: FXS Loopstart (Default) (Slaves: 02)
Channel 03: FXS Loopstart (Default) (Slaves: 03)
Channel 04: FXS Loopstart (Default) (Slaves: 04)

4 channels configured.

From /etc/asterisk/zapata.conf:

[trunkgroups]
[channels]
usercallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes

context=PublicNetworkRingin
signalling=fxs_ls

channel => 1
channel => 2
channel => 3
channel => 4

In the Asterisk console, if I type:

show channels

I get:

Channel (Context Extension Pri ) State Appl. Data
0 active channel(s)

In the zttool, I do see the card:

Alarms Span │
│ OK Wildcard TDM400P REV I Board 1 ▒ │

In the zttool, when I look at the channels, they seem to be there, but no amount of plugging in, unplugging, or ringing in seems to change the status;

Current Alarms: No alarms. │ │
│ │ Sync Source: Internally clocked │ ▒ │
│ │ IRQ Misses: 0 │ ▒ │
│ │ Bipolar Viol: 0 │ ▒ │
│ │ Tx/Rx Levels: 0/ 0 │ ▒ │
│ │ Total/Conf/Act: 4/ 4/ 1 │ ▒ │
│ │ ┌──────┐ │ ▒ │
│ │ 1234 │ Back │ │ ▒ │
│ │ TxA ---- └──────┘ │ ▒ │
│ │ TxB ---- │ ▒ │
│ │ TxC ---- │ │
│ │ TxD ---- │ │
│ │ ┌──────┐ │ │
│ │ RxA ---- │ Loop │ │ │
│ │ RxB ---- └──────┘ │ │
│ │ RxC ---- │ │
│ │ RxD ----

On the physical card, all four green LEDs are lit all of the time.

If I ring in on any of the lines, Asterisk completely ignores the ringin.

From /etc/asterisk/extensions.conf:

[PublicNetworkRingin]
exten => s,1,answer()
exten => s,2,echo()

In my console output from Asterisk, I never see asterisk attempting to parse the file ‘/etc/asterisk/zapata.conf’. What have I missed?!?

I see now that the asterisk I got from Ubuntu doesn’t include chan_zap. It looks like I need to compile the thing myself.

Ubuntu was my first try at Linux, and for all the nice things people say about it I think I’ll probably try a different distro next time around.

The feature I THOUGHT I would like best was the ability to simply grab packages and have them work ALMOST right out of the box. Instead, I’ve spent hours fixing things that would have probably worked the first time if I had just built them myself inside a more standard Linux.

I guess that’s the open source way. Read, try, cry, repeat.

If you are not interested in going the asterisk@home route, i would recommend centos, since that is the distro AAH is built on, so you are pretty much assured this cr*p wont happen.