Ich habe ein Problem mit dem Betrieb der CAPI Anwendung 'TK-Suite' http://www.agfeo.de/agfeo_web/hp3.nsf/0 ... ux-x86.tgz von AGFEO.
Beim Starten des Servers 'tksuitectl' kommt der Fehler:
Code: Alles auswählen
/etc/init.d/tksuitectl start: tksock started
libcapi20.so.2: wrong ELF class: ELFCLASS64
System: Linux version 3.2.0-1-amd64 (Debian 3.2.6-1) (ben@decadent.org.uk) (gcc version 4.6.2 (Debian 4.6.2-14) )
Das Programm bietet ein Web-Interface zur Konfiguration einer TK-Anlage. Der Server soll mit der TK-Anlage über ISDN kommunizieren.
Das Web-Interface läuft, beim Versuch eines Verbindungsaufbaus meldet der Server jedoch, das das Gerät (ISDN-Karte / Capi) nicht bereit sei.
Zunächst trat der Fehler auf, dass die libcapi20.so.2 nicht installiert sei. Dies habe ich mit
Code: Alles auswählen
ln -s /usr/lib/libcapi20.so.3 /usr/lib/libcapi20.so.2
Die Capi an sich scheint zu laufen:
Code: Alles auswählen
root@pc01:/home/christian/tksuite# capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07 (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem
0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000
Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
Code: Alles auswählen
root@pc01:/home/christian/tksuite# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
loop
capidrv
capi
capi20
Code: Alles auswählen
root@pc01:/home/christian/tksuite# lsmod | egrep "fcpci|capi"
capi 18255 0
fcpci 621499 0
kernelcapi 35862 2 capi,fcpci
Viele Grüße
Christian