1LSDAHDI(8) User Contributed Perl Documentation LSDAHDI(8)
2
3
4
6 lsdahdi - List all Dahdi channels with their types and spans.
7
9 lsdahdi
10
12 Example output:
13
14 ### Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
15 1 FXO FXOLS (In use)
16 2 FXS FXSKS
17 3 FXS FXSKS
18 4 FXS FXSKS
19 ### Span 2: XBUS-00/XPD-00 "Xorcom XPD #00/00: FXO"
20 5 FXO FXSKS (In use)
21 6 FXO FXSKS (In use) (no pcm)
22 7 FXO FXSKS (In use) (no pcm)
23 8 FXO FXSKS (In use) (no pcm)
24 9 FXO FXSKS (In use) (no pcm)
25 10 FXO FXSKS (In use) (no pcm)
26 11 FXO FXSKS (In use) (no pcm)
27 12 FXO FXSKS (In use) (no pcm)
28 ### Span 3: XBUS-00/XPD-10 "Xorcom XPD #00/10: FXO"
29 13 FXO FXSKS (In use) (no pcm)
30 14 FXO FXSKS (In use) (no pcm)
31 15 FXO FXSKS (In use) (no pcm)
32 16 FXO FXSKS (In use) (no pcm)
33 17 FXO FXSKS (In use) (no pcm)
34 18 FXO FXSKS (In use) (no pcm)
35 19 FXO FXSKS (In use) (no pcm)
36 20 FXO FXSKS (In use) (no pcm)
37
38 ...
39
40 ### Span 6: XBUS-01/XPD-00 "Xorcom XPD #01/00: FXS"
41 37 FXS FXOLS (In use)
42 38 FXS FXOLS (In use) (no pcm)
43 39 FXS FXOLS (In use) (no pcm)
44 40 FXS FXOLS (In use) (no pcm)
45 41 FXS FXOLS (In use) (no pcm)
46 42 FXS FXOLS (In use) (no pcm)
47 43 FXS FXOLS (In use) (no pcm)
48 44 FXS FXOLS (In use) (no pcm)
49 45 Output FXOLS (In use) (no pcm)
50 46 Output FXOLS (In use) (no pcm)
51 47 Input FXOLS (In use) (no pcm)
52 48 Input FXOLS (In use) (no pcm)
53 49 Input FXOLS (In use) (no pcm)
54 50 Input FXOLS (In use) (no pcm)
55
56 The first column is the type of the channel (port, for an analog
57 device) and the second one is the signalling (if set).
58
60 lsdahdi is a somewhat glorified 'cat /proc/dahdi/*' . Unlike that
61 command, it sorts the spans with the proper order. It also formats the
62 output slightly differently.
63
64
65
66perl v5.36.0 2022-07-20 LSDAHDI(8)