Hallo! Vielleicht hat jemand einen Tip für mich bzgl. meines AVM-Controllers. Ich versuche via Asterisk eine Verbindung über CAPI nach außen aufzubauen, erhalte aber immer einen Protokoll 2 error - REASON=0x3302. Angesprochen wird die Karte von Asterisk via /dev/ttyI0 und /dev/ttyI1. Ich bin mir nun nicht sicher, ob ich da vergessen habe, etwas zu konfigurieren oder ob die Karte oder das Kabel defekt sind. Ich habe ein paar logauszüge eingefügt. delta*CLI> -- Executing Dial("SIP/andreas-1b5a", "CAPI/@144673:01757052847") in new stack -- data = @144673:01757052847 -- capi request omsn = @144673 == found capi with omsn = 144673 == CAPI Call CAPI[contr1/144673]/0 -- creating pipe for PLCI=-1 -- Called @144673:01757052847 -- CONNECT_CONF ID=002 #0x0004 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- CONNECT_CONF ID=002 #0x0004 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 == received CONNECT_CONF PLCI = 0x101 INFO = 0 -- DISCONNECT_IND ID=002 #0x0013 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3302 == DISCONNECT_IND PLCI=0x101 REASON=0x3302 -- CAPI Hangingup -- removed pipe for PLCI = 0x101 == No one is available to answer at this time -- Timeout on SIP/andreas-1b5a == CDR updated on SIP/andreas-1b5a -- Executing Hangup("SIP/andreas-1b5a", "") in new stack == Spawn extension (ausgehend, t, 1) exited non-zero on 'SIP/andreas-1b5a' Ein Ausschnit aus dmesg: ... Adding Swap: 511992k swap-space (priority 42) CAPI-driver Rev 1.1.4.1: loaded capifs: Rev 1.1.4.1 capi20: started up with major 68 kcapi: capi20 attached capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs) CSLIP: code copyright 1989 Regents of the University of California ISDN subsystem Rev: 1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded kcapi: capidrv attached kcapi: appl 1 up capidrv: Rev 1.1.4.1: loaded b1: revision 1.1.4.1 b1isa: revision 1.1.4.1 kcapi: driver b1isa attached kcapi: Controller 1: b1isa-340 attached b1isa: AVM B1 ISA at i/o 0x340, irq 7, revision 255 b1isa-340: card 1 "B1" ready. b1isa-340: card 1 Protocol: DSS1 b1isa-340: card 1 Linetype: point to multipoint b1isa-340: B1-card (3.11-03) now active kcapi: card 1 "b1isa-340" ready. kcapi: notify up contr 1 capidrv: controller 1 up capidrv-1: now up (2 B channels) capidrv-1: D2 trace enabled capi: controller 1 up via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker http://www.scyld.com/network/via-rhine.html PCI: Found IRQ 11 for device 00:11.0 PCI: Sharing IRQ 11 with 00:07.2 eth0: VIA VT6102 Rhine-II at 0xec00, 00:05:5d:a3:56:90, IRQ 11. eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 0021. ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker http://www.scyld.com/network/ne2k-pci.html PCI: Found IRQ 12 for device 00:0f.0 eth1: RealTek RTL-8029 found at 0xe400, IRQ 12, 00:00:B4:9C:51:15. usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 13:14:03 Feb 15 2005 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 11 for device 00:07.2 PCI: Sharing IRQ 11 with 00:11.0 usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver eth0: Promiscuous mode enabled. device eth0 entered promiscuous mode eth0: no IPv6 routers present eth1: no IPv6 routers present eth0: Promiscuous mode enabled. kcapi: appl 2 up kcapi: appl 2 releasing(1) kcapi: appl 2 down kcapi: appl 2 up capidrv-1: DISCONNECT_IND reason 0x3301 (Protocol error layer 1 (broken line or B-channel removed by signalling protocol)) for plci 0x101 capidrv-1: DISCONNECT_IND reason 0x3302 (Protocol error layer 2) for plci 0x101 capidrv-1: DISCONNECT_IND reason 0x3302 (Protocol error layer 2) for plci 0x101 kcapi: appl 2 releasing(1) kcapi: appl 2 down kcapi: appl 2 up Die Karte ist eine AVM-B1ISA Version 2.0. Ich habe auch schon die neueste Firmware probiert. Die capi.conf sieht so aus: # card file proto io irq mem cardnr options b1isa b1.t4 DSS1 0x340 7 - 1 Das ganze mit eine SuSE8.2 und selfrolled Kernel: Linux delta 2.4.29 #1 Tue Feb 15 11:53:57 CET 2005 i686 unknown delta:/etc # cat /proc/interrupts CPU0 0: 42949089 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 2664590 XT-PIC serial 4: 54399 XT-PIC serial 5: 1060479 XT-PIC tmscsim 7: 50271 XT-PIC b1isa-340 8: 2 XT-PIC rtc 11: 494288 XT-PIC eth0, usb-uhci 12: 597643 XT-PIC eth1 14: 391842 XT-PIC ide0 15: 963894 XT-PIC ide1 NMI: 0 ERR: 0 delta:/etc # lsmod Module Size Used by Not tainted af_packet 11816 2 (autoclean) ipv6 146496 -1 (autoclean) joydev 6048 0 (unused) evdev 3936 0 (unused) input 3104 0 [joydev evdev] st 26672 0 (autoclean) (unused) sg 24036 0 (autoclean) usb-uhci 21124 0 (unused) usbcore 55968 1 [usb-uhci] ne2k-pci 4576 1 8390 5984 0 [ne2k-pci] via-rhine 11752 1 mii 2320 0 [via-rhine] crc32 2816 0 [8390 via-rhine] b1isa 3524 1 b1 17120 0 [b1isa] capidrv 24672 1 isdn 120288 0 [capidrv] slhc 4544 0 [isdn] capi 16960 4 capifs 3552 0 [capi] kernelcapi 29920 5 [b1isa capidrv capi] capiutil 22400 0 [capidrv kernelcapi] vfat 9276 0 (autoclean) fat 29816 0 (autoclean) [vfat] tmscsim 29600 2 ext3 62176 6 jbd 44116 6 [ext3] delta:/etc # cat /proc/capi/controllers/1 name b1isa-340 io 0x340 irq 7 type B1 ISA ver_driver 3.11-03 ver_cardtype B1 ver_serial 02081722 protocol DSS1 linetype point to multipoint cardname B1 Auf der Asteriskliste konnte mir keiner so recht helfen. Vielleicht hat hier jemand einen Tip? Danke! -- Andreas Meyer
On Mon, Apr 04, 2005 at 11:09:28PM +0200, Andreas Meyer wrote:
Hallo!
Vielleicht hat jemand einen Tip für mich bzgl. meines AVM-Controllers.
Ich versuche via Asterisk eine Verbindung über CAPI nach außen aufzubauen, erhalte aber immer einen Protokoll 2 error - REASON=0x3302.
Hmm, koennte es sich um einen Anlagenanschluss handeln (PointToPoint ?), das ist das einzigste was mir zu L2 einfaellt.
Angesprochen wird die Karte von Asterisk via /dev/ttyI0 und /dev/ttyI1. Ich bin mir nun nicht sicher, ob ich da vergessen habe, etwas zu konfigurieren oder ob die Karte oder das Kabel defekt sind.
Nicht ausgeschlossen, das ein Defekt vorliegt, aber auch nicht sehr wahrscheinlich bei L2 Fehler.
Ich habe ein paar logauszüge eingefügt.
delta*CLI> -- Executing Dial("SIP/andreas-1b5a", "CAPI/@144673:01757052847") in new stack -- data = @144673:01757052847 -- capi request omsn = @144673 == found capi with omsn = 144673 == CAPI Call CAPI[contr1/144673]/0 -- creating pipe for PLCI=-1 -- Called @144673:01757052847 -- CONNECT_CONF ID=002 #0x0004 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0
-- CONNECT_CONF ID=002 #0x0004 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0
== received CONNECT_CONF PLCI = 0x101 INFO = 0 -- DISCONNECT_IND ID=002 #0x0013 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3302
== DISCONNECT_IND PLCI=0x101 REASON=0x3302 -- CAPI Hangingup -- removed pipe for PLCI = 0x101 == No one is available to answer at this time -- Timeout on SIP/andreas-1b5a == CDR updated on SIP/andreas-1b5a -- Executing Hangup("SIP/andreas-1b5a", "") in new stack == Spawn extension (ausgehend, t, 1) exited non-zero on 'SIP/andreas-1b5a'
Ein Ausschnit aus dmesg: ... Adding Swap: 511992k swap-space (priority 42) CAPI-driver Rev 1.1.4.1: loaded capifs: Rev 1.1.4.1 capi20: started up with major 68 kcapi: capi20 attached capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs) CSLIP: code copyright 1989 Regents of the University of California ISDN subsystem Rev: 1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded kcapi: capidrv attached kcapi: appl 1 up capidrv: Rev 1.1.4.1: loaded b1: revision 1.1.4.1 b1isa: revision 1.1.4.1 kcapi: driver b1isa attached kcapi: Controller 1: b1isa-340 attached b1isa: AVM B1 ISA at i/o 0x340, irq 7, revision 255 b1isa-340: card 1 "B1" ready. b1isa-340: card 1 Protocol: DSS1 b1isa-340: card 1 Linetype: point to multipoint b1isa-340: B1-card (3.11-03) now active kcapi: card 1 "b1isa-340" ready. kcapi: notify up contr 1 capidrv: controller 1 up capidrv-1: now up (2 B channels) capidrv-1: D2 trace enabled capi: controller 1 up via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker http://www.scyld.com/network/via-rhine.html PCI: Found IRQ 11 for device 00:11.0 PCI: Sharing IRQ 11 with 00:07.2 eth0: VIA VT6102 Rhine-II at 0xec00, 00:05:5d:a3:56:90, IRQ 11. eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 0021. ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker http://www.scyld.com/network/ne2k-pci.html PCI: Found IRQ 12 for device 00:0f.0 eth1: RealTek RTL-8029 found at 0xe400, IRQ 12, 00:00:B4:9C:51:15. usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 13:14:03 Feb 15 2005 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 11 for device 00:07.2 PCI: Sharing IRQ 11 with 00:11.0 usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver eth0: Promiscuous mode enabled. device eth0 entered promiscuous mode eth0: no IPv6 routers present eth1: no IPv6 routers present eth0: Promiscuous mode enabled. kcapi: appl 2 up kcapi: appl 2 releasing(1) kcapi: appl 2 down kcapi: appl 2 up capidrv-1: DISCONNECT_IND reason 0x3301 (Protocol error layer 1 (broken line or B-channel removed by signalling protocol)) for plci 0x101
OK, das ist ein L1 Fehler, das ist eher ein Hinweis auf einen Defekt (Kabel).
capidrv-1: DISCONNECT_IND reason 0x3302 (Protocol error layer 2) for plci 0x101 capidrv-1: DISCONNECT_IND reason 0x3302 (Protocol error layer 2) for plci 0x101 kcapi: appl 2 releasing(1) kcapi: appl 2 down kcapi: appl 2 up
Die Karte ist eine AVM-B1ISA Version 2.0. Ich habe auch schon die neueste Firmware probiert. Die capi.conf sieht so aus: # card file proto io irq mem cardnr options b1isa b1.t4 DSS1 0x340 7 - 1
Das ganze mit eine SuSE8.2 und selfrolled Kernel: Linux delta 2.4.29 #1 Tue Feb 15 11:53:57 CET 2005 i686 unknown
delta:/etc # cat /proc/interrupts CPU0 0: 42949089 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 2664590 XT-PIC serial 4: 54399 XT-PIC serial 5: 1060479 XT-PIC tmscsim 7: 50271 XT-PIC b1isa-340
Sieht erstmal gut aus. ...
delta:/etc # cat /proc/capi/controllers/1 name b1isa-340 io 0x340 irq 7 type B1 ISA ver_driver 3.11-03 ver_cardtype B1 ver_serial 02081722 protocol DSS1 linetype point to multipoint cardname B1
Auf der Asteriskliste konnte mir keiner so recht helfen. Vielleicht hat hier jemand einen Tip?
Es gibt noch eine Liste von AVM zu den aktiven Karten. -- Karsten Keil SuSE Labs ISDN development
participants (2)
-
Andreas Meyer
-
Karsten Keil