I had a working Asterisk 1.4.24.1 installation on SUSE 9 Linux but SIP only. I then downloaded and installed latest Zaptel and could not get Zaptel working. So I downloaded Asterisk again and re-installed. But still problems: Here is my ztcfg output: asterisk:/etc/asterisk # ztcfg -vvvvv Notice: Configuration file is /etc/zaptel.conf line 4: Unable to read Zaptel version information. Zaptel Version: Unknown Echo Canceller: Unknown Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) Channel 03: FXS Kewlstart (Default) (Slaves: 03) Channel 04: FXS Kewlstart (Default) (Slaves: 04) 4 channels to configure. ZT_CHANCONFIG failed on channel 1: Inappropriate ioctl for device (25) My zaptel.conf file is in /etc/ fxsks=1-4 loadzone=uk defaultzone=uk I know config above is correct because used to work in an older Asterisk 1.2 installation. My zapata.conf file is in /etc/asterisk/ has this setting: signalling=fxs_ks What should I be looking at? Works ok for SIP but I want to get the analog card working. It is a TDM04B. Angus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090927/93e5ba18/attachment.htm
On Sun, Sep 27, 2009 at 05:17:33PM +0100, Angus Asterisk wrote:> I had a working Asterisk 1.4.24.1 installation on SUSE 9 Linux but > SIP only. I then downloaded and installed latest ZaptelI'll note that for many practical purposes, "latest zaptel" is DAHDI.> and could not > get Zaptel working. So I downloaded Asterisk again and re-installed. > > But still problems: > > Here is my ztcfg output: > asterisk:/etc/asterisk # ztcfg -vvvvv > Notice: Configuration file is /etc/zaptel.conf > line 4: Unable to read Zaptel version information. > > Zaptel Version: Unknown > Echo Canceller: Unknown > Configuration > =====================> > > Channel map: > > Channel 01: FXS Kewlstart (Default) (Slaves: 01) > Channel 02: FXS Kewlstart (Default) (Slaves: 02) > Channel 03: FXS Kewlstart (Default) (Slaves: 03) > Channel 04: FXS Kewlstart (Default) (Slaves: 04) > > 4 channels to configure. > > ZT_CHANCONFIG failed on channel 1: Inappropriate ioctl for device (25)ztcfg sent an ioctl that the kernel part of Zaptel didn't understand. This may be due to using a (very old?) version of zaptel.h to build ztcfg (or maybe way older modules and a newer ztcfg). A second option is mixing 64bit kernel with 32bit userspace. Also, what is the output of: uname -a which ztcfg file `which ztcfg` # let's hope this one exists: cat /sys/module/zaptel/version modinfo zaptel | grep ^version rpm -qa | grep zaptel -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
At 09:17 AM 9/27/2009, you wrote:>What should I be looking at? Works ok for SIP but I want to get the >analog card working. It is a TDM04B. >Have you tried running genzaptelconf or whatever it's called? Ira
It is probably as simple as doing a manual "modprobe wctdm". _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Angus Asterisk Sent: Sunday, September 27, 2009 11:18 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Problems with Digium TDM400 card I had a working Asterisk 1.4.24.1 installation on SUSE 9 Linux but SIP only. I then downloaded and installed latest Zaptel and could not get Zaptel working. So I downloaded Asterisk again and re-installed. But still problems: Here is my ztcfg output: asterisk:/etc/asterisk # ztcfg -vvvvv Notice: Configuration file is /etc/zaptel.conf line 4: Unable to read Zaptel version information. Zaptel Version: Unknown Echo Canceller: Unknown Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) Channel 03: FXS Kewlstart (Default) (Slaves: 03) Channel 04: FXS Kewlstart (Default) (Slaves: 04) 4 channels to configure. ZT_CHANCONFIG failed on channel 1: Inappropriate ioctl for device (25) My zaptel.conf file is in /etc/ fxsks=1-4 loadzone=uk defaultzone=uk I know config above is correct because used to work in an older Asterisk 1.2 installation. My zapata.conf file is in /etc/asterisk/ has this setting: signalling=fxs_ks What should I be looking at? Works ok for SIP but I want to get the analog card working. It is a TDM04B. Angus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090928/6d4c22c8/attachment-0001.htm