Lösung: Remote-CAPI für Linux und Windows-Clients

Anscheinend fehlt libcapi20.so.3
Aber laut Deiner Anzeige sollte libcapi20.so.3 in /usr/lib als Link auf /usr/lib/libcapi20.so.3.0.3 existieren.
 
libcapi20.tgz

Meine lokale Kopie.

Casual

P.S. Akuellere Version scheint hier zu liegen. Google sei Dank!!
 

Anhänge

  • libcapi20.tgz
    319.4 KB · Aufrufe: 132
Zuletzt bearbeitet:
Hi

gibt es rcapid vieleicht auch für Windows?

Mein Problem:
Unter Windows ist die PCI Fritzcard installiert und in einer VMware Maschine mit Linux will ich die remote capi nutzen. Ich finde aber keinen passenden Remote Capi Server für Windows, welcher mit dem hier beschriebenen Linux Client läuft.

capiinfo auf der Linux VM gibt folgendes aus:

Number of Controllers : 0
Code:
could not register - OS Resource error (no memory ?) (0x1108)


Als Server habe ich hier ShareISDN getestet. Habe aber auch schon andere getestet. Nur bei allen anderen hat capiinfo garnichts ausgegeben.


Ich hoffe ihr könnt mir helfen.

mfg

splizzer
 
Hallo, läuft das alles auch irgendwie unter OS X (10.4.11)? Danke!
 
moin

erstmal danke an alle hier für diese Lösung und speziell an die die sich die Mühe machten das für neue Box versionen zu compilieren und zur Verfügung zu stellen.

Es läuft bei mir nun auf einer Fritz!Box 7050 soweit ganz gut.
Capiinfo unter Linux (Debian Etch) liefert auch brav infos:

Code:
lancapitest:~# capiinfo
Number of Controllers : 5
Controller 1:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00  (808333856.1377840928)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x8000000b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0100
  0200
  39000000
  0b000080
  03000000
  01000000
  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

Controller 2:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00  (808333856.1377840928)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x8000000b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0100
  0200
  39000000
  0b000080
  03000000
  01000000
  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

Controller 3:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00  (808333856.1377840928)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x8000000b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0100
  0200
  39000000
  0b000080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 20020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 4:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00  (808333856.1377840928)
Serial Number: 0004711
BChannels: 1
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x8000000b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0100
  0100
  39000000
  0b000080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 40020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 5:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00  (808333856.1377840928)
Serial Number: 0004711
BChannels: 3
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x8000000b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0100
  0300
  39000000
  0b000080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 80020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS
Edit frank_m24: Was soll denn der Unsinn? Verpackt solche ewig langen Logs bitte in CODE Tags!

Was mich jetzt nur etwas "nervt":

wenn man die Fritz!Box neu startet dann ist alles wieder weg und man muss erstmal telnetd wieder starten und rcapid wieder raufkopieren :/
Dagegen hilft wohl nur ne eigene Firmware zu backen...
Ausserdem hatte ich Probleme shellscripten mit wget auf die Fritz!Box zu dllen, aber dagegen hilft tar ;)

Aktuell ist das eh nur ne Teststellung da ist das erstmal egal aber wenns wirklich zum Einsatzkommt dann muss wohl ne eigenen Firmware her...

lg
Sebastian
 
Hi.

Schau mal hier.
Leute, die mithelfen wollen sind gern gesehen. Mir fehlt momentan etwas die Zeit dazu, da ich mit anderen Projekten beschäftigt bin - ist aber alles lauffähig. Geht halt nur noch ums Feintuning ;)
 
Zuletzt bearbeitet:
hmm ja mit der angepassten libcapi20 von der Seite kann ich auh ohne rcapi zugreifen allerdings immernur genau einmal danch verweigert mir die Fritz!Box die Verbindung.

Ich habe jetzt mal versucht den rcapi per debug.cnf reinzuzwingen indem er in der debug.cfg per wget geholt und entpackt und dann gestartet wird.
Reboote ich jetzt die Box versucht er zwar den wget auszuführen produziert aber nur eine leere Datei. NAch dem Bootup auf der shell per telnet kann ich den gleichen wget aber problemlos ausführen...
die leere Datei kann dann natürlich nicht entpackt werden und rcapid nicht gestartet werden.

