<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi.<br>
<br>
I'm trying to install and configure a TDM01B -1 FXO card.<br>
<br>
I'm getting the following errors when starting up asterisk:<br>
<font face="Century Gothic">Jul 25 08:48:40 WARNING[1775]:
chan_zap.c:923 zt_open: Unable to specify channel 1: No such device<br>
Jul 25 08:48:40 ERROR[1775]: chan_zap.c:6879 mkintf: Unable to open
channel 1: No such device<br>
here = 0, tmp-&gt;channel = 1, channel = 1<br>
Jul 25 08:48:40 ERROR[1775]: chan_zap.c:10311 setup_zap: Unable to
register channel '1'<br>
Jul 25 08:48:40 WARNING[1775]: loader.c:414 __load_resource:
chan_zap.so: load_module failed, returning -1<br>
Jul 25 08:48:40 WARNING[1775]: loader.c:554 load_modules: Loading
module chan_zap.so failed!<br>
</font><br>
My /etc/zaptel.conf looks as follows:<br>
<font face="Century Gothic">fxsks=1<br>
loadzone = us<br>
defaultzone=us</font><br>
<br>
The relevant stuff in my /etc/asterisk/zapata.conf looks as follows:<br>
<font face="Century Gothic">signalling=fxs_ks<br>
echocancel=yes<br>
echocancelwhenbridged=yes<br>
echotraining=400<br>
callerid=asreceived<br>
group=1<br>
context=sgs<br>
channel =&gt; 1</font><br>
(I have attached the whole zapata.conf file)<br>
<br>
The card is properly installed in the box and the wctdm driver loads.<br>
When I type in&nbsp; <font face="Courier">modprobe wctdm </font>the driver
loads and the light on the card goes on.<br>
<br>
Typing in <font face="Courier New">ztcf -vv</font> gives the following:<br>
<font face="Century Gothic">Zaptel Configuration<br>
======================<br>
Channel map:<br>
<br>
Channel 01: FXS Kewlstart (Default) (Slaves: 01)<br>
<br>
1 channels configured.<br>
<br>
</font>Typing in <font face="Courier New">cat /proc/zaptel/1 </font>produces
the following:<br>
<font face="Century Gothic">Span 1: WCTDM/0 "Wildcard TDM400P REV I
Board 1"<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 WCTDM/0/0 FXSKS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 WCTDM/0/1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 WCTDM/0/2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 WCTDM/0/3<br>
<br>
</font>When I comment out the channel creation part of the zapata.conf
asterisk loads fine and the CLI command "Zap show status" produces the
following:<br>
<font face="Century Gothic">localhost*CLI&gt; zap show status<br>
Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Alarms&nbsp;&nbsp;&nbsp;&nbsp; IRQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bpviol&nbsp;&nbsp;&nbsp;&nbsp; CRC4<br>
Wildcard TDM400P REV I Board 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>
</font><font face="Century Gothic"><br>
</font>But, when I type in "cat /dev/zap/1" I get the following:<br>
<font face="Century Gothic">cat: /dev/zap/1: No such device</font><br>
Should it show sometging else.<br>
<br>
The output given by "ztcf -vv" and "cat /proc/zaptel/1" seems fine to
me, but I'm not an expert. Is it fine?<br>
Please, any help will be appreciated.<br>
<br>
Thank you.<br>
<br>
Jan.<br>
<font face="Century Gothic"><br>
</font><br>
<font face="Century Gothic"><br>
</font><br>
<br>
<br>
<br>
<br>
</body>
</html>