Skip to content

Commit

Permalink
Imported Upstream version 3.3.0.20041110
Browse files Browse the repository at this point in the history
  • Loading branch information
leggewie committed Sep 14, 2010
1 parent 4bdfdda commit 1378d50
Show file tree
Hide file tree
Showing 75 changed files with 5,682 additions and 1,460 deletions.
5 changes: 0 additions & 5 deletions FAQ/.cvsignore

This file was deleted.

14 changes: 9 additions & 5 deletions FAQ/README
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ In this directory you find the FAQ for isdn4linux.
It contains answers for those questions that are frequently asked in the It contains answers for those questions that are frequently asked in the
mailing list/news group for isdn4linux (and some more). mailing list/news group for isdn4linux (and some more).


The FAQ is now only available in English. Its source code is formatted in The FAQ is now maintained in English. A German version exists, but updates
SGML, which can easily be converted by using: to the English version are only translated on a best effort basis.
sgml2txt i4lfaq.sgml To see the latest information always use the English version.

The source code of the FAQ is formatted in SGML, which can easily be
converted by using:
sgml2txt i4lfaq.sgml
or or
sgml2html i4lfaq.sgml sgml2html i4lfaq.sgml


To download converted versions, or see the latest version online, To download converted versions, or see the latest version online,
visit the homepage of the FAQ: visit the homepage of the FAQ:
Expand All @@ -22,7 +26,7 @@ http://www.isdn4linux.de/faq/


"_example" and "_howto" contain postings from the mailing list/news group that "_example" and "_howto" contain postings from the mailing list/news group that
appeared helpful/interesting to me. They may be helpful to you, but be careful: appeared helpful/interesting to me. They may be helpful to you, but be careful:
THEY MAY BE OUTDATED BY NOW! THEY ARE ALMOST SURELY OUTDATED BY NOW!


See the FAQ for more information about the author of the FAQ. See the FAQ for more information about the author of the FAQ.


Expand Down
41 changes: 38 additions & 3 deletions FAQ/i4lfaq.sgml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


<title>FAQ for isdn4linux <title>FAQ for isdn4linux
<author>Matthias Hessler (<tt><htmlurl url="mailto:hessler@isdn4linux.de" name="hessler@isdn4linux.de"></tt>) <author>Matthias Hessler (<tt><htmlurl url="mailto:hessler@isdn4linux.de" name="hessler@isdn4linux.de"></tt>)
<date>v2.0.88, 14. July 2004 <date>v2.0.91, 31. October 2004
<abstract> <abstract>
If you are reading this FAQ online, you may consider downloading the whole If you are reading this FAQ online, you may consider downloading the whole
thing, and reading it offline (much cheaper). To download the latest thing, and reading it offline (much cheaper). To download the latest
Expand Down Expand Up @@ -518,6 +518,8 @@ Here is a German website which has some nice installation instructions:
<tt><url url="http://ixi.thepenguin.de"></tt> or <tt><url url="http://ixi.thepenguin.de"></tt> or
<tt><url url="http://capi4linux.thepenguin.de"></tt> or <tt><url url="http://capi4linux.thepenguin.de"></tt> or
<tt><url url="http://www.thepenguin.de"></tt> <tt><url url="http://www.thepenguin.de"></tt>
Please note that due to its binary nature, this driver will not work
if your distribution is incompatible with it (e.g. based on 64 bit).
</itemize> </itemize>


This interface follows the official CAPI 2.0 standard that was established This interface follows the official CAPI 2.0 standard that was established
Expand Down Expand Up @@ -1082,6 +1084,16 @@ Yes, this works nicely. However, make sure to compile the kernel and all
modules with option <tt/SMP/. If you run into problems when both CPUs try to modules with option <tt/SMP/. If you run into problems when both CPUs try to
handle the same IRQ, try to boot with <tt/noapic/. handle the same IRQ, try to boot with <tt/noapic/.


<sect1> hardware_64bit: Can I run isdn4linux on 64bit hardware with Linux?
<label id="hardware_64bit">
<p>
In principle yes, however your hardware choice is currently limited to
active cards and external devices. Most desired are external devices using
standard interfaces (network, USB) which do not require isdn4linux at all.
The drivers for passive cards are currently not working under 64bit.
Obviously you can also not make use of binary drivers, unless you find a
binary compiled for 64bit.