debug.cnf:

Code:
/usr/sbin/telnetd -l /sbin/ar7login && cd /var && wget http://<serverip/rcapid/rcapid.tar && tar -xvvf rcapid.tar && ./rcapid_run.sh

Beim booten startet die box auch brav den telnetd und geht nach /var und startet wohl den wget, allerdings lädt der wohl nichts runter?

*grübel*

lg
Sebastian
 
Zuletzt bearbeitet:
Hi.

Schau mal hier.
Leute, die mithelfen wollen sind gern gesehen. Mir fehlt momentan etwas die Zeit dazu, da ich mit anderen Projekten beschäftigt bin - ist aber alles lauffähig. Geht halt nur noch ums Feintuning ;)

Würde ja gerne mithelfen, aber irgendwie bekomme ich es nach dem Link nicht hin. Mich interessiert dabei in erster Linie der Faxversand, der ja nach dem Wiki funktionieren soll. Oder habe ich das falsch verstanden???
Die Möglichkeiten sind dann ähnlich:
Faxe versenden und empfangen mithilfe eines Soft-DSP
Telefonieren mit Headset
Keine Modifikation an der Box nötig (außer Capi-Over-TCP anzuschalten: #96*3*)
Ich habe mir die modifizierte libcapi20 kompiliert und installiert, die globalen Variablen
export FB_REMOTE_CAPI_IP=192.168.xxx.xxx
export FB_REMOTE_CAPI_PORT=5031
in /etc/profile.local eingetragen.
Hier die Ausgabe von capiinfo (es ist auch eine Fritz-PCI-ISDN-Karte installiert, nach meiner Auffassung Controller 1):
Code:
# capiinfo
Number of Controllers : 6
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
FAC WAIT -  (0x1104)
Controller 2:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
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
REMOTE-CAPI-FB: Unable to send packet!
FAC WAIT -  (0x1104)
Controller 3:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
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
REMOTE-CAPI-FB: Unable to send packet!
FAC WAIT -  (0x1104)
Controller 4:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
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
REMOTE-CAPI-FB: Unable to send packet!

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 5:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
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
REMOTE-CAPI-FB: Unable to send packet!
FAC WAIT -  (0x1104)
Controller 6:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
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
REMOTE-CAPI-FB: Unable to send packet!
FAC WAIT -  (0x1104)
Habe in /etc/config.FaxCAPI die Variable "OutgoingController" auf "2" gesetzt, da ich ja über die NetCapi 'raus will. Hylafax erzeugt mir aber nur ein leeres Logfile, der Job hängt in der Queue fest, obwohl als Modemstatus "Running and idle" angezeigt wird.

Muß ich zwangläufig Upnp aktivieren? Wenn man die AVM-Faxsoftware auf einer M$-Maschine installieren will fragt er nämlich danach. Und ich habe den igdd aus Platzgründen 'rausgeschmissen.

Was hat in der "capiinfo" der Hinweis "REMOTE-CAPI-FB: Unable to send packet!" zu bedeuten?

Was läuft falsch?

Gruß
 
Hallo, kann ich mit Remote-CAPI die Fritzbox 7050 als FAX-Modem in Symnatec Winfax nutzen?
 
Zuletzt bearbeitet:
capt_bluebaer schrieb:
Habe in /etc/config.FaxCAPI die Variable "OutgoingController" auf "2" gesetzt, da ich ja über die NetCapi 'raus will.
Korrekt, da auch 6 Controller zu sehen sind.

capt_bluebaer schrieb:
Muß ich zwangläufig Upnp aktivieren? Wenn man die AVM-Faxsoftware auf einer M$-Maschine installieren will fragt er nämlich danach. Und ich habe den igdd aus Platzgründen 'rausgeschmissen.
Nein, nicht nötig. Dafür gibst du ja die IP und den Port in den Environment Variablen an.

capt_bluebaer schrieb:
Was hat in der "capiinfo" der Hinweis "REMOTE-CAPI-FB: Unable to send packet!" zu bedeuten?

Was läuft falsch?
Gute Frage. Eigentlich bedeutet das, dass das Paket nicht gesendet werden konnte. Jedoch bekommst du die Controller zurückgeliefert. Ctrl. 5 dürfte dabei aber nur 2 B-Kanäle haben. Hast du das Ganze mal mit CapiSpFax auf der Konsole probiert? Hat Hylafax ein integriertes Software-Modem (SDSP)?
 
libcapi-2.0.7 kompiliert nicht unter opensuse 11 64-bit

Hallo Kollegen,

ich habe die libcapi-2.0.7 gedownloadet.

Das Programm "./configure" gab mir folgendes Fehler:

Code:
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

Dies habe ich wie folgt gelöst

Code:
~/<Pfad>/capi20> cp -R /usr/share/libtool/* .

Danach, funktioniert ./configure und erzeugt mir die Makefile Datei.

Jetzt führe ich make und bekomme folgendes Fehler:

Code:
In file included from capifunc.c:8:
capi20.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’
capi20.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
make: *** [capifunc.lo] Error 1

Könnt ihr bitte mir weiterhelfen? Denn ich finde nirgendwo in Google eine Lössung dafür.

Vielen Dank im Voraus

Grüsse
 
Keine Ahnung. Vielleicht hilft das hier?
 
Danke, aber nein. stdlib.h ist eine Zeile vor stdio.h inkludiert.

Code:
/*
 * $Id: capi20.c,v 1.4 2002/09/10 12:36:35 armin Exp $
 *
 * CAPI 2.0 Library
 *
 * 2002-03-27 - Added remote capi features.
 *              Armin Schindler <[email protected]>
 *
 */


#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <linux/capi.h>
#define REMOTE_CAPI
#ifdef REMOTE_CAPI
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#endif
#include "capi20.h"
Keine Ahnung. Vielleicht hilft das hier?
 
Kollegen. Es scheint gelöst zu sein. :)

