- fix new Option "-i" (Internal-S0-Bus)

- more Providers (Nikoma, First Telecom, Mox)
 - isdnrep-Bugfix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
 - Configure.help completed
This commit is contained in:
akool 1998-11-17 00:37:34 +00:00
parent 817bedb7af
commit 75daaadc8a
4 changed files with 57 additions and 24 deletions

View File

@ -344,58 +344,68 @@ CONFIG_OPTIONS_TTY_FIRST
Server listen at port
CONFIG_ISDNLOG_SERV_PORT
Maintainer: edit CONFIG_ISDNLOG_SERV_PORT
Enter the portnumber where isdnlog should answer requests from
clients like xisdn or kisdnlog.
User file
CONFIG_ISDNLOG_USERFILE
Maintainer: edit CONFIG_ISDNLOG_USERFILE
Enter the full path of the authentication file for client-access
to isdnlog.
Charge file
CONFIG_ISDNLOG_CHARGEFILE
Maintainer: edit CONFIG_ISDNLOG_CHARGEFILE
Enter the full path of the file where isdnlog remembers charging
infos during reboots.
Log file
CONFIG_ISDNLOG_LOGFILE
Maintainer: edit CONFIG_ISDNLOG_LOGFILE
Enter the full path of the file where isdnlog should store the
connection informations.
Reload command
CONFIG_ISDNLOG_RELOADCMD
Maintainer: edit CONFIG_ISDNLOG_RELOADCMD
Enter the full path of a shell-sript which reloads the whole
I4L-system in case of a failure.
Stop command
CONFIG_ISDNLOG_RELOADCMD
Maintainer: edit CONFIG_ISDNLOG_RELOADCMD
CONFIG_ISDNLOG_STOPCMD
Enter the full path of a shell-script which stops the whole
I4L-system in case of a failure.
Reboot command
CONFIG_ISDNLOG_REBOOTCMD
Maintainer: edit CONFIG_ISDNLOG_REBOOTCMD
Enter the full path of a shell-script which reboots Linux
in case of a failure.
Old config directory
CONFIG_ISDNLOG_OLDI4LCONFDIR
Maintainer: edit CONFIG_ISDNLOG_OLDI4LCONFDIR
Enter the directory of your old (pre 3.0) isdnlog config-stuff.
Old config file
CONFIG_ISDNLOG_OLDI4LCONFFILE
Maintainer: edit CONFIG_ISDNLOG_OLDI4LCONFFILE
Enter the filename of your old (pre 3.0) isdnlog config-file.
Support postgres95 SQL-Database
CONFIG_ISDNLOG_POSTGRES
Maintainer: edit CONFIG_ISDNLOG_POSTGRES
Check this box if you plan to let isdnlog insert any connection-
information into a postgres95 database.
directory of postgres95
CONFIG_ISDNLOG_POSTGRESDIR
Maintainer: edit CONFIG_ISDNLOG_POSTGRESDIR
Enter the full path of your postgres95 installation.
Support mysql SQL-Database
CONFIG_ISDNLOG_MYSQLDB
Maintainer: edit CONFIG_ISDNLOG_MYSQLDB
Check this box if you plan to let isdnlog insert any connection-
information into a mysql database.
directory of mysql
CONFIG_ISDNLOG_MYSQLDIR
Maintainer: edit CONFIG_ISDNLOG_MYSQLDIR
Enter the full path of your mysql installation.
Country specific chargeinfo support
CONFIG_ISDN_LOG_DE
Maintainer: edit CONFIG_ISDN_LOG_DE (Text for all country-versions)
Check exactly one box to integrate country specific support into
isdnlog.
# need an empty line after last entry, for sed script in Configure.

View File