<sect1> hardware_alpha: Can I run isdn4linux on a DEC Alpha with Linux? <sect1> hardware_alpha: Can I run isdn4linux on a DEC Alpha with Linux?
<label id="hardware_alpha"> <label id="hardware_alpha">
<p> <p>
Expand Down Expand Up @@ -1174,7 +1186,7 @@ You may want to have a look at the German article in ct 9/2004 on how to use
PBX4Linux. PBX4Linux.


Another alternative for emulation of a PBX is Asterisk, to be found on: Another alternative for emulation of a PBX is Asterisk, to be found on:
<tt><url url="www.asterisk.org"></tt> <tt><url url="http://www.asterisk.org"></tt>


Also, it is possible to give up one B-channel in exchange for reading the Also, it is possible to give up one B-channel in exchange for reading the
complete D-channel protocol, which is great for isdnlog. The later can complete D-channel protocol, which is great for isdnlog. The later can
Expand Down Expand Up @@ -1433,6 +1445,16 @@ hisaxctrl &lt;id&gt; 9 ISAR.BIN
question <ref id="feature_fax" name="feature_fax"> for details). question <ref id="feature_fax" name="feature_fax"> for details).
</itemize> </itemize>


<sect1> hardware_diva: What should I know about the Eicon Diva cards?
<label id="hardware_diva">
<p>
In general, a dedicated driver exists which supports the active Eicon
Diva cards very well. The Pro series are not supported by isdn4linux
since it is a semiactive card with a DSP as a B-channel controller.
There is no code available in isdn4linux to dynamically load DSP
programs into the card. However, check Eicon's website; maybe by now they
provide pre-compiled driver for their cards not supported by isdn4linux.



<!-- Trouble Hardware <!-- Trouble Hardware
--> -->
Expand Down Expand Up @@ -2839,7 +2861,9 @@ this:
<code> <code>
isdnctrl addphone &lt;device&gt; out P1&lt;your_out_number&gt; isdnctrl addphone &lt;device&gt; out P1&lt;your_out_number&gt;
</code> </code>
Please note that then a dialout will fail when another device already uses This will indicate the preferred B channel in the outgoing SETUP message.
Please note that some PBX may not like this.
Obviously, a dialout will fail when another device already uses
the second B channel. the second B channel.


<sect1> dialout_dynip: On dynamic ip assignment, how do I find out which ip <sect1> dialout_dynip: On dynamic ip assignment, how do I find out which ip
Expand Down Expand Up @@ -4591,6 +4615,17 @@ interfaces can be set to the same MSN, since several people can be
connected to a MSN at the same time (as long as there are B channels free). connected to a MSN at the same time (as long as there are B channels free).
However, not more than one getty can be assigned to a single ttyI* device. However, not more than one getty can be assigned to a single ttyI* device.


<sect1> dialin_manycards: When using several ISDN cards, how can I react
upon on a call received via a specific ISDN card?
<label id="dialin_manycards">
<p>
You can use the EAZ mapping feature for this to map incoming MSN numbers
to new internal MSN numbers, in the same way as described for question
<ref id="dialout_manycards" name="dialout_manycards">. Usage of a card can be prevented by
using the dash during the mapping. Please note that it is not possible to
have any limitations based upon the B channel, since channel assignment
is normally done by the exchange.

<sect1> dialin_analogditalsamettyi: Can I configure a ttyI* device to <sect1> dialin_analogditalsamettyi: Can I configure a ttyI* device to
accept both digital and analog modem dialins? accept both digital and analog modem dialins?
<label id="dialin_analogditalsamettyi"> <label id="dialin_analogditalsamettyi">
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Original file line Diff line number Diff line change
@@ -1,11 +1,11 @@
# $Id: Makefile,v 1.55 2003/07/28 19:50:13 keil Exp $ # $Id: Makefile,v 1.56 2004/08/30 14:06:42 keil Exp $
# #
# Toplevel Makefile for isdn4k-utils # Toplevel Makefile for isdn4k-utils
# #


.EXPORT_ALL_VARIABLES: .EXPORT_ALL_VARIABLES:


export I4LVERSION = 3.3 export I4LVERSION = 3.5


all: do-it-all all: do-it-all


Expand Down
1 change: 0 additions & 1 deletion Mini-FAQ/.cvsignore

This file was deleted.

7 changes: 0 additions & 7 deletions avmb1/.cvsignore

This file was deleted.

9 changes: 0 additions & 9 deletions capi20/.cvsignore

