Commit Graph

127 Commits

Author SHA1 Message Date
Colin Percival
d3282d6eec Disable constant merging in isdnd and isdnmonitor. This is a "make my
life easier" patch: I doubt this will affect anyone else, but the FreeBSD
Update build code was getting very confused by this.

Approved by: rwatson (mentor)
PR: bin/61087
2004-01-21 16:49:05 +00:00
Ruslan Ermilov
959d6c24f6 Get rid of duplicates. 2003-09-14 13:41:59 +00:00
Hellmuth Michaelis
8478142f79 Fix bug in find_matching_entry_incoming(): the loop checking the allowed
incoming remote telephone numbers and subaddresses ignored the configured
list completely since it was always terminated by a break at the end of
the first run (which was a leftover from the implementation of subaddresses).

Submitted by: Christian Ullrich <chris@chrullrich.de>
2003-07-31 09:13:22 +00:00
Warner Losh
8aacd912f6 Include stdlib.h for exit() 2003-06-08 06:25:47 +00:00
Warner Losh
09f4f53b9c remove unnecessary '?' from getopt string 2003-06-07 18:46:30 +00:00
Warner Losh
5cd1bcb2a9 MAXPATHLEN includes trailing NUL 2003-06-07 18:45:45 +00:00
Warner Losh
df001cb7b8 Use safer strlcpy and snprintf interfaces 2003-06-07 18:44:04 +00:00
Warner Losh
cabaa3ba21 Get getopt interface from unistd.h 2003-06-07 18:43:09 +00:00
Warner Losh
723a65e8f7 Get getopt interface from unistd.h 2003-06-07 18:35:45 +00:00
Bruce Evans
b02b5bc5d4 Oops. Back out a style "fix" in the previous commit. SRCS must be defined
although there is only one file in it because the file is misnamed main.c
so the default of isdntest.c doesn't work.
2003-04-13 14:21:56 +00:00
Bruce Evans
2f162d5e6c Silence `make -s' (echo -> ${ECHO}).
Fixed some style bugs.
2003-04-13 14:16:06 +00:00
David E. O'Brien
052238b16c style.Makefile(5) 2003-04-04 17:49:21 +00:00
Jens Schweikhardt
9d5abbddbf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
Jens Schweikhardt
57bd0fc6e8 english(4) police. 2002-12-27 12:15:40 +00:00
Ruslan Ermilov
8306fe90a2 mdoc(7) police: fixed the document date (the current date was used, as
documented in mdoc(7)).

Approved by:	re
2002-12-11 15:37:55 +00:00
Ruslan Ermilov
fe349af54d mdoc(7) police:
Removed whitespace at EOL.
Removed hard sentence breaks.
Removed empty lines.
Spell FreeBSD correctly.
Sort xrefs.

Approved by:	re
2002-11-27 15:24:11 +00:00
Hellmuth Michaelis
e4127b228e After dialling using -n, add the ability to wait for the first response
from the dialler, usually indicating success or failure. Add -v to add
verbose responses in addition to return values indication success or
failure. Update man page.
2002-08-27 14:46:22 +00:00
Hellmuth Michaelis
866a3fa2bf add support properly displaying and logging incoming telephone numbers (MSNs)
by looking at the "type of number" field and providing configurable hooks
to correct the numbers accordingly. See keywords add-prefix, prefix-national
and prefix-international in isdnd.rc(5).
This feature was implemented by Christian Ullrich <chris@chrullrich.de>
2002-08-12 07:53:55 +00:00
Hellmuth Michaelis
9ed6ae76c7 add experimental support for Data over Voice (DoV) outgoing calls.
based on patches received from Guy Ellis (guy@traverse.com.au),
Chris Collins (xfire@xware.cx) and Phillip Musumeci (phillip@cs.jcu.edu.au).
2002-08-11 15:47:26 +00:00
Hellmuth Michaelis
c2112cac92 Update, correct and bring in sync with reality all the i4b kernel
part manual pages - long overdue ...
2002-07-28 18:21:48 +00:00
Philippe Charnier
490d5836b5 The .Nm utility 2002-07-14 14:47:15 +00:00
Dima Dorfman
361817b059 demon -> daemon
Submitted by:	zhuravlev alexander <zaa@box.ulstu.ru>
2002-05-11 23:20:53 +00:00
Philippe Charnier
7f94b8deee Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
Hellmuth Michaelis
3c1d185c2a Add support for Q.931 subaddresses.
Submitted by: Steven Looman <fsteevie@wish.net>
2002-03-26 15:13:54 +00:00
Hellmuth Michaelis
0d18e004bb after joerg's recent merge of i4b's isppcontrol to the main spppcontrol,
remove now obsolete files.
2002-03-09 13:37:24 +00:00
Ruslan Ermilov
c644e6e9a8 mdoc(7) police: shorten AUTHORS section. 2002-01-10 18:30:07 +00:00
Joerg Wunsch
536550c3f2 Remove unused includes, remove the duplicated definitions of AUTHNAMELEN
and AUTHKEYLEN and include <net/if_sppp.h> instead.
2001-12-31 09:32:32 +00:00
Joerg Wunsch
fdf6204cdf Remove ispppcontrol. 2001-12-31 09:31:51 +00:00
Hellmuth Michaelis
9f61e8ef1a sync AUTHNAMELEN with AUTHNAMELEN in <machine/i4b_isppp.h> 2001-12-27 09:18:52 +00:00
Hellmuth Michaelis
94530bc64f Fix potential fclose nullpointer core dumps
MFC after:	1 month
2001-12-27 08:41:10 +00:00
Gary Jennejohn
d40d5b1e57 Add a manpage for the ifpi2 driver.
MFC after:	4 weeks
2001-12-22 09:38:53 +00:00
Gary Jennejohn
bc336958bb Add support for the AVM Fritz!Card PCI version 2 controller.
MFC after:	4 weeks
2001-12-22 09:38:24 +00:00
Alexey Zelkin
3809d6a1b9 Install i4bing.4. It lives for more than year in the tree, but
never was installed.

MFC After: 3 days
2001-12-10 16:55:14 +00:00
Ruslan Ermilov
c8a250b7c0 mdoc(7) police: fix markup and spelling. 2001-11-20 16:02:42 +00:00
Hellmuth Michaelis
224a719b5f Close files only if the fp is != NULL.
PR:		bin/31913
Submitted by:	Harald Hanche-Olsen <hanche@math.ntnu.no>
Reviewed by:	hm
MFC after:	1 week
2001-11-19 14:19:21 +00:00
Hellmuth Michaelis
676ccc0cd0 Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
card.

Submitted by:   Steve Looman
Reviewed by:    hm
MFC after:      1 month
2001-10-21 09:20:52 +00:00
Hellmuth Michaelis
8f3a90354e Add experimental support for sending keypad facility messages.
MFC after: 2 months
2001-10-18 11:58:49 +00:00
Hellmuth Michaelis
bd29462616 keypad facility information element: add keypad facility information decoding.
MFC after: 1 month
2001-10-18 08:03:23 +00:00
Maxim Sobolev
de853a38b8 Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
MFC after:	2 weeks
2001-10-16 09:21:09 +00:00
Ruslan Ermilov
d013e3f544 mdoc(7) police: s/NetBSD/.Nx/ where appropriate. 2001-08-13 17:00:36 +00:00
Ruslan Ermilov
c5e7e03a14 Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
Ruslan Ermilov
94ba280c59 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
Sheldon Hearn
42abf713c9 can not -> cannot 2001-08-08 18:32:06 +00:00
Ruslan Ermilov
10a70ebafc mdoc(7) police: removed hard sentence breaks. 2001-08-07 13:56:00 +00:00
Hellmuth Michaelis
697f33c12b Another hangup bugfix from Juha:
Problem 1 is that the config entry hangup flag is zeroed only at
 CONNECT_ACTIVE_IND in msghdl.c. If any (other) call is disconnected
 after EV_MDO and before CONNECT_ACTIVE_IND, the cleanup routine will
 disconnect the in-progress dialout as well, if its hangup flag is
 nonzero (which it is likely to be) after the previous incarnation of the
 cfg entry. Patch-1 fixes this by clearing the hangup flag as soon as a
 cfg entry is reserved for the call.

Submitted by:	Juha-Matti Liukkonen <jml@cubical.fi>
2001-07-21 16:31:39 +00:00
Hellmuth Michaelis
03096f2d75 Fix hangup bug; Juha writes:
Problem 2 is that doing a local hangup (eg. by writing "H" to the
 dialout device) to a call which is already disconnected results in isdnd
 moving the cfg entry to an illegal state, from which there is no
 recovery. This is tricky because there is no way to synchronize local
 hangup with the remote end (ie. the callee can always hang up at an
 inconvenient time)! Hence, patch-2 alters fsm.c's EV_DRQ state table
 such that the local hangup request is processed or ignored in most
 states, even for disconnected calls.

Submitted by:	Juha-Matti Liukkonen <jml@cubical.fi>
2001-07-21 16:28:28 +00:00
Hellmuth Michaelis
f7055f1626 After being port- and addressscanned continously from several sources where
my line stayed open for more than eight hours i decided to implement a
maximum connection time; see keyword maxconnecttime in the manual page.
2001-07-21 11:29:40 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
David E. O'Brien
ac24b049cc Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00