@ -1,4 +1,4 @@
/* $Id: isdnlog.c,v 1.28 1998/11/07 17:12:56 akool Exp $
/* $Id: isdnlog.c,v 1.29 1998/11/17 00:37:39 akool Exp $
*
* ISDN accounting for isdn4linux. (log-module)
*
@ -19,6 +19,12 @@
* along with this program; if not, write to the Free Software
*
* $Log: isdnlog.c,v $
* Revision 1.29 1998/11/17 00:37:39 akool
* - fix new Option "-i" (Internal-S0-Bus)
* - more Providers (Nikoma, First Telecom, Mox)
* - isdnrep-Bugfix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
* - Configure.help completed
*
* Revision 1.28 1998/11/07 17:12:56 akool
* Final cleanup. This _is_ isdnlog-3.00
*
@ -203,9 +209,9 @@ static int read_param_file(char *FileName);
static char usage[] = "%s: usage: %s [ -%s ] file\n";
#ifdef Q931
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NqFA:2:O:Ki";
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NqFA:2:O:Ki:";
#else
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NFA:2:O:Ki";
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NFA:2:O:Ki:";
#endif
static char msg1[] = "%s: Can't open %s (%s)\n";
static char *ptty = NULL;

View File

@ -1,4 +1,4 @@
/* $Id: isdnrep.c,v 1.49 1998/11/01 08:50:11 akool Exp $
/* $Id: isdnrep.c,v 1.50 1998/11/17 00:37:48 akool Exp $
*
* ISDN accounting for isdn4linux. (Report-module)
*
@ -24,6 +24,12 @@
*
*
* $Log: isdnrep.c,v $
* Revision 1.50 1998/11/17 00:37:48 akool
* - fix new Option "-i" (Internal-S0-Bus)
* - more Providers (Nikoma, First Telecom, Mox)
* - isdnrep-Bugfix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
* - Configure.help completed
*
* Revision 1.49 1998/11/01 08:50:11 akool
* - fixed "configure.in" problem with NATION_*
* - DESTDIR fixes (many thanks to Michael Reinelt <reinelt@eunet.at>)
@ -365,6 +371,7 @@
#include "isdnrep.h"
#include "../../vbox/src/libvbox.h"
#include "libisdn.h"
/*****************************************************************************/
@ -1058,12 +1065,13 @@ static int print_bottom(double unit, char *start, char *stop)
strich(1);
/* Andreas: zones[i] ist manchmal immer NULL, warum ? */
for (i = 1; i < MAXZONES; i++)
for (i = 0; i < MAXZONES; i++)
if (zones[i]) {
p = "";
switch (i) {
case 0 : p = S_UNKNOWN; break;
case 1 : p = "CityCall"; break;
case 2 : p = "RegioCall"; break;
case 3 :
@ -2212,6 +2220,9 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
if ((cur_call->dir == DIALOUT) && (nx[CALLED] == -1)) {
zone = area_diff(NULL, cur_call->num[CALLED]);
if (zone == AREA_ERROR)
zone = AREA_UNKNOWN;
zones[zone] += cur_call->eh;
zones_dm[zone] += cur_call->dm;

View File

@ -1,4 +1,4 @@
/* $Id: tools_de.c,v 1.3 1998/11/05 19:10:27 akool Exp $
/* $Id: tools_de.c,v 1.4 1998/11/17 00:37:57 akool Exp $
*
* ISDN accounting for isdn4linux. (Utilities)
*
@ -21,6 +21,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: tools_de.c,v $
* Revision 1.4 1998/11/17 00:37:57 akool
* - fix new Option "-i" (Internal-S0-Bus)
* - more Providers (Nikoma, First Telecom, Mox)
* - isdnrep-Bugfix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
* - Configure.help completed
*
* Revision 1.3 1998/11/05 19:10:27 akool
* - Support for all the new L2 frames from HiSax 3.0d (RR, UA, SABME and
* tei management)
@ -83,11 +89,11 @@ char *Providername(int number)
case 23 : return("tesion ))");
case 24 : return("TelePassport");
case 25 : return("Citykom Muenster");
case 28 : return("COLT/Telebridge/Global Comm.");
case 28 : return("COLT/Telebridge/Global Comm./Nikoma");
case 30 : return("TelDaFax");
case 33 : return("Telekom");
case 36 : return("Hutchison Telekom");
case 39 : return("F.T.");
case 39 : return("First Telecom");
case 40 : return("Plusnet");
case 41 : return("HanseNet");
case 43 : return("KielNet");
@ -106,7 +112,7 @@ char *Providername(int number)
case 87 : return("HamCom");
case 88 : return("WorldCom");
case 90 : return("VIAG Interkom");
case 98 : return("STAR Telecom/C@llas");
case 98 : return("STAR Telecom/C@llas/Mox");
case 99 : return("ECONOphone/Telco");
default : return("UNKNOWN Provider");
} /* switch */