1 .\" $NetBSD: isdn.4,v 1.2 2002/07/29 00:42:56 wiz Exp $
3 .\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" $Id: isdn.4,v 1.3 2009/05/27 19:23:59 snj Exp $
30 .\" last edit-date: [Mon Dec 13 23:09:12 1999]
37 .Nd ISDN kernel to userland master device
39 .Cd "pseudo-device isdn"
43 device driver is used by the
45 daemon to exchange messages with the ISDN kernel part for the purpose
46 of call establishment, control and disconnection and to access various
47 control and status information.
49 The messages and message parameters are documented in the include
51 .Pa /usr/include/netisdn/i4b_ioctl.h .
53 The available ioctl's are:
55 .Bl -tag -width Ds -compact -offset indent
57 Request a unique Call Description IDentifier (cdid) which identifies
58 uniquely a single interaction of the local D channel with the exchange.
59 .It Ar I4B_CONNECT_REQ
60 Actively request a call setup to a remote ISDN subscriber.
61 .It Ar I4B_CONNECT_RESP
62 Respond to an incoming call, either accept, reject or ignore it.
63 .It Ar I4B_DISCONNECT_REQ
64 Actively terminate a connection.
65 .It Ar I4B_CTRL_INFO_REQ
66 Request information about an installed ISDN controller card.
67 .It Ar I4B_DIALOUT_RESP
68 Give information about call setup to driver who requested dialing out.
69 .It Ar I4B_TIMEOUT_UPD
70 Update the kernels timeout value(s) in case of dynamically calculated
71 shorthold mode timing changes.
73 Inform the kernel userland drivers about interface soft up/down status
75 .It Ar I4B_CTRL_DOWNLOAD
76 Download firmware to active card(s).
77 .It Ar I4B_ACTIVE_DIAGNOSTIC
78 Return diagnostic information from active cards.
81 Status and event messages available from the kernel are:
83 .Bl -tag -width Ds -compact -offset indent
84 .It Ar MSG_CONNECT_IND
85 An incoming call from a remote ISDN user is indicated.
86 .It Ar MSG_CONNECT_ACTIVE_IND
87 After an incoming call has been accepted locally or an outgoing call has
88 been accepted by a remote, the exchange signaled an active connection
89 and the corresponding B-channel is switched through.
90 .It Ar MSG_DISCONNECT_IND
91 A call was terminated.
92 .It Ar MSG_DIALOUT_IND
93 A userland interface driver requests the daemon to dial out (typically a
94 network interface when a packet arrives in its send queue).
95 .It Ar MSG_IDLE_TIMEOUT_IND
96 A call was terminated by the isdn4bsd kernel driver because a B-channel
97 idle timeout occurred.
99 Accounting information from a network driver.
100 .It Ar MSG_CHARGING_IND
101 Charging information from the kernel.
108 device driver and this man page were written by
109 .An Hellmuth Michaelis Aq hm@kts.org .