This file was deleted.

2 changes: 1 addition & 1 deletion capi20/Makefile.am
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ lib_LTLIBRARIES = libcapi20.la
lib_LIBRARIES = libcapi20dyn.a lib_LIBRARIES = libcapi20dyn.a


libcapi20_la_SOURCES = capi20.c capifunc.c convert.c libcapi20_la_SOURCES = capi20.c capifunc.c convert.c
libcapi20_la_LDFLAGS = -version-info 2:8:0 libcapi20_la_LDFLAGS = -version-info 2:9:0
libcapi20_la_CFLAGS = -fno-strict-aliasing libcapi20_la_CFLAGS = -fno-strict-aliasing


libcapi20dyn_a_SOURCES = capidyn.c libcapi20dyn_a_SOURCES = capidyn.c
Expand Down
9 changes: 7 additions & 2 deletions capi20/capi20.c
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,12 @@
/* /*
* $Id: capi20.c,v 1.22 2004/06/14 11:23:48 calle Exp $ * $Id: capi20.c,v 1.23 2004/10/06 15:24:42 calle Exp $
* *
* $Log: capi20.c,v $ * $Log: capi20.c,v $
* Revision 1.23 2004/10/06 15:24:42 calle
* - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
* - Bugfix: capi20_register() with MaxB3Connection == 0 results in a
* core dump. Now at least one buffer is allocated.
*
* Revision 1.22 2004/06/14 11:23:48 calle * Revision 1.22 2004/06/14 11:23:48 calle
* Erweiterungen fuer ALERT_REQ. * Erweiterungen fuer ALERT_REQ.
* *
Expand Down Expand Up @@ -204,7 +209,7 @@ static struct applinfo *alloc_buffers(unsigned MaxB3Connection,
unsigned MaxSizeB3) unsigned MaxSizeB3)
{ {
struct applinfo *ap; struct applinfo *ap;
unsigned nbufs = MaxB3Connection * (MaxB3Blks + 1); unsigned nbufs = 1 + MaxB3Connection * (MaxB3Blks + 1);
size_t recvbuffersize = 128 + MaxSizeB3; size_t recvbuffersize = 128 + MaxSizeB3;
unsigned i; unsigned i;
size_t size; size_t size;
Expand Down
11 changes: 7 additions & 4 deletions capi20/capifunc.c
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,12 @@
/* /*
* $Id: capifunc.c,v 1.5 2004/06/14 11:23:48 calle Exp $ * $Id: capifunc.c,v 1.6 2004/10/06 15:24:43 calle Exp $
* *
* $Log: capifunc.c,v $ * $Log: capifunc.c,v $
* Revision 1.6 2004/10/06 15:24:43 calle
* - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
* - Bugfix: capi20_register() with MaxB3Connection == 0 results in a
* core dump. Now at least one buffer is allocated.
*
* Revision 1.5 2004/06/14 11:23:48 calle * Revision 1.5 2004/06/14 11:23:48 calle
* Erweiterungen fuer ALERT_REQ. * Erweiterungen fuer ALERT_REQ.
* *
Expand All @@ -25,14 +30,12 @@ unsigned ALERT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
_cstruct BChannelinformation, _cstruct BChannelinformation,
_cstruct Keypadfacility, _cstruct Keypadfacility,
_cstruct Useruserdata, _cstruct Useruserdata,
_cstruct Facilitydataarray, _cstruct Facilitydataarray) {
_cstruct SendingComplete) {
capi_cmsg_header (cmsg,ApplId,0x01,0x80,Messagenumber,adr); capi_cmsg_header (cmsg,ApplId,0x01,0x80,Messagenumber,adr);
cmsg->BChannelinformation = BChannelinformation; cmsg->BChannelinformation = BChannelinformation;
cmsg->Keypadfacility = Keypadfacility; cmsg->Keypadfacility = Keypadfacility;
cmsg->Useruserdata = Useruserdata; cmsg->Useruserdata = Useruserdata;
cmsg->Facilitydataarray = Facilitydataarray; cmsg->Facilitydataarray = Facilitydataarray;
cmsg->SendingComplete = SendingComplete;
return capi_put_cmsg (cmsg); return capi_put_cmsg (cmsg);
} }


Expand Down
8 changes: 2 additions & 6 deletions capi20/capiutils.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ typedef struct {
_cword Reason_B3; _cword Reason_B3;
_cword Reject; _cword Reject;
_cstruct Useruserdata; _cstruct Useruserdata;
_cstruct SendingComplete;
unsigned char *Data; unsigned char *Data;


/* intern */ /* intern */
Expand Down Expand Up @@ -919,8 +918,7 @@ unsigned ALERT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cstruct BChannelinformation ,_cstruct BChannelinformation
,_cstruct Keypadfacility ,_cstruct Keypadfacility
,_cstruct Useruserdata ,_cstruct Useruserdata
,_cstruct Facilitydataarray ,_cstruct Facilitydataarra);
,_cstruct SendingComplete);
unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cdword adr ,_cdword adr
,_cword CIPValue ,_cword CIPValue
Expand Down Expand Up @@ -1099,15 +1097,13 @@ static inline void capi_fill_ALERT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messa
_cstruct BChannelinformation, _cstruct BChannelinformation,
_cstruct Keypadfacility, _cstruct Keypadfacility,
_cstruct Useruserdata, _cstruct Useruserdata,
_cstruct Facilitydataarray, _cstruct Facilitydataarray)
_cstruct SendingComplete)
{ {
capi_cmsg_header(cmsg, ApplId, 0x01, 0x80, Messagenumber, adr); capi_cmsg_header(cmsg, ApplId, 0x01, 0x80, Messagenumber, adr);
cmsg->BChannelinformation = BChannelinformation; cmsg->BChannelinformation = BChannelinformation;
cmsg->Keypadfacility = Keypadfacility; cmsg->Keypadfacility = Keypadfacility;
cmsg->Useruserdata = Useruserdata; cmsg->Useruserdata = Useruserdata;
cmsg->Facilitydataarray = Facilitydataarray; cmsg->Facilitydataarray = Facilitydataarray;
cmsg->SendingComplete = SendingComplete;
} }


