]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/i4b/isdntest/isdntest.8
unfinished sblive driver, playback/mixer only for now - not enabled in
[FreeBSD/FreeBSD.git] / usr.sbin / i4b / isdntest / isdntest.8
1 .\"
2 .\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\"     $Id: isdntest.8,v 1.10 1999/12/13 22:11:55 hm Exp $
26 .\"
27 .\" $FreeBSD$
28 .\"
29 .\"     last edit-date: [Mon Dec 13 23:07:23 1999]
30 .\"
31 .Dd December 10, 1999
32 .Dt ISDNTEST 8
33 .Os
34 .Sh NAME
35 .Nm isdntest
36 .Nd isdn4bsd debugging and verification tool
37 .Sh SYNOPSIS
38 .Nm
39 .Op Fl c Ar unit
40 .Op Fl d Ar level
41 .Op Fl i Ar number
42 .Op Fl h
43 .Op Fl o Ar number
44 .Op Fl t Ar num
45 .Op Fl w
46 .Sh DESCRIPTION
47 .Nm isdntest
48 is part of the isdn4bsd package and may be used as a stimulation tool
49 for debugging the isdn4bsd kernel functionality.
50 .Pp
51 NOTE: 
52 .Nm Isdntest
53 must be run
54 .Em instead
55 of the
56 .Xr isdnd 8
57 daemon and can not be used while the daemon runs.
58 .Pp
59 The following options are available:
60 .Bl -tag -width Ds
61 .It Fl c
62 Use controller unit number for test.
63 .It Fl d
64 Set the debugging level
65 .It Fl h
66 Use HDLC as the B channel layer 1 protocol instead of no protocol.
67 .It Fl i
68 Use number to verify the incoming number.
69 .It Fl o
70 Use number as the outgoing number to dial.
71 .It Fl t
72 Set number of times the test pattern on the B-channel is exchanged
73 .It Fl w
74 Wait for keyboard input for terminating the call.
75 .El
76 .Pp
77 The
78 .Nm
79 utility is currently of not much use for end users, it is primarily a debugging
80 tool for development and is part of the release in the hope, that someone
81 enhances it as a real self test and setup-verification tool!
82 .Pp
83 .Nm Isdntest 
84 does almost no error checking and error recovery, so unexpected
85 hangs or crashes may occur.
86
87 .Sh EXAMPLES
88 For the following example, it is assumed that a machine with isdn4bsd 
89 installed is connected to an S0 bus and that one of the valid MSN's (MSN = Multiple Subscriber Number
90 = telephone number) on this bus is
91 .Em 42 .
92 The 
93 .Xr isdnd 8
94 .Em must
95 not currently running on that machine! Executing:
96 .Bd -literal -offset indent
97 isdntest -i 42 -o 42
98 .Ed
99 .Pp
100 will setup an outgoing call from that machine to itself, connect to itself
101 and disconnect after 5 seconds.
102 .Nm Isdntest
103 has to be finished by the user by entering Control-C.
104 .Pp
105 .Sh FILES
106 /dev/i4b
107
108 .Sh AUTHOR
109 The
110 .Nm
111 utility and this manpage were written by 
112 .An Hellmuth Michaelis Aq hm@kts.org .