Commit Graph

581 Commits

Author SHA1 Message Date
keil 6cfa9706c7 make GCC4 happy 2005-08-01 12:14:29 +00:00
tobiasb 4935844ce9 Various corrections for south-western Germany, suggested by Ralf Kleemann. 2005-03-28 09:58:57 +00:00
tobiasb 7131d0048a Set version to 4.70.
A brief and incomplete list of changes between versions 4.68 and 4.70:
- new entries for parameter file: areacode, skipProv, ignoreUPD
- new rate-file configuration option: provider skipping
- several improvements in connection logging
- new entry for isdn.conf: REPOTIONS
- new command line options for isdnrep: -c -m -L -U -x
- new manual pages: rate.conf(5) isdnbill(1)
- improved table mode (-T) of isdnrate
For a list of all changes: cvs diff -u -r isdnlog-4.68 -r isdnlog-4.70
2005-02-27 22:37:41 +00:00
tobiasb ac51b4cdf7 Updated rate-de.dat to rates4linux release version 3.12.
All included providers except some discontinued offers have been
validated in February 2005.  Some providers tend to change frequently,
so as usual this release is a snapshot.
2005-02-27 22:01:41 +00:00
tobiasb 7604713269 New feature: provider skipping.
Certain providers can be completely ignored (skipped) when loading the
rate-file.  The selection is done by Q: tags in rate.conf or by skipProv=
in the parameter file.  The syntax is explained in the new manual page
rate.conf(5).  Absurd settings for provider skipping may cause trouble.
The version number will change to 4.70 in a few days after an update
of the rate-de.dat.
2005-02-23 14:33:37 +00:00
tobiasb 3cbe8ed1bf Renamed +49-9941 from Kötzling to Kötzting after hint from Matthias Koerber.
Added regions for multiple entries of Kirchberg and Kirchberg.
2005-01-31 17:11:45 +00:00
tobiasb 892d4504fd New: "isdnrep -t y" for calls of yesterday.
Added some more verifications in the processing of isdnrep's  -t option.
2005-01-22 18:47:16 +00:00
tobiasb c1986dab61 Fixed processing of numbers without an entry in dest.cdb like +8. 2005-01-12 16:28:05 +00:00
tobiasb 235e230398 Renamed +49-5371 from Giffhorn to Gifhorn after hint from Emil "nobs" Obermayr. 2005-01-12 16:06:45 +00:00
tobiasb d2ac230cd2 Improved utilization of special number information from ratefile. 2005-01-02 16:37:21 +00:00
tobiasb f874a36926 Renamed +49-37438 from Bad Bramberg to Bad Brambach after hint from Sigward
Funke, Leipzig.  Added regions for multiple entries of Bergen and others.
2004-12-30 17:27:13 +00:00
tobiasb f1f58ba0d9 Show date with type of day for isdnrate -vT ... 2004-12-18 15:10:50 +00:00
tobiasb b2568c27b3 Ignore sample configuration files resulting from text replacement with CVS. 2004-12-16 22:53:11 +00:00
tobiasb fb170b00da Fix for rate computation of outgoing calls from other devices and for logging
of calls from and to the observed card (simultaneous SETUP messages).
Area code setting also in parameterfile.
2004-12-16 22:40:30 +00:00
tobiasb 7130a5ba40 New option -U: default source number for outgoing calls. 2004-12-16 21:30:50 +00:00
tobiasb cfa01bad96 Let "make all" in the isdnlog directory create the necessary zone files. 2004-12-10 18:26:10 +00:00
tobiasb 37a73653a8 Added short note about missing update of this README file. 2004-12-06 18:41:17 +00:00
tobiasb 1b695758c3 Increased length of area code (.area of a TELNUM) from 9 to 15 digits.
This is needed for long special numbers in isdnrate and isdnrep -r.
2004-11-09 22:22:54 +00:00
tobiasb 6e25bfa8a8 Moved down the regular rule just added for samples/isdn.conf
so that all is again the default target.
2004-10-28 15:10:34 +00:00
tobiasb 659ecd9934 Enabled text substitution by configure for isdnlog sample config files
The pointer to isdnlog documentation required a new config option.
Added another config option and data for Chinese area codes.
2004-10-28 01:53:28 +00:00
tobiasb cf386fe3f0 Make sample config files more uniform in terms of line order.
Differences due to missing country specific files and other things remain.
2004-10-27 23:12:31 +00:00
tobiasb bc05be851f Fix for t:? in ratefile after T: lines with day * and other days. 2004-10-23 17:40:21 +00:00
tobiasb 76d67818a5 Removed restriction that workday (W) must not be holiday (H) too.
Updated rate-files(5): priority of days, U:^..., s/weekday/workday.
2004-10-04 14:50:41 +00:00
tobiasb 6774d9c4e6 Updated and extended country(-de).dat, see comments at top of file. 2004-09-29 21:23:16 +00:00
tobiasb 725a2415b2 Two small changes for pp_rate: ignore leading white space at first area
name of A: line and remove progress notice after unknown area name search.
2004-09-29 21:13:32 +00:00
tobiasb f800d91a7a Changed handling of multiple "calling party number" information elements.
The network provided number is now preferred in any case.  The other
number (typical set by originating user) can be ignored using the
ignoreCOLP or -U setting, which allows different values for COLP and CLIP
now.  (The old behaviour was to use the first number if ignoreCOLP was set
and the network provided number regardless of order otherwise.)
2004-09-29 21:02:01 +00:00
tobiasb 07ba460b3a Check provider and price (new) when comparing provider rankings. 2004-09-27 18:00:23 +00:00
tobiasb 0e7cad2419 Improved isdnrate -T ..., see ChangeLog for details. 2004-09-07 23:48:48 +00:00
tobiasb 2ce9303a2a New parameter file entry "ignoreUPD" for suppressing "Unexpected
discrimator (...)" messages, demanded by Günther J. Niederwimmer
on the suse-isdn mailing list.
2004-09-05 22:04:55 +00:00
tobiasb 658e05fadb Minor fixes, required by gcc-3.4: Label at end of block, double function
declaration.  Revealed by Andreas Jochens as Debian bug #266523.
2004-08-25 21:22:05 +00:00
tobiasb a469c2966d New German ratefile, rate-de.dat version 3.10 from rates4linux. All
per default enabled providers have been validated in August 2004, other
providers during the year 2004.  Also included are cellphone entries
in the country-de.dat for Ghana, Moldova, Kazakhstan, and Syria.
2004-08-24 23:40:58 +00:00
tobiasb 5117e910f0 Three corrections in Western Pomerania by Klaus Lange from Ueckermünde.
Distinguished Feldberg Mecklenburg and Feldberg Black Forest.
2004-08-11 22:07:50 +00:00
tobiasb d769b7b4ad New isdnrep option -m [*|/]number. It multiplies or divide the cost of
each call by the given number.  `-m/1.16' for example displays the costs
without the German `Umsatzsteuer'.
2004-07-25 14:21:13 +00:00
tobiasb 13385b9e26 New isdnrep options: `-L:' controls the displayed call summaries in the
report footer.  `-x' displays only call selected or not deselected by
hour or type of day -- may be useful in conjunction with `-r'.

Activated new configuration file entry `REPOPTIONS' for isdnrep default
options.  This options can be disabled by `-c' on the command line.
2004-07-24 17:58:06 +00:00
tobiasb 3666819646 New entry `REPOPTIONS' in section [ISDNLOG] of the isdn configuration
file.  This will be used for commandline options defaults of isdnrep.
2004-07-24 16:16:56 +00:00
tobiasb 55ea34f8f3 Set call duration -- written \$5 in callerid.conf -- until a
CONNECT occurs to 0 and not to the time elapsed since SETUP.  Now
the value 0 clearly indicates an unanswered call at HANGUP.  This
was reported by Rainer Dorsch on the isdn4linux mailinglist in
message <200404181436.48694.rdorsch@web.de> at 2004-04-18.
2004-07-24 15:48:45 +00:00
tobiasb 23c25644fa Increased version number from 4.68 to 4.69. It is planned to collect
changes with this odd version number for a longer period of time.
2004-07-24 12:03:36 +00:00
tobiasb bc40202e30 Added entry for final version of new isdnbill manpage. 2004-07-14 17:43:23 +00:00
tobiasb d96f9fd755 Updated GNU config files as suggested by Matthias Klose, see
http://listserv.isdn4linux.de/pipermail/isdn4linux/2004-July/000680.html
--
The kisdnlog sourcefiles remain unchanged since 1999.
2004-07-14 17:33:39 +00:00
tobiasb ae9b0e8e5a Patch to isdnlog manpages by Matthias Klose <doko@cs.tu-berlin.de>,
a maintainer of Debian's isdnutils source package:
- add manpage for isdnbill *)
- fix typo in isdnrate.man
- isdnbill.c: add english help texts
--
*) Renamed the sourcefile isdnrep/isdnbill.man to isdnrep/isdnbill.1.in
because only @MANDATE@ is replaced in %.man files. Other @VARS@ have to
be processed by config.status and therefore noted in configure.in and
configure. The isdnrep manpage was used as template for those entries.
2004-07-13 21:44:18 +00:00
paul a56f9b8bf1 There was no bounds checking on unknownzones, which is only useds
if DEBUG is defined. This caused a SIGSEGV with many unknown numbers
(which were all the same, BTW...)  Now only do unknownzones if DEBUG
is defined.
2004-02-25 12:09:08 +00:00
tobiasb 2c930bfa53 isdnlog-4.68:
- New German ratefile, rate-de.dat version 3.08 from rates4linux,
   included rates have been reviewed in January 2004 or later.
 - New setting for parameterfile: closefds=yes
   See isdnlog(8) or isdnlog/start_prog.c for details.
 - Changes checked in earlier but after step to isdnlog-4.67:
   - Added Belgian area codes.
   - Supported database are shown at isdnlog's startup.
   - isdnlog now tries to reconnect to a mysql server if necessary.
   - Fixed SIGSEGV in isdnrep with missing zonenames in ratefile.
   - New options -c and -i for isdnrate.
   - Some small fixes for redirs in ratefiles.
   - Disabled unicode for filehandles in Perl scripts.