static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messagenumber, static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messagenumber,
Expand Down
10 changes: 7 additions & 3 deletions capi20/convert.c
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,12 @@
/* /*
* $Id: convert.c,v 1.12 2004/06/14 11:23:48 calle Exp $ * $Id: convert.c,v 1.13 2004/10/06 15:24:43 calle Exp $
* *
* $Log: convert.c,v $ * $Log: convert.c,v $
* Revision 1.13 2004/10/06 15:24:43 calle
* - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
* - Bugfix: capi20_register() with MaxB3Connection == 0 results in a
* core dump. Now at least one buffer is allocated.
*
* Revision 1.12 2004/06/14 11:23:48 calle * Revision 1.12 2004/06/14 11:23:48 calle
* Erweiterungen fuer ALERT_REQ. * Erweiterungen fuer ALERT_REQ.
* *
Expand Down Expand Up @@ -336,12 +341,11 @@ static _cdef cdef[] = {
/*2f*/{_CWORD, offsetof(_cmsg, Reject)}, /*2f*/{_CWORD, offsetof(_cmsg, Reject)},
/*30*/{_CSTRUCT, offsetof(_cmsg, Useruserdata)}, /*30*/{_CSTRUCT, offsetof(_cmsg, Useruserdata)},
/*31*/{_CQWORD, offsetof(_cmsg, Data64)}, /*31*/{_CQWORD, offsetof(_cmsg, Data64)},
/*32*/{_CSTRUCT, offsetof(_cmsg, SendingComplete)},
}; };