Ich habe das Coding von capi20.h mit dem aktuellen Coding im CVS Server von Isdn4Linux verglichen.
Ich habe stdlib.h auch hier inkludiert.

Code:
*
 * $Id: capi20.h,v 1.1 2002/02/22 15:01:41 armin Exp $
 *
 * CAPI 2.0 Library
 *
 */
#ifndef __CAPI20_H__
#define __CAPI20_H__

#include <stdlib.h>
#include <sys/time.h>
...

make funktioniert nun
make install (unter root) installiert die Bibliothek in /usr/lib

Um bei Opensuse 11 64-bit capiinfo ausführen zu können, muss man den Pakett "capi4linux" mit YaST installieren.
Nach der Installation von capi4linux muss man beachten, dass capiinfo von libcapi20.so.3 abhängig ist.

Code:
# ldd /usr/bin/capiinfo
        linux-vdso.so.1 =>  (0x00007fff5e1fe000)
        libcapi20.so.3 => /usr/lib64/libcapi20.so.3 (0x00007f5255c71000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5255918000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5255e81000)

Jetzt muss man den Link libcapi20.so.3 auf die Datei von /usr/lib verlinken:

Code:
:/usr/lib64 # rm libcapi20.so.3
:/usr/lib64 # ln -s /usr/lib/libcapi20.so.2 ./libcapi20.so.3
:/usr/lib64 # ls -l libcapi*
lrwxrwxrwx 1 root root    18 2008-07-30 16:10 libcapi20.so -> libcapi20.so.3.0.4
lrwxrwxrwx 1 root root    19 2008-07-30 16:10 libcapi20.so.2 -> libcapi20.so.2.0.10
-rwxr-xr-x 1 root root 43848 2008-06-07 04:03 libcapi20.so.2.0.10
lrwxrwxrwx 1 root root    23 2008-07-30 16:28 libcapi20.so.3 -> /usr/lib/libcapi20.so.2
-rwxr-xr-x 1 root root 43848 2008-06-07 04:03 libcapi20.so.3.0.4

Wir sind nun fertig und capiinfo verbindet mit der Fritzbox.
 
