[Asterisk-Users] Problem getting two x200p cards working on 1.2.4

Guillermo Salas M gsalas at manta.telconet.net
Mon Mar 6 16:17:50 MST 2006


On Mon, 2006-03-06 at 14:11 -0900, Mojo with Horan & Company, LLC wrote:
> in zaptel.conf, you have fxsks=1 -- this only allocates the first card. 
>   try fxsks=1-2 instead.
> 
> 


Done, but still with problems:

[root at mail ~]# ztcfg -vvv

Zaptel Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)

2 channels configured.

Changing signalling on channel 2 from Clear channel to FXS Kewlstart
ZT_CHANCONFIG failed on channel 2: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?

dmesg is showing and error with one of the cards, some realted with DAA:

Freed a Wildcard
Unregistered Tormenta2
Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version:  Echo Canceller: KB1
Registered Tormenta2 PCI
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)
Registered tone zone 0 (United States / North America)

And asterisk cli is only showing one card:

mail*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            from-pstn       en
      1            from-pstn       en
mail*CLI>




> 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