[asterisk-users] ZT_CHANCONFIG failed on channel 1:Nosuchdeviceor address

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Apr 26 00:32:01 MST 2007


On Thu, Apr 26, 2007 at 06:17:14AM +1200, CSB wrote:
> >>>Did it identify a card?
> >>>
> >>>rmmod wctdm; modprobe wctdm; dmesg | tail
> >>>
> >>rmmod wctdm; modprobe wctdm; dmesg | tail
> >>ZT_CHANCONFIG failed on channel 1: No such device or address (6)
> >>FATAL: Error running install command for wctdm
> >>
> >>Errr. What does that mean?
> >
> >buggy modprobe rules did it again. Generally you should ignore that. To
> >prevent it from re-occouring, remove the line with 'wctdm' and 'ztcfg'
> >from /etc/modprobe.conf or /etc/modprobe.d/zaptel .
> >
> vi /etc/modprobe.conf
> Removed the following line
> install wctdm /sbin/modprobe --ignore-install wctdm opermode=NEWZEALAND 
> fxshonormode=1 boostringer=1 fastringer=1 && /sbin/ztcfg
> 
> vi /etc/modprobe.d/zaptel
> Removed the following line
> install wctdm /sbin/modprobe --ignore-install wctdm $CMDLINE_OPTS && 
> /sbin/ztcfg

grep wctdm /etc/modprobe.conf or /etc/modprobe.d/*

> 
> rmmod wctdm; modprobe wctdm; dmesg | tail
> ZT_CHANCONFIG failed on channel 1: No such device or address (6)
> FATAL: Error running install command for wctdm
> >But what about: dmesg | tail
> Nothing relevant in dmesg
> >
> >What Linux distribution do you use, BTW?
> Centos 4.4
> 
> >What kernel version?
> uname -r
> 2.6.18-1.2257.fc5smp
> 
> I'm even more confused now. How do I load the New Zealand specific settings 
> for the card with the line gone from modprobe.conf? And how can I ignore 
> it? The problem is that Asterisk can't see the card so I can't use the FXO 
> or FXS ports?

echo options opermode=nz honormode=1 boostringer=1 fastringer=1 >/etc/modprobe.d/zaptel

(or any other file in that directory)

That is the standard way to pass kernel module options.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list