[Asterisk-Users] Fedora Core 4 not recognizing X100P cards

Innocent Evil innocent.evil at inbox.com
Tue Sep 13 19:24:19 MST 2005


Well, as I told earlier.. my asterisk was running great with one fxo and one
fxs module of a TDM400P
All i tried last night to run asterisk with non-root
I must did something wrong while I was trying to do that

FXO module on channel # 1
FXS module on channel # 4

/etc/zaptel.conf
---------------------
loadzone = us
defaultzone=us
fxoks=1
fxsks=4

/etc/asterisk/zapata.conf
--------------------------------
signalling=fxo_ks
channel=1
signalling=fxs_ks
channel=4

Did I made any mistake above?

/etc/modprobe.conf
-------------------------
install wcfxo /sbin/modprobe --ignore-install wcfxo && /sbin/ztcfg
install wctdm /sbin/modprobe --ignore-install wctdm && /sbin/ztcfg
# there have more line in it.. i guess they are not important here
alias wcfxs wctdm

/etc/rc.d/init.d/asterisk
-----------------------------
#important lines are below
  start)
        /sbin/modprobe wctdm
        daemon /usr/sbin/asterisk

  stop)
        killproc asterisk
        /sbin/modprobe -r wctdm

Here is the output of asterisk -vvvc
Sep 13 22:18:11 WARNING[3982]: chan_zap.c:887 zt_open: Unable to specify
channel 1: No such device
Sep 13 22:18:11 ERROR[3982]: chan_zap.c:6612 mkintf: Unable to open channel
1: No such device
here = 0, tmp->channel = 1, channel = 1
Sep 13 22:18:11 ERROR[3982]: chan_zap.c:9990 setup_zap: Unable to register
channel '1'
Sep 13 22:18:11 WARNING[3982]: loader.c:403 __load_resource: chan_zap.so:
load_module failed, returning -1
Sep 13 22:18:11 WARNING[3982]: loader.c:543 load_modules: Loading module
chan_zap.so failed!

see I have channel # 1
[root at asterisk ~]# ls -l /dev/zap/
total 0
crw-rw----  1 root asterisk 196,   1 Sep 13 22:20 1
crw-rw----  1 root asterisk 196,   2 Sep 13 22:20 2
crw-rw----  1 root asterisk 196,   3 Sep 13 22:20 3
crw-rw----  1 root asterisk 196,   4 Sep 13 22:20 4
crw-rw----  1 root asterisk 196, 254 Sep 13 22:20 channel
crw-rw----  1 root asterisk 196,   0 Sep 13 22:20 ctl
crw-rw----  1 root asterisk 196, 255 Sep 13 22:20 pseudo
crw-rw----  1 root asterisk 196, 253 Sep 13 22:20 timer


After all of this, if I comment out this from /etc/asterisk/zapata.conf
/etc/asterisk/zapata.conf
--------------------------------
;signalling=fxo_ks
;channel=1
signalling=fxs_ks
channel=4

My asterisk run fine .. I just dont able to use my phone set attaced to my
fxs module.
And all I had to do is .. forward all incoming call to my voicemail box !!

Should I consider my fxs card has burnt out !!


Thanks for reading.. hope someone will reply me to help.

Thanks again,


