Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dahdi_registration(8) [debian man page]

DAHDI_REGISTRATION(8)					User Contributed Perl Documentation				     DAHDI_REGISTRATION(8)

NAME
dahdi_registration - Handle registration of Xorcom XPD modules in dahdi. SYNOPSIS
dahdi_registration [-s sortorder] [on|off] DESCRIPTION
Without parameters, show all connected XPDs sorted by physical connector order. Each one is show to be unregistered (off), or registered to a specific dahdi span (the span number is shown). All registerations/deregisterations are sorted by physical connector string. Span registration should generally always succeed. Span unregistration may fail if channels from the span are in use by e.g. asterisk. In such a case you'll also see those channels as '(In use)' in the output of lsdahdi(8). Parameters off -- deregisters all XPD's from dahdi. on -- registers all XPD's to dahdi. Options -s sort_order The sort order to use. If the option is not used, the sort order is taken from the environment variable XBUS_SORT and failing that: the hard-coded default of SORT_XPPORDER. The available sorting orders are documented in Dahdi::Xpp manual. Sample Output An example of the output of dahdi_registration for some registered Astribanks: $ dahdi_registration -s type XBUS-01 usb:0000153 usb-0000:00:10.4-2 XBUS-01/XPD-00: on Span 1 XBUS-01/XPD-01: on Span 2 XBUS-00 usb:0000157 usb-0000:00:10.4-4 XBUS-00/XPD-00: on Span 3 XBUS-00/XPD-01: on Span 4 XBUS-00/XPD-02: on Span 5 XBUS-00/XPD-03: on Span 6 XBUS-00/XPD-04: on Span 7 XBUS-00/XPD-05: on Span 8 XBUS-00/XPD-06: on Span 9 XBUS-00/XPD-07: on Span 10 XBUS-02 usb-0000:00:10.4-1 XBUS-02/XPD-00: on Span 11 XBUS-02/XPD-10: on Span 12 # Sorted: type FILES
/proc/xpp/XBUS-nn/XPD-mm/dahdi_registration Reading from this file shows if if the if the specific XPD is registered. Writing to it 0 or 1 registers / unregisters the device. This should allow you to register / unregister a specific XPD rather than all of them. perl v5.14.2 2011-07-11 DAHDI_REGISTRATION(8)

Check Out this Related Man Page

LSDAHDI(8)						User Contributed Perl Documentation						LSDAHDI(8)

NAME
lsdahdi - List all dahdi channels with their types and spans. SYNOPSIS
lsdahdi DESCRIPTION
Example output: ### Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1" 1 FXO FXOLS (In use) 2 FXS FXSKS 3 FXS FXSKS 4 FXS FXSKS ### Span 2: XBUS-00/XPD-00 "Xorcom XPD #00/00: FXO" 5 FXO FXSKS (In use) 6 FXO FXSKS (In use) (no pcm) 7 FXO FXSKS (In use) (no pcm) 8 FXO FXSKS (In use) (no pcm) 9 FXO FXSKS (In use) (no pcm) 10 FXO FXSKS (In use) (no pcm) 11 FXO FXSKS (In use) (no pcm) 12 FXO FXSKS (In use) (no pcm) ### Span 3: XBUS-00/XPD-10 "Xorcom XPD #00/10: FXO" 13 FXO FXSKS (In use) (no pcm) 14 FXO FXSKS (In use) (no pcm) 15 FXO FXSKS (In use) (no pcm) 16 FXO FXSKS (In use) (no pcm) 17 FXO FXSKS (In use) (no pcm) 18 FXO FXSKS (In use) (no pcm) 19 FXO FXSKS (In use) (no pcm) 20 FXO FXSKS (In use) (no pcm) ... ### Span 6: XBUS-01/XPD-00 "Xorcom XPD #01/00: FXS" 37 FXS FXOLS (In use) 38 FXS FXOLS (In use) (no pcm) 39 FXS FXOLS (In use) (no pcm) 40 FXS FXOLS (In use) (no pcm) 41 FXS FXOLS (In use) (no pcm) 42 FXS FXOLS (In use) (no pcm) 43 FXS FXOLS (In use) (no pcm) 44 FXS FXOLS (In use) (no pcm) 45 Output FXOLS (In use) (no pcm) 46 Output FXOLS (In use) (no pcm) 47 Input FXOLS (In use) (no pcm) 48 Input FXOLS (In use) (no pcm) 49 Input FXOLS (In use) (no pcm) 50 Input FXOLS (In use) (no pcm) The first column is the type of the channel (port, for an analog device) and the second one is the signalling (if set). FILES
lsdahdi is a somewhat glorified 'cat /proc/dahdi/*' . Unlike that command, it sorts the spans with the proper order. It also formats the output slightly differently. perl v5.14.2 2010-03-03 LSDAHDI(8)
Man Page