1DAHDI_REGISTRATION(8) User Contributed Perl DocumentationDAHDI_REGISTRATION(8)
2
3
4
6 dahdi_registration - Handle registration of Xorcom XPD modules in
7 dahdi.
8
10 dahdi_registration [-s sortorder] [on|off]
11
13 Without parameters, show all connected XPDs sorted by physical
14 connector order. Each one is show to be unregistered (off), or
15 registered to a specific dahdi span (the span number is shown).
16
17 All registerations/deregisterations are sorted by physical connector
18 string.
19
20 Span registration should generally always succeed. Span unregistration
21 may fail if channels from the span are in use by e.g. asterisk. In such
22 a case you'll also see those channels as '(In use)' in the output of
23 lsdahdi(8).
24
25 Parameters
26 off -- deregisters all XPD's from dahdi.
27
28 on -- registers all XPD's to dahdi.
29
30 Options
31 -s sort_order
32 The sort order to use.
33
34 If the option is not used, the sort order is taken from the environment
35 variable XBUS_SORT and failing that: the hard-coded default of
36 SORT_CONNECTOR.
37
38 The available sorting orders are documented in Dahdi::Xpp manual.
39
40 Sample Output
41 An example of the output of dahdi_registration for some registered
42 Astribanks:
43
44 $ dahdi_registration -s type
45 XBUS-01 usb:0000153 usb-0000:00:10.4-2
46 XBUS-01/XPD-00: on Span 1
47 XBUS-01/XPD-01: on Span 2
48 XBUS-00 usb:0000157 usb-0000:00:10.4-4
49 XBUS-00/XPD-00: on Span 3
50 XBUS-00/XPD-01: on Span 4
51 XBUS-00/XPD-02: on Span 5
52 XBUS-00/XPD-03: on Span 6
53 XBUS-00/XPD-04: on Span 7
54 XBUS-00/XPD-05: on Span 8
55 XBUS-00/XPD-06: on Span 9
56 XBUS-00/XPD-07: on Span 10
57 XBUS-02 usb-0000:00:10.4-1
58 XBUS-02/XPD-00: on Span 11
59 XBUS-02/XPD-10: on Span 12
60 # Sorted: type
61
63 /proc/xpp/XBUS-nn/XPD-mm/dahdi_registration
64 Reading from this file shows if if the if the specific XPD is
65 registered. Writing to it 0 or 1 registers / unregisters the
66 device.
67
68 This should allow you to register / unregister a specific XPD
69 rather than all of them.
70
71
72
73perl v5.12.0 2008-07-03 DAHDI_REGISTRATION(8)