numbers and the callerid.conf file. Regular numbers such as +4940555
can be noted in the following way in a NUMBER line:
NUMBER=+49-40-555, +49-69-555
For special numbers prior to this modifications there are strong
unmentioned limitations. Only one number per NUMBER line is allowed
without any of the options shown above.
Allowed: NUMBER=01802555
Not allowed/not working: NUMBER=01802-555
also not working: NUMBER=0180255, 0700555
This modification brings the later two examples in function. About the
background of the problem: isdnlog/isdnrep and other know a sort of
telephone numbers called `special numbers', which are noted with S: and
N: Tags in the rate-file. These numbers are per definition only available
within the country. In order to emphasize this and for other more
practical reasons, the normalized format for this numbers is not the
usual +<countrycode><areacode><local number> but the national format
like 01802555.
While the logged numbers in /var/log/isdn.log or so follow this convention,
such entries in callerid.conf got internally converted to the normalized
format (+49180255 in case of the last mentioned number) so that the
comparison executed by isdnlog or isdnrep did not show the expected
result.
The modification activates the advanced feature in the notation of normal
numbers for special numbers.
IMPORTANT NOTE: As the resulting library is located outside the isdnlog
subdirectory, this changes may influence other parts of the isdn4k-utils.
It now uses the value of "COUNTRYCODE = 999" to determine the country, and sets
a variable mycountrynum to that value. That is then used in the code to set the
way isdnlog works.
It works for me, please check it! No configure.in / doc changes yet until
it has been checked to work.
So finally a version of isdnlog that can be compiled and distributed
internationally.
- eat's one more socket, Stefan: sockets[3] now is STDIN, FIRST_DESCR=4 !!
- Support for tesion)) Baden-Wuerttemberg Tarif
- more Providers
- Patches from Wilfried Teiken <wteiken@terminus.cl-ki.uni-osnabrueck.de>
- better zone-info support in "tools/isdnconf.c"
- buffer-overrun in "isdntools.c" fixed
- big Austrian Patch from Michael Reinelt <reinelt@eunet.at>
- added $(DESTDIR) in any "Makefile.in"
- new Configure-Switches "ISDN_AT" and "ISDN_DE"
- splitted "takt.c" and "tools.c" into
"takt_at.c" / "takt_de.c" ...
"tools_at.c" / "takt_de.c" ...
- new feature
CALLFILE = /var/log/caller.log
CALLFMT = %b %e %T %N7 %N3 %N4 %N5 %N6
in "isdn.conf"
- ATTENTION:
1. "isdnrep" dies with an seg-fault, if not HTML-Mode (Stefan?)
2. "isdnlog/Makefile.in" now has hardcoded "ISDN_DE" in "DEFS"
should be fixed soon
isdnlog creates now a file like /var/lock/LCK..isdnctrl0
README completed
Added some values (countrycode, areacode, lock dir and lock file) to
the global menu