Zaptel package installation

hi, I’m trying to install the zaptel package (debian unstable)
but I get the following error:
debian:~# apt-get install zaptel
Reading Package Lists… Done
Building Dependency Tree… Done
Recommended packages:
zaptel-modules
The following NEW packages will be installed:
zaptel
0 upgraded, 1 newly installed, 0 to remove and 165 not upgraded.
Need to get 0B/109kB of archives.
After unpacking 582kB of additional disk space will be used.
Selecting previously deselected package zaptel.
(Reading database … 92059 files and directories currently installed.)
Unpacking zaptel (from …/zaptel_1%3a1.2.10.dfsg-2_i386.deb) …
Setting up zaptel (1.2.10.dfsg-2) …
Zaptel telephony kernel driver: FATAL: Module ztdummy not found.
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device ‘/dev/zap/ctl’

1 error(s) detected

/sbin/ztcfg failed. Check /etc/zaptel.confzaptel.

He also says: Recommended packages: zaptel-modules
but that package doesn’t exist :s

qa.debian.org/debcheck.php?dist= … age=zaptel

i would contact the package maintainer.

I managed to get a little further.
I can now load the module zaptel
so i do:

modprobe zaptel
modprobe wcfxo
modprobe ztdummy

but modprobe wcfxo gives the following error:
ZT_CHANCONFIG failed on channel 2: No such device or address (6)
FATAL: Error running install command for wcfxo

this is the output of lsmod | grep zaptel:
zaptel 229380 2 wcfxo,ztdummy
crc_ccitt 2432 1 zaptel

the relevant line in lspci:
0000:02:01.0 Communication controller: Motorola: Unknown device 5608

in zaptel.conf i have the following lines:
fxsks=2
loadzone=us
defaultzone=us

output of cat /proc/zaptel/1:
debian:~# cat /proc/zaptel/1
Span 1: ZTDUMMY/1 “ZTDUMMY/1 1”

when i start asterisk it fails with the following errors:

=> (Linux Telephony API Support)
== Parsing ‘/etc/asterisk/phone.conf’: Found
== Registered channel type ‘Phone’ (Standard Linux Telephony API Driver)
[skipping chan_alsa.so]
[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing ‘/etc/asterisk/zapata.conf’: Found
Nov 27 14:57:40 WARNING[4092]: chan_zap.c:921 zt_open: Unable to specify channel 2: No such device or address
Nov 27 14:57:40 ERROR[4092]: chan_zap.c:7001 mkintf: Unable to open channel 2: No such device or address
here = 0, tmp->channel = 2, channel = 2
Nov 27 14:57:40 ERROR[4092]: chan_zap.c:10476 setup_zap: Unable to register channel '2’
Nov 27 14:57:40 WARNING[4092]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Nov 27 14:57:40 WARNING[4092]: loader.c:554 load_modules: Loading module chan_zap.so failed!

what now? :smile:

so i opened the case the put the FXO module in another pci slot, and it stinked so hard!
the card burnt through :laughing:

we still had 2 left, put another in, rebooted and it worked great
so another problem fixed :smile: