[Asterisk-Users] CAPI call fails
Andreas Meyer
anmeyer at gmx.net
Thu Mar 31 06:06:58 MST 2005
Hi!
David Woodhouse <dwmw2 at infradead.org> wrote:
> On Thu, 2005-03-31 at 10:01 +0200, Andreas Meyer wrote:
> > REASON=0x3302
>
> This means "Protocol error layer 2". Are you able to make outgoing calls
> any other way using this card? Do you see anything relevant in 'dmesg'
> when you make outgoing calls, or when incoming calls occur?
>
> You don't need to configure modems.conf to use CAPI, btw.
ah, thanks!
I have this output after the machine rebooted:
...
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
I don't know where to start. Dialing out gives no messages in the logfile.
Dialing in on this number gives busy on the phone (analog- or ISDN-phone)
and no messages in the logfile.
If I could get another ISDN-card running with CAPI and SuSE I would try
another card, but the B1 ist the only one I got. I can't get a FritzClassic
to work with CAPI on this SuSE-Server.
I also tried sending out a SMS with yaps using the B1. I get:
delta:/var/log # yaps 01757052847 hi
Found service D1 for 01757052847
Sending following message:
01757052847 (D1, 01757052847): hi (sent by A.Meyer!)
Trying to open /dev/ttyI0 for modem standard
[Hangup]
[Send] <cr>
[Cmd Mdzz 200]
[Send] ATZ<cr>
[Expect] <cr>ATZ<cr><cr><lf>OK got OK
[Send] AT&E144674<cr>
[Expect] <cr><lf>AT&E144674<cr><cr><lf>OK got OK
Using modem standard at 38400 bps, 8n1 over /dev/ttyI0
Trying do dial 01712521001
[Send] ATD01712521001<cr>
[Expect] <cr><lf>ATD01712521001<cr><cr><lf>BUSY got BUSY
Unable to dial D1
Thank you!
--
Andreas Meyer
More information about the asterisk-users
mailing list