static unsigned char *cpars[] = { static unsigned char *cpars[] = {
/*00*/ 0, /*00*/ 0,
/*01 ALERT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x32\x01\x01", /*01 ALERT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01",
/*02 CONNECT_REQ*/ (unsigned char*)"\x03\x14\x0e\x10\x0f\x11\x0d\x06\x08\x0a\x05\x07\x09\x01\x0b\x29\x23\x04\x0c\x28\x30\x1c\x01\x01", /*02 CONNECT_REQ*/ (unsigned char*)"\x03\x14\x0e\x10\x0f\x11\x0d\x06\x08\x0a\x05\x07\x09\x01\x0b\x29\x23\x04\x0c\x28\x30\x1c\x01\x01",
/*03*/ 0, /*03*/ 0,
/*04 DISCONNECT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01", /*04 DISCONNECT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01",
Expand Down
9 changes: 0 additions & 9 deletions capifax/.cvsignore

This file was deleted.

9 changes: 0 additions & 9 deletions capiinfo/.cvsignore

This file was deleted.

8 changes: 0 additions & 8 deletions capiinit/.cvsignore

This file was deleted.

17 changes: 17 additions & 0 deletions doc/Configure.help
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -397,6 +397,13 @@ CONFIG_ISDNLOG_REBOOTCMD
Enter the full path of a shell-script which reboots Linux Enter the full path of a shell-script which reboots Linux
in case of a failure. in case of a failure.


Location of isdnlog documentation
CONFIG_ISDNLOG_DOCDIR
Enter the directory for documentation of isdnlog,
usually something like /usr/share/doc/isdnlog.
Currently no files are installed to this directory, but it
appears as reference in sample config files.

Old config directory Old config directory
CONFIG_ISDNLOG_OLDI4LCONFDIR CONFIG_ISDNLOG_OLDI4LCONFDIR
Enter the directory of your old (pre 3.0) isdnlog config-stuff. Enter the directory of your old (pre 3.0) isdnlog config-stuff.
Expand Down Expand Up @@ -456,6 +463,16 @@ National support for cities
CONFIG_ISDN_LOG_DEST_NL CONFIG_ISDN_LOG_DEST_NL
S. above text for German cities. S. above text for German cities.


National support for cities
CONFIG_ISDN_LOG_DEST_BE
Belgian area codes.
S. above text for German cities.

National support for cities
CONFIG_ISDN_LOG_DEST_CN
Chinese area codes.
S. above text for German cities.

Diversion services support Diversion services support
CONFIG_DIVERTCTRL CONFIG_DIVERTCTRL
This program is needed to configure the supplementary diversion This program is needed to configure the supplementary diversion
Expand Down
2 changes: 1 addition & 1 deletion eicon/divautil/linload.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int DivaALoad (char *dsp_name,
case 6: case 6:
filename[strlen(filename)-1]='6'; filename[strlen(filename)-1]='6';
break; break;
default: default: ;
} }
} }


Expand Down
3 changes: 0 additions & 3 deletions eurofile/.cvsignore

This file was deleted.

1 change: 0 additions & 1 deletion eurofile/src/eft/.cvsignore

This file was deleted.

Binary file added hisax/ISAR.BIN
Binary file not shown.
19 changes: 14 additions & 5 deletions ipppd/Makefile.in
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,9 @@
# #
# ipppd makefile for Linux # ipppd makefile for Linux
# $Id: Makefile.in,v 1.18 2004/02/12 10:50:20 keil Exp $ # $Id: Makefile.in,v 1.19 2004/08/30 14:56:36 keil Exp $
# #


HAVE_LIBSSL := @HAVE_LIBSSL@
HAVE_LIBDES := @HAVE_LIBDES@ HAVE_LIBDES := @HAVE_LIBDES@
HAVE_LIBCRYPT := @HAVE_LIBCRYPT@ HAVE_LIBCRYPT := @HAVE_LIBCRYPT@
HAVE_SHADOW_H := @HAVE_SHADOW_H@ HAVE_SHADOW_H := @HAVE_SHADOW_H@
Expand Down Expand Up @@ -89,14 +90,22 @@ SOURCE = RELNOTES configure *.in $(PPPDSRCS) $(HEADERS) $(MANPAGES)


MSG = '' MSG = ''
ifdef USE_MSCHAP ifdef USE_MSCHAP
ifeq ($(HAVE_LIBDES),1) ifeq ($(HAVE_LIBSSL),1)
PPPDSRCS += md4.c chap_ms.c PPPDSRCS += md4.c chap_ms.c
PPPDOBJS += md4.o chap_ms.o PPPDOBJS += md4.o chap_ms.o
HEADERS += md4.h chap_ms.h HEADERS += md4.h chap_ms.h
COPTS += -DUSE_MSCHAP COPTS += -DUSE_MSCHAP -DUSE_SSLDES
LIBS += -ldes LIBS += -lssl
else else
MSG = '\n\nLibrary libdes not found, USE_MSCHAP disabled\n\n' ifeq ($(HAVE_LIBDES),1)
PPPDSRCS += md4.c chap_ms.c
PPPDOBJS += md4.o chap_ms.o
HEADERS += md4.h chap_ms.h
COPTS += -DUSE_MSCHAP
LIBS += -ldes
else
MSG = '\n\nLibrary libdes not found, USE_MSCHAP disabled\n\n'
endif
endif endif
endif endif


Expand Down
Loading

0 comments on commit 1378d50

Please sign in to comment.