Hi list, I'm trying to set up a TDM40B, but modprobe returns the fowling errors: asterisk:~# modprobe wcfxs ZT_CHANCONFIG failed on channel 1: Invalid argument (22) /lib/modules/2.4.18/misc/wcfxs.o: post-install wcfxs failed /lib/modules/2.4.18/misc/wcfxs.o: insmod wcfxs failed Could someone give me a help? Thanks in advance Eduardo
Have you setup the zaptel.conf and zapata.conf configuration files for how ever many ports you have on the card and then run the ztcfg -vvvc command? -----Original Message----- From: Eduardo Goncalves [mailto:eduardo@acenet.com.br] Sent: Friday, August 01, 2003 03:24 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Seting up TDM40B Hi list, I'm trying to set up a TDM40B, but modprobe returns the fowling errors: asterisk:~# modprobe wcfxs ZT_CHANCONFIG failed on channel 1: Invalid argument (22) /lib/modules/2.4.18/misc/wcfxs.o: post-install wcfxs failed /lib/modules/2.4.18/misc/wcfxs.o: insmod wcfxs failed Could someone give me a help? Thanks in advance Eduardo _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030801/2a3738d4/attachment.htm
What does 'dmesg' say ? On Fri, 1 Aug 2003, Eduardo Goncalves wrote:> Hi list, > > I'm trying to set up a TDM40B, but modprobe returns the fowling errors: > > asterisk:~# modprobe wcfxs > ZT_CHANCONFIG failed on channel 1: Invalid argument (22) > /lib/modules/2.4.18/misc/wcfxs.o: post-install wcfxs failed > /lib/modules/2.4.18/misc/wcfxs.o: insmod wcfxs failed > > Could someone give me a help? > > Thanks in advance > Eduardo > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Not sure about that one still an asterisk newbie myself but had similar problems. The only other thing I can suggest and as stupid as this might sound... is the card seated properly on the motherboard? -----Original Message----- From: Eduardo Goncalves [mailto:eduardo@acenet.com.br] Sent: Friday, August 01, 2003 03:46 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Seting up TDM40B On Fri, 1 Aug 2003 15:25:49 -0500 "McAughan, Matt" <MMcAughan@synhrgy.com> wrote:> Have you setup the zaptel.conf and zapata.conf configuration files for >how > ever many ports you have on the card and then run the ztcfg -vvvc >command? >Since the module aren't loaded, config zaptel.conf, zapata.conf and run ztcfg will not work, right? my conf files: ==========zaptel.conf ==========fxsls=1-4 loadzone = us defaultzone=us ==========zapata.conf ==========callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes echocancel=yes echocancelwhenbridged=no rxgain=0.0 txgain=0.0 group=1 immediate=no context=pstn signalling=fxs_ks channel=1-4 thanks []'s Eduardo _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030801/f8fdb27b/attachment.htm
And someone on this list can correct me if I am wrong but TDM40P is up to a 4 port FXS device so your signalling should be of one of the fxo derivitives. Right? -----Original Message----- From: Eduardo Goncalves [mailto:eduardo@acenet.com.br] Sent: Friday, August 01, 2003 03:46 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Seting up TDM40B On Fri, 1 Aug 2003 15:25:49 -0500 "McAughan, Matt" <MMcAughan@synhrgy.com> wrote:> Have you setup the zaptel.conf and zapata.conf configuration files for >how > ever many ports you have on the card and then run the ztcfg -vvvc >command? >Since the module aren't loaded, config zaptel.conf, zapata.conf and run ztcfg will not work, right? my conf files: ==========zaptel.conf ==========fxsls=1-4 loadzone = us defaultzone=us ==========zapata.conf ==========callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes echocancel=yes echocancelwhenbridged=no rxgain=0.0 txgain=0.0 group=1 immediate=no context=pstn signalling=fxs_ks channel=1-4 thanks []'s Eduardo _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030801/7480a17a/attachment.htm
I had the same exact problem yesterday Eduardo. Also make sure that you provide the -c flag to ztcfg. I didn't have to recompile any pieces of *, you shouldn't either. ztcfg -c /etc/asterisk/zaptel.conf -vvv will do the trick once you get the files, signalling (e.g. fxo_ko) and good configs. Check back one day on the list for my followup..... --- Gavin -----Original Message----- From: Eduardo Goncalves [mailto:eduardo@acenet.com.br] Sent: Fri 8/1/2003 5:54 PM To: asterisk-users@lists.digium.com Cc: Subject: Re: [Asterisk-Users] Seting up TDM40B On Fri, 1 Aug 2003 16:31:36 -0500 (CDT) "James Sharp" <jsharp@psychoses.org> wrote: > > > == Parsing '/etc/asterisk/zapata.conf': Found > > WARNING[1024]: File config.c, Line 537 (cfg_process): parse error: No > > category context for line 1 of zapata.conf > > zapata.conf needs to start with the line > > [channels] My mistake. I had commented this line when I did the regex for uncomment the others. Sorry, and thanks for the help :~ [ ]'s Eduardo _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users