Alte libcapi20fb Seite (german)
./configure make make installThis installs libcapi20_fb under /usr/lib and /usr/include.
export FB_REMOTE_CAPI_IP=192.168.178.1 # Router-IP or hostname export FB_REMOTE_CAPI_PORT=5031 # Port of capiotcp export FB_REMOTE_CAPI_DEBUG=0 # Debug (0 nothing - 3 all) export FB_REMOTE_CAPI_TCP=1 # Use remote capi (1=on, 0=off) export FB_REMOTE_CAPI_DEV=1 # Use local capi (1=on, 0=off)Under Windows, use 'SET' instead of 'export'
FB_REMOTE_CAPI_DEV to 0 or FB_REMOTE_CAPI_TCP to 0.FB_REMOTE_CAPI_DEV or FB_REMOTE_CAPI_TCP to force this behaviour.
Also, the remote CAPI should be enabled before starting a CAPI-Application.
Just type on your phone:
To disable remote CAPI: #96*2* To enable remote CAPI: #96*3*
Copyright (C) 2009 Marco Zissen libcapi20_fb is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
FB_REMOTE_CAPI_DEBUG= environment variable and
capiinfo should output something like this:
Number of Controllers : 5 Controller 1: Manufacturer: AVM Berlin CAPI Version: 2.0 Manufacturer Version: 0.0-07 (0.7) 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 0500 0200 39000000 0b3c0080 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: 2.0 Manufacturer Version: 0.0-07 (0.7) 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 0500 0200 39000000 0b3c0080 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: 2.0 Manufacturer Version: 0.0-07 (0.7) 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 0500 0200 39000000 0b3c0080 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: 2.0 Manufacturer Version: 0.0-07 (0.7) Serial Number: 0004711 BChannels: 1 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 0500 0100 39000000 0b3c0080 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: 2.0 Manufacturer Version: 0.0-07 (0.7) Serial Number: 0004711 BChannels: 3 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 0500 0300 39000000 0b3c0080 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