Re: [Asterisk-Users] Problem getting two x200p cards working on 1.2.4
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- > > SERR- > 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- > > SERR- > 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 :02:01.0[A] -> GSI 22 (level, low) -> IRQ 201 > > Failed to initailize DAA, giving up... > > wcfxo: probe of :02:01.0 failed with error -5 > > ACPI: PCI i
Re: [Asterisk-Users] Problem getting two x200p cards working on 1.2.4
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: [EMAIL PROTECTED] ~]# 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 :02:01.0[A] -> GSI 22 (level, low) -> IRQ 201 Failed to initailize DAA, giving up... wcfxo: probe of :02:01.0 failed with error -5 ACPI: PCI interrupt :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 pseudofrom-pstn en 1from-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- > > SERR- > 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- > > SERR- > 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 pres
Re: [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- SERR- TAbort- SERR- GSI 22 (level, low) -> IRQ 201 Failed to initailize DAA, giving up... wcfxo: probe of :02:01.0 failed with error -5 ACPI: PCI interrupt :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 <[EMAIL PROTECTED]> Office Manger, Horan & Company, LLC (907) 747- x112 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [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- SERR- TAbort- SERR- GSI 22 (level, low) -> IRQ 201 Failed to initailize DAA, giving up... wcfxo: probe of :02:01.0 failed with error -5 ACPI: PCI interrupt :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 <[EMAIL PROTECTED]> Office Manger, Horan & Company, LLC (907) 747- x112 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users