Zuletzt bearbeitet:
Gute Frage. Eigentlich bedeutet das, dass das Paket nicht gesendet werden konnte. Jedoch bekommst du die Controller zurückgeliefert. Ctrl. 5 dürfte dabei aber nur 2 B-Kanäle haben.

Die Ausgabe von capiinfo oben kam ohne gestartetes Capi-Over-TCP zustande, in meiner 57er-Software funktioniert #96*3* überhaupt nicht. Hab's jetzt über die debug.cfg gestartet. Weiterhin habe ich die capiinfo ausgetauscht, die bei einmaligen Aufruf den Capi-Over-TCP-Server abstürzen lassen hat. Jetzt habe ich eine korrekte Ausgabe:
Code:
# capiinfo
Number of Controllers : 6
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
Controller 2:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0300
  0200
  39000000
  0b3c0080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000
Controller 3:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0300
  0200
  39000000
  0b3c0080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000
Controller 4:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000001
   Transparent

  0300
  0200
  39000000
  0b3c0080
  03000000
  01000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 20020000 00000000 00000000 00000000
Controller 5:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000

  0300
  0000
  00000000
  00000000
  00000000
  00000000
  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000
Controller 6:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 0.0-03  (0.3)
Serial Number: 0004711
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000

  0300
  0000
  00000000
  00000000
  00000000
  00000000
  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000
Hast du das Ganze mal mit CapiSpFax auf der Konsole probiert?
Ja, habe ich, das erste "echte" Fax ist sogar über den Teich gegangen, und es kam auch eine Antwort drauf. Also damit klappt's.
Hat Hylafax ein integriertes Software-Modem (SDSP)?
Hylafax benutzt c2faxsend aus dem capi4hylafax-Paket zum Verschicken, ob das auch ein Software-Modem bereitstellt vermag ich nicht zu sagen, die Doku ist nicht so aussagekräftig oder ich nicht so aufnahmefähig. :doof:
Wäre natürlich schon, wenn's funktionieren würde wg. scheduling usw.

Gruß
 
Zuletzt bearbeitet:
Hi,

das Supplementary "T.30 modem for fax group 3" fehlt leider bei der Remote-Capi und kann deswegen mit c2faxsend nicht funktionieren. Ich meine, dass benötigt eine aktive ISDN Karte (wie bei Ctrl. 1 zu sehen).

Es gäbe schon eine Möglichkeit:
Man müsste ein c2faxsend schreiben, mit den selben Parametern, welches jedoch das SoftDSP verwendet. Die Binaries müsste man eigentlich nur austauschen. Am besten würde sich "capifax" dafür eignen. Das C-Programm ist relativ übersichtlich, da der Faxversand in der Library steckt.

Eventuell kann man Hylafax ja auch dazu bringen, ein anderes Programm mit anderen Parametern aufzurufen??
 
Eventuell kann man Hylafax ja auch dazu bringen, ein anderes Programm mit anderen Parametern aufzurufen??

Das wäre kein Problem, Hylafax ruft zum Faxversand einen Wrapper auf (<hylafax-root>/bin/faxsend) der prüft, ob der Aufruf für das "Modem-Device" faxCAPI bestimmt ist und leitet in dem Falle den Aufruf mit Parametern an c2sendfax weiter anstelle des Progammes faxsend für Analog-Modems:
Code:
#!/bin/sh
#
# This script is a wrapper to call the correct faxsend
# program, depending of the modem type
#
PARA=$*
SENDFAX=/usr/lib/fax/faxsend

m_found="no"
while [ $# -gt 0 ]; do
    case $1 in
	"-m")
	    m_found="yes"
	    ;;
	faxCAPI*)
	    if [ "$m_found" = "yes" ]; then
		SENDFAX=/usr/bin/c2faxsend
	    fi
	    m_found="no"
	    ;;
	*)
	    m_found="no"
	    ;;
    esac
    shift
done

