On Tue, Jul 25, 2006 at 08:53:11AM +0200, Jan du Toit wrote: > Hi. > > I'm trying to install and configure a TDM01B -1 FXO card. > > I'm getting the following errors when starting up asterisk: > Jul 25 08:48:40 WARNING[1775]: chan_zap.c:923 zt_open: Unable to specify > channel 1: No such device > Jul 25 08:48:40 ERROR[1775]: chan_zap.c:6879 mkintf: Unable to open > channel 1: No such device > here = 0, tmp->channel = 1, channel = 1 > Jul 25 08:48:40 ERROR[1775]: chan_zap.c:10311 setup_zap: Unable to > register channel '1' > Jul 25 08:48:40 WARNING[1775]: loader.c:414 __load_resource: > chan_zap.so: load_module failed, returning -1 > Jul 25 08:48:40 WARNING[1775]: loader.c:554 load_modules: Loading module > chan_zap.so failed! > > My /etc/zaptel.conf looks as follows: > fxsks=1 > loadzone = us > defaultzone=us > > The relevant stuff in my /etc/asterisk/zapata.conf looks as follows: > signalling=fxs_ks > echocancel=yes > echocancelwhenbridged=yes > echotraining=400 > callerid=asreceived > group=1 > context=sgs > channel => 1 > (I have attached the whole zapata.conf file) > > The card is properly installed in the box and the wctdm driver loads. > When I type in modprobe wctdm the driver loads and the light on the > card goes on. > > Typing in ztcf -vv gives the following: > Zaptel Configuration > ====================== > Channel map: > > Channel 01: FXS Kewlstart (Default) (Slaves: 01) > > 1 channels configured. > > Typing in cat /proc/zaptel/1 produces the following: > Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" > > 1 WCTDM/0/0 FXSKS > 2 WCTDM/0/1 > 3 WCTDM/0/2 > 4 WCTDM/0/3 > > 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: > localhost*CLI> zap show status > Description Alarms IRQ > bpviol CRC4 > Wildcard TDM400P REV I Board 1 OK 0 0 0 > > But, when I type in "cat /dev/zap/1" I get the following: > cat: /dev/zap/1: No such device > Should it show sometging else. > > The output given by "ztcf -vv" and "cat /proc/zaptel/1" seems fine to > me, but I'm not an expert. Is it fine? > Please, any help will be appreciated.
Are you sure it's in slot 1? e.g: try: for i in 1 2 3 4; do echo trying $i:; ztcfg -c <(echo fxsks=2); done I don't remember if a slot with no module has all capabilities or none. -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 jabber:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.xorcom.com _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
