This file is indexed.

/usr/share/doc/dahdi/dahdi_scan.8.html is in dahdi 1:2.4.1-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!-- Creator     : groff version 1.21 -->
<!-- CreationDate: Wed Feb 29 07:45:01 2012 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>dahdi_scan</title>

</head>
<body>

<h1 align="center">dahdi_scan</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#FILES">FILES</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#AUTHOR">AUTHOR</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">dahdi_scan
&mdash; Print Configuration of DAHDI Spans</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>dahdi_scan</b>
<i>[spans]</i></p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><i><b>dahdi_scan</b></i>
prints information about DAHDI spans in the system. For
analog spans it also provides a list of channels.</p>

<p style="margin-left:11%; margin-top: 1em">By default it
prints information about all the spans in the system.
However if parameters are provided, they will be considered
to be a list of span numbers and information will be printed
for them.</p>

<p style="margin-left:11%; margin-top: 1em">Output is
printed to the standard output. The format is that of an
Asterisk configuration file (similar to a &quot;ini&quot;
configuration file), where the name of the section is the
number of the span. Note that the specifically for analog
spans some keys may appear more than once, and hence you can
not use a parser for an &quot;ini&quot; format and assume
you have a dictionary.</p>

<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Printing
information for spans 1, 2 and 4:</p>

<p style="margin-left:11%; margin-top: 1em">dahdi_scan 1 2
4</p>

<p style="margin-left:11%; margin-top: 1em">And to print
all the spans:</p>

<p style="margin-left:11%; margin-top: 1em">dahdi_scan</p>

<p style="margin-left:11%; margin-top: 1em">Information
about a certain analog span:</p>

<p style="margin-left:11%; margin-top: 1em">[5] <br>
active=yes <br>
alarms=OK <br>
description=Xorcom XPD #00/10: FXS <br>
name=XBUS&minus;00/XPD&minus;10 <br>
manufacturer=Xorcom Inc. <br>
devicetype=Astribank: Unit 1 Subunit 0: FXS <br>
location=usb&minus;0000:00:03.3&minus;4 <br>
basechan=125 <br>
totchans=8 <br>
irq=0 <br>
type=analog <br>
port=125,FXS <br>
port=126,FXS <br>
port=127,FXS <br>
port=128,FXS <br>
port=129,FXS <br>
port=130,FXS <br>
port=131,FXS <br>
port=132,FXS</p>

<p style="margin-left:11%; margin-top: 1em">And an example
of a digital span:</p>

<p style="margin-left:11%; margin-top: 1em">[1] <br>
active=yes <br>
alarms=RED <br>
description=T2XXP (PCI) Card 0 Span 1 <br>
name=TE2/0/1 <br>
manufacturer=Digium <br>
devicetype=Wildcard TE205P (4th Gen) <br>
location=Board ID Switch 0 <br>
basechan=1 <br>
totchans=24 <br>
irq=193 <br>
type=digital&minus;T1 <br>
syncsrc=0 <br>
lbo=0 db (CSU)/0&minus;133 feet (DSX&minus;1) <br>
coding_opts=B8ZS,AMI <br>
framing_opts=ESF,D4 <br>
coding=B8ZS <br>
framing=ESF</p>

<p style="margin-left:11%; margin-top: 1em">The
&quot;type&quot; field may contain: &quot;analog&quot;,
&quot;digital&minus;T1&quot;, &quot;digital&minus;E1&quot;,
&quot;digital&minus;J1&quot; or
&quot;digital&minus;BRI&quot;.</p>

<h2>FILES
<a name="FILES"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Requires read
access to /dev/dahdi/ctl .</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">dahdi_cfg(8),
asterisk(8).</p>

<h2>BUGS
<a name="BUGS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">The program
still does not do everything described in the man page.</p>

<p style="margin-left:11%; margin-top: 1em">It also assumes
that spans don&rsquo;t skip channel numbers, and that their
channel numbers are &quot;running&quot;. This is anyway
almost always the case. And always the case in a normal boot
process.</p>

<h2>AUTHOR
<a name="AUTHOR"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">This manual
page was written by Tzafrir Cohen
&lt;tzafrir.cohen@xorcom.com&gt; Permission is granted to
copy, distribute and/or modify this document under the terms
of the GNU General Public License, Version 2 any later
version published by the Free Software Foundation.</p>

<p style="margin-left:11%; margin-top: 1em">On Debian
systems, the complete text of the GNU General Public License
can be found in /usr/share/common&minus;licenses/GPL.</p>
<hr>
</body>
</html>