[asterisk-users] ZT_CHANCONFIG failed
onchannel1:Nosuchdeviceoraddress
CSB
cameron.beattie at appsteam.co.nz
Fri Apr 27 18:47:15 MST 2007
> On Fri, Apr 27, 2007 at 07:11:48AM +1200, CSB wrote:
>
> [snip]
>
>> As suggested earlier I replaced this with:
>> /etc/modprobe.d/zaptel
>> options wctdm opermode=NEWZEALAND honormode=1 boostringer=1 fastringer=1
>
> [snip]
>
>> dmesg
>> Zapata Telephony Interface Registered on major 196
>> Zaptel Version: 1.2.17.1
>> Zaptel Echo Canceller: KB1
>> wctdm: Unknown parameter `honormode'
>
> This is the problem
>
Updated
vi /etc/modprobe.d/zaptel
options wctdm opermode=NEWZEALAND fxshonormode=1 boostringer=1 fastringer=1
reboot
dmesg
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.17.1
Zaptel Echo Canceller: KB1
Zaptel Transcoder support loaded
/sbin/ztcfg -vvvv
Zaptel Configuration
======================
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
4 channels configured.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)
ls -l /sys/class/zaptel
total 0
drwxr-xr-x 2 root root 0 Apr 28 13:33 zapchannel
drwxr-xr-x 2 root root 0 Apr 28 13:33 zapctl
drwxr-xr-x 2 root root 0 Apr 28 13:33 zappseudo
drwxr-xr-x 2 root root 0 Apr 28 13:33 zaptimer
drwxr-xr-x 2 root root 0 Apr 28 13:33 zaptranscode
lsmod | grep ^zaptel
zaptel 184612 2 zttranscode,wctdm
lspci
Card is not listed
ls /proc/zaptel
Nothing returned
ls -la /dev/zap
total 0
drwxr-xr-x 2 asterisk asterisk 140 Apr 28 13:33 .
drwxr-xr-x 11 root root 3660 Apr 28 13:33 ..
crw------- 1 asterisk asterisk 196, 254 Apr 28 13:33 channel
crw------- 1 asterisk asterisk 196, 0 Apr 28 13:33 ctl
crw------- 1 asterisk asterisk 196, 255 Apr 28 13:33 pseudo
crw------- 1 asterisk asterisk 196, 253 Apr 28 13:33 timer
crw-rw---- 1 asterisk asterisk 196, 250 Apr 28 13:33 transcode
vi /etc/udev/rules.d/50-udev.rules
# Section for zaptel device
KERNEL=="zapctl", NAME="zap/ctl"
KERNEL=="zaptimer", NAME="zap/timer"
KERNEL=="zapchannel", NAME="zap/channel"
KERNEL=="zappseudo", NAME="zap/pseudo"
KERNEL=="zap[0-9]*", NAME="zap/%n"
Any further help appreciated.
Cameron
More information about the asterisk-users
mailing list