[Asterisk-Users] Problem getting two x200p cards working on 1.2.4
Guillermo Salas M
gsalas at manta.telconet.net
Mon Mar 6 16:24:35 MST 2006
On Mon, 2006-03-06 at 14:13 -0900, Mojo with Horan & Company, LLC wrote:
> forgot to add this -- after the change in zaptel.conf, you would want to
> put a "channel => 2" in zapata.conf right after the "channel => 1" at
> the bottom.
>
> Now asterisk can actually see it.
>
Done, but still having the error:
Mar 6 18:21:48 VERBOSE[7394] logger.c: -- Registered channel 1, FXS
Kewlstart signalling
Mar 6 18:21:48 WARNING[7394] chan_zap.c: Unable to specify channel 2:
Device or resource busy
Mar 6 18:21:48 ERROR[7394] chan_zap.c: Unable to open channel 2: Device
or resource busy
here = 0, tmp->channel = 2, channel = 2
Mar 6 18:21:48 ERROR[7394] chan_zap.c: Unable to register channel '2'
Mar 6 18:21:48 WARNING[7394] loader.c: chan_zap.so: load_module failed,
returning -1
Mar 6 18:21:48 VERBOSE[7394] logger.c: -- Unregistered channel 1
Mar 6 18:21:48 WARNING[7394] loader.c: Loading module chan_zap.so
failed!
It's like the card is not being recognized or something like it, but the
cards are the same and was working at another computer without troubles.
> Guillermo Salas M wrote:
> > Hi, I using asterisk 1.2.4 on a CentOS with Linux 2.6.9-22.0.2.ELsmp
> > kernel.
> >
> > I've two x100p cards connected, only one card is reconigzed by asterisk.
> >
> > 02:01.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
> > Modem/ISDN interface
> > 02:02.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip
> > compatible 10/100 Ethernet (rev 31)
> > 02:03.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
> > Modem/ISDN interface
> >
> > This is the cli output for zap show channels :
> >
> > My /etc/zaptel.conf :
> >
> > # Zaptel Configuration File
> > #
> > # This file is parsed by the Zaptel Configurator, ztcfg
> > #
> >
> > # It must be in the module loading order
> >
> >
> > # Span 1: WCFXO/1 "Generic Clone Board 2"
> > fxsks=1
> >
> > # Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"
> >
> > # Global data
> >
> > loadzone = us
> > defaultzone = us
> >
> >
> > My /etc/asterisk/zapata-auto.conf
> >
> > ; Zaptel Channels Configurations (zapata.conf)
> > ;
> > ; This is not intended to be a complete zapata.conf. Rather, it is
> > intended
> > ; to be #include-d by /etc/zapata.conf that will include the global
> > settings
> > ;
> > callerid=asreceived
> >
> > ; Span 1: WCFXO/1 "Generic Clone Board 2"
> > signalling=fxs_ks
> > ; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
> > context=from-pstn
> > group=0
> > channel => 1
> >
> >
> > ; Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"
> >
> >
> > This is the corresponding 'lspci -vv -n' for my two cards:
> >
> > 02:01.0 Class 0780: e159:0001
> > Subsystem: 8086:0003
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR+ FastB2B-
> > Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR-
> > Latency: 32 (250ns min, 32000ns max)
> > Interrupt: pin A routed to IRQ 201
> > Region 0: I/O ports at b800 [size=256]
> > Region 1: Memory at feaff000 (32-bit, non-prefetchable)
> > [size=4K]
> > Capabilities: [40] Power Management version 2
> > Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA PME(D0
> > +,D1-,D2+,D3hot+,D3cold+)
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >
> >
> > 02:03.0 Class 0780: e159:0001
> > Subsystem: 8086:0003
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR+ FastB2B-
> > Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR-
> > Latency: 32 (250ns min, 32000ns max)
> > Interrupt: pin A routed to IRQ 177
> > Region 0: I/O ports at b000 [size=256]
> > Region 1: Memory at feafd000 (32-bit, non-prefetchable)
> > [size=4K]
> > Capabilities: [40] Power Management version 2
> > Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA PME(D0
> > +,D1-,D2+,D3hot+,D3cold+)
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >
> >
> >
> > And dmesg shows:
> >
> > NET: Registered protocol family 10
> > Disabled Privacy Extensions on device c0340020(lo)
> > IPv6 over IPv4 tunneling driver
> > divert: not allocating divert_blk for non-ethernet device sit0
> > eth0: no IPv6 routers present
> > Freed a Wildcard
> > Unregistered Tormenta2
> > Zapata Telephony Interface Unloaded
> > Zapata Telephony Interface Registered on major 196
> > Zaptel Version: Echo Canceller: KB1
> > Registered Tormenta2 PCI
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> > ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 22 (level, low) -> IRQ 201
> > Failed to initailize DAA, giving up...
> > wcfxo: probe of 0000:02:01.0 failed with error -5
> > ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 19 (level, low) -> IRQ 177
> > wcfxo: DAA mode is 'FCC'
> > Found a Wildcard FXO: Generic Clone
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> > Registered tone zone 0 (United States / North America)
> >
> >
> > Any ideas?
> >
>
--
Guillermo Salas M.
Telconet S.A. Manta
Calle 15 y Av. 24 Esq.
Phone : 593 5 262 8071
Mobile: 593 9 985 5138
SIP : 105 at sip.manta.telconet.net
e-mail: gsalas at manta.telconet.net
www : http://www.telconet.net
http://www.telcocarrier.net
Linux User: 255902
Soporte en Linea en http://www.manta.telconet.net
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
More information about the asterisk-users
mailing list