$SENDFAX $PARA
Leider übergibt Hylafax dem Binary keine "lesbaren" Parameter, die man direkt z.B. an CapiSpFax schicken könnte, sondern übergibt nur ein File: "/usr/bin/c2faxsend -m faxCAPI sendq/q95". In diesem qxx stehen viele Parameter, die meisten nicht wichtig, sind z.B. für Coversheets. Die wichtigen müssten vom einem aufzurufendem Programm geparsed und an CapiSpFax übergeben werden. Weiterhin müssen die zu sendenden Postscript-Files mittels Ghostscript in tiffg3-Fromat konvertiert und in einem File übergeben werden. Das sehe ich alles noch für machbar an, ich verstehe nur nicht, wie der Status zurückgemeldet wird, er wird wieder direkt in das qxx-File zurückgeschrieben, in meinem Beispiel habe ich mal drei Möglichkeiten eingetragen, war die Übertragung erfolgreich bleibt die Zeile leer. Ich habe das mal auf der Console ausgeführt, dort sowie in den Logs steht als Status nur "Connection dropped with Reason 0x3490" bei Erfolg oder eine andere Zahl, wenn's nicht geklappt hat.
Ich stelle mir das nun so vor, daß in <hylafax-root>/etc ein weiteres Modem konfiguriert wird (z.B. config.netfaxCAPI), eine Kopie von config.faxCAPI mit entsprechenden Änderungen (Controller!, MSN usw.). In dem obigen Wrapperscript wird eine weitere Abfrage nach dem "Modem" netfaxCAPI eingebaut, bei Erfolg wird entweder ein weiterer Wrapper zum Parsen des qxx-Files und Call von CapiSpFax aufgerufen oder man baut sich gleich ein passendes Binary. Für letzteres bin ich aber nicht der richtige Ansprechpartner.
Für die, die interessiert sind, habe ich ein qxx-File mit ein paar Kommentaren:
Code:
tts:1217617327
killtime:1217628042
retrytime:0
state:6
npages:0
totpages:2
ntries:0
ndials:3
totdials:3
maxdials:12
tottries:0
maxtries:3
pagewidth:209
resolution:98
pagelength:296
priority:127
schedpri:127
minbr:0
desiredbr:13
desiredst:0
desiredec:2
desireddf:3
desiredtl:0
useccover:1
usexvres:0
external:0123456789 # <------ Die Bedeutung dieser Nummer kenne ich nicht
number:0123456789   # <------ Das ist die Empfängernummer, die gewählt wird
mailaddr:Absendername@<host>
sender:Absendername
jobid:88
jobtag:
pagehandling:20S20P
modem:any
faxnumber:
tsi:
receiver:Empfängername
company:Empfänger Firma
location:Empfänger Location
voice:
fromcompany:Absender Firma
fromlocation:Absender Location
fromvoice:
regarding:Betrefftext
comments:
cover:
client:<host>
owner:<user>
groupid:88
signalrate:0
dataformat:1-D MR
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:
csi:
nsf:
status:Sendig job | An error occured while trying to establish the connection. | Can't open fax file. #<-- Drei mögliche Szenarien, bei "complete" leer
returned:3
notify:none
pagechop:default
chopthreshold:3
!postscript:0::docq/cover88.cover
fax:0::docq/cover88;00
!postscript:0::docq/doc184.ps.88
fax:0::docq/doc184.ps;00
# hier weitere Files einleitend mit "!postscipt...."

Gruß
 
Hallo Experten,

rcapid wollte ich für asterisk und hylafax auf einem Ubuntu-PC nutzen. Beim Start von rcapid auf eimem "gefritzten" w900v bekomme ich den Fehler:
/var/inetd: can't resolve symbol '__uClibc_start_main'

Die interne NetzCapi von AVM ist aktiv. Ich benötige sie für Fritz!Fax für Windows-PC-s.

Kann mir jemand mitteilen, ob rcapid auf dem gefritzten w900v läuft?
Läuft rcapid gemeinsam mit der internen NetzCapi von AVM?
Welches Installationsproblem könnte ich haben?
Wie lässt sich der Start von rcapid beim Booten des w900v automatisieren?

Habt vielen Dank für Euer Mitdenken.
hardy88
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,909
Beiträge
2,220,697
Mitglieder
371,659
Neuestes Mitglied
fritz8520
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.