I sorry to bother you guys here, but I searched and searched, but can’t find any thing like that.
I had a Wildcard TDM400P card with 1 FXO module on the forth port.
I am use Suse 9.1 (linx26) with Zaptel and Asterisk 1.2 beta
so I use make linux26 on zaptel build and changed my /etc/udev/udev.permissions and /etc/udev/rules accordingly
(voip-info.org/tiki-index.php … stallation)
I did
modprobe zatel
modprobe wctdm
checked /var/log/messages, looks like everthing is OK
and the green led lighted up on the forth port of the card
Here is my zaptel.conf
fxsks=1
loadzone = us
defaultzone=us
then I run ztcfg -vvvvv
it shows
Zaptel Configuration
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
1 channels configured.
And here is my /etc/asterisk/zapata.conf
[channels]
language=en
context=default
switchtype=national
signalling=fxs_ks
channel => 1
then I ran asterisk with asterisk -vvvvvvvc
And it errored out:
chan_zap.so] => (Zapata Telephony)
== Parsing ‘/etc/asterisk/zapata.conf’: Found
’/dev/zap/channel’:
Sep 10 22:17:55 WARNING[12059]: chan_zap.c:892 zt_open: Unable to specify channel 1: No such device
Sep 10 22:17:55 ERROR[12059]: chan_zap.c:6652 mkintf: Unable to open channel 1: No such device
here = 0, tmp->channel = 1, channel = 1
Sep 10 22:17:55 ERROR[12059]: chan_zap.c:10032 setup_zap: Unable to register channel '1’
Sep 10 22:17:55 WARNING[12059]: loader.c:403 __load_resource: chan_zap.so: load_module failed, returning -1
Sep 10 22:17:55 WARNING[12059]: loader.c:543 load_modules: Loading module chan_zap.so failed!
I looked at the source code, it looks like it passed line 880 open(fn, O_RDWR | O_NONBLOCK); so the device opened correctly, but failed at
ioctl(fd, ZT_SPECIFY, &chan)
could you guys tell me what I did wrong?
I tried that on two machines, All the same problem. Now I am stuck.
Any suggestion will be appreciated