Guillermo Salas M
2006-Mar-06 14:25 UTC
[Asterisk-Users] Problem getting two x200p cards working on 1.2.4
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@sip.manta.telconet.net e-mail: gsalas@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
Mojo with Horan & Company, LLC
2006-Mar-06 16:11 UTC
[Asterisk-Users] Problem getting two x200p cards working on 1.2.4
in zaptel.conf, you have fxsks=1 -- this only allocates the first card. try fxsks=1-2 instead. 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? >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Mojo with Horan & Company, LLC
2006-Mar-06 16:13 UTC
[Asterisk-Users] Problem getting two x200p cards working on 1.2.4
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. 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? >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112