> -----Original Message-----
> From: ytlim23 at yahoo.com.au
> Sent: Wed, 14 Sep 2005 09:37:00 +1000 (EST)
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] Fedora Core 4 not recognizing X100P cards
>
> We had our share of problems with the Fritz Card on
> FC4. Everything was OK except the speech was one-way
> in the outgoing direction. We spent days on it and
> couldn't find a solution to it. We discovered that the
> device nodes were not created correctly by udev.
> Enough was enough, we switched to SuSE 9.2 and within
> a day everything worked beautifully without much
> effort. I think FC4 has some serious problems with
> udev (some even claimed that it's not stable release)
> and I have never seen anyone successfully ran Asterisk
> on it.
>
> If you have a choice, switch to SuSE or other Linux
> distribution such as Debian.
>
> /Y.T.
>
>
> --- Innocent Evil <innocent.evil at inbox.com> wrote:
>
> > My TDM400 on fc4 was working great..
> > all of sudden ..i am having the same issue ..you
> > guys are having
> > all i tried to run asterisk as non-root user.. and I
> > was able to run it as
> > non-root
> > and was able to receive and send call using
> > asterisk..
> >
> > I am not sure.. what thing I did wrong and coz all
> > the trouble..
> >
> > Thanks
> >
> >
> > > -----Original Message-----
> > > From: alex at linux.org.pe
> > > Sent: Tue, 13 Sep 2005 15:09:52 -0500
> > > To: asterisk-users at lists.digium.com
> > > Subject: Re: [Asterisk-Users] Fedora Core 4 not
> > recognizing X100P cards
> > >
> > >
> > > I have the same problem.
> > >
> > > I've been having a bit of trouble getting the
> > cards to work with
> > > asterisk, and I thought perhaps you might know
> > what I might be doing
> > > wrong. I installed them in a linux box, and when I
> > check to see if the
> > > OS has recognized them it looks fine:
> > >
> > > They show up as HSP56 MicroModem (rev 04)
> > >
> > > [root at asterisk2][~> lspci
> > > 00:00.0 Host bridge: Intel Corporation 82850 850
> > (Tehama) Chipset Host
> > > Bridge
> > > (MCH) (rev 04)
> > > 00:01.0 PCI bridge: Intel Corporation 82850 850
> > (Tehama) Chipset AGP
> > > Bridge (rev
> > > 04)
> > > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI
> > Bridge (rev 04)
> > > 00:1f.0 ISA bridge: Intel Corporation 82801BA ISA
> > Bridge (LPC) (rev 04)
> > > 00:1f.1 IDE interface: Intel Corporation 82801BA
> > IDE U100 (rev 04)
> > > 00:1f.2 USB Controller: Intel Corporation
> > 82801BA/BAM USB (Hub #1) (rev
> > > 04)
> > > 00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus
> > (rev 04)
> > > 00:1f.5 Multimedia audio controller: Intel
> > Corporation 82801BA/BAM AC'97
> > > Audio
> > > (rev 04)
> > > 01:00.0 VGA compatible controller: nVidia
> > Corporation NV18 [GeForce4 MX
> > > 4000 AGP
> > > 8x] (rev c1)
> > > 02:01.0 USB Controller: NEC Corporation USB (rev
> > 41)
> > > 02:01.1 USB Controller: NEC Corporation USB (rev
> > 41)
> > > 02:01.2 USB Controller: NEC Corporation USB 2.0
> > (rev 02)
> > > 02:09.0 Modem: PCTel Inc HSP56 MicroModem (rev 04)
> > > 02:0a.0 Modem: PCTel Inc: Unknown device 2181 (rev
> > 04)
> > > 02:0b.0 Modem: PCTel Inc HSP56 MicroModem (rev 04)
> > > 02:0c.0 Ethernet controller: 3Com Corporation
> > 3c905C-TX/TX-M [Tornado]
> > > (rev 78)
> > > 02:0d.0 Modem: PCTel Inc HSP56 MicroModem (rev 04)
> > >
> > >
> > > But when I try to start the wcfxo module it
> > doesn't work:
> > >
> > > [root at asterisk2][~> modprobe wcfxo
> > > Notice: Configuration file is /etc/zaptel.conf
> > > line 146: Unable to open master device
> > '/dev/zap/ctl'
> > >
> > >
> > > And the linux kernel doesn't quite recognize them:
> > >
> > > Sep  6 18:58:45 asterisk2 kernel: zaptel: no
> > version for
> > > "struct_module" found: kernel tainted.
> > > Sep  6 18:58:45 asterisk2 kernel: Zapata Telephony
> > Interface Registered
> > > on major 196
> > >
> > >
> > > When I try to configure the ztcfg it doesn't find
> > anything on channel 1:
> > >
> > >
> > > [root at asterisk2][~> /sbin/ztcfg -vvv
> > >
> > > Zaptel 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 configured.
> > >
> > > ZT_CHANCONFIG failed on channel 1: No such device
> > or address (6)
> > >
> > >
> > > And Asterisk can't get them working:
> > >
> > >   [chan_zap.so] => (Zapata Telephony)
> > >    == Parsing '/etc/asterisk/zapata.conf': Found
> > > Sep  6 19:01:34 WARNING[2549]: chan_zap.c:778
> > zt_open: Unable to
> > > specify channel
> > > 1: No such device or address
> > > Sep  6 19:01:34 ERROR[2549]: chan_zap.c:6239
> > mkintf: Unable to open
> > > channel 1:
> > > No such device or address
> > > here = 0, tmp->channel = 1, channel = 1
> > > Sep  6 19:01:34 ERROR[2549]: chan_zap.c:9191
> > setup_zap: Unable to
> > > register
> > > channel '1-4'
> > > Sep  6 19:01:34 WARNING[2549]: loader.c:345
> > ast_load_resource:
> > > chan_zap.so:
> > > load_module failed, returning -1
> > >    == Unregistered channel type 'Tor'
> > >    == Unregistered channel type 'Zap'
> > > Sep  6 19:01:34 WARNING[2549]: loader.c:440
> > load_modules: Loading module
> > > chan_zap.so failed!
> > >
> > >
> > > I've tried most of the pci cards and they all give
> > the same result.
> > > When using a different type of card in that same
> > PC i don't get those
> > > errors. I thought perhaps there is some software
> > upgrade necessary for
> > > them to work, or something along those lines? Any
> > help you could mention
> > > would be very appreciated. Thanks
> > >
> > >
> > > --
> > > Ing CIP Alejandro Celi Mariátegui
> > > <alex at linux.org.pe>
> > >
> > >
> > > El mar, 13-09-2005 a las 15:01, Mojo with Horan &
> > Company, LLC escribió:
> > > > hisax seems to be a loadable module for an ISDN
> > card.  if:
> > > >
> > > > # lsmod | grep hisax
> > > >
> > > > prints any output, try
> > > >
> > > > # rmmod hisax; modprobe zaptel
> > > >
> > > > ?
> > > >
> > > > hth
> > > > Mojo
> > > >
> > > > Shawn Porter wrote:
> > > > > I am getting quite frustrated today, so please
> > bear with me.
> > > > >
> > > > > I just installed Fedora Core 4 (was running
> > RedHat 9 with a  working
> > > > > Asterisk)
> > > > >
> > > > > now my Fedora does not appear to be
> > recognizing my X100P (clone) at
> > > all.
> > > > >
> > > > >
> > > > >
> > > > > Hardware browser just shows them as unknown
> > device.  driver: hisax
> > > > >
> > > > > So, of course, my zaptel drivers do not work
> > and therefore my
> > > asterisk
> > > > > does not work.
> >
> === message truncated ===
>
>
> Send instant messages to your online friends
> http://au.messenger.yahoo.com
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


More information about the asterisk-users mailing list