2004-02-12 23:52:28 +00:00
tobiasb 003ea565c3 Fixed outdated source code comment. 2004-02-06 16:58:01 +00:00
tobiasb 572688f762 mysql_dbStatus() now really reports the connection state and tries to
reconnect if necessary.  Previously the database server had to be
reachable at isdnlog startup.  Otherwise no database logging took place.
Many thanks to Jochen Erwied for advising this change.
2004-02-06 16:56:20 +00:00
tobiasb f06fb3e873 Second step in restricting fds at isdnlog restart and script starting.
The fd limit is now taken from getrlimit() instead of NR_OPEN.
Close_Fds(first) which tries to close all possible fds is generally
built in but the execution must be requested with "closefds=yes" in
the parameterfile otherwise the isdnlog behaviour remains unchanged.
2004-01-28 14:27:46 +00:00
tobiasb 7aa7b660c2 First step to close all unnecessary open file descriptors before
starting a start script as reaction to a call.  The same applies to the
restart of isdnlog using SIGHUP.  Till now each restart increases the
number of used fds.
For now the modifications are inactive by default.  They can be enabled
by adding the line "DEFS += -DFD_AT_EXEC_MODE=1" to ../Makefile.in.
The next isdnlog (4.68) will have this enabled per default.
The upper limit for fd numbers is taken from NR_OPEN in <linux/limits.h>.
If there is a smarter way to access this limit, please let me know.
Another approach would be to set the close-on-exec flag on each fd
directly after it is opened.  This would require more extensive changes.
I'd like to thank Jan Bernhardt for discovering this problem.
2004-01-26 15:20:07 +00:00
tobiasb 0cc235de67 Do not ignore last provider in ratefile if it contains only redirs (R:)
and no real zones (Z:).
Check whether the resulting zone from getZone is covered by a redir.
Describe current limitations of redirs in rate-files manpage.
2004-01-11 15:16:11 +00:00
tobiasb 567611d3af New options -c and -i for overriding the RATECONF and RATEFILE setting
in isdn.conf.  May be useful for rate-file testing.
2004-01-10 16:43:24 +00:00
tobiasb 22c00ee4ae Show supported database(s) at startup. 2004-01-04 02:22:53 +00:00
tobiasb 53f63986e0 Added Belgian area codes which have been provided by
Siegfried Delwiche <siegfried.delwiche@siemens.com>.
Note: Definitions that also occur for the same number in
country-de.dat or cities.dat are ignored in the code file.
2003-11-22 17:35:25 +00:00