---
name: "zt_registration"
section: "8"
platform: "linux"
package: "zaptel"
version: "1:1.4.11~dfsg-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/zt_registration"
---

# zt\_registration(8)

Handle registration of Xorcom XPD modules in zaptel.

## NAME

zt\_registration - Handle registration of Xorcom XPD modules in zaptel.

## SYNOPSIS

zt\_registration \[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 zaptel 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 [*lszaptel*(8)](/lszaptel/8.md).

### Parameters

off -- deregisters all XPD's from zaptel.

on -- registers all XPD's to zaptel.

### Sample Output

An example of the output of zt\_registration for some registered Astribanks:

```
  $ zt_registration
  XBUS-02         []      usb-0000:00:1d.7-4
          XBUS-00/XPD-00: on Span 1
          XBUS-00/XPD-10: on Span 2
  XBUS-00         [usb:00000126]  usb-0000:00:1d.7-2
          XBUS-02/XPD-00: on Span 3
          XBUS-02/XPD-10: on Span 4
          XBUS-02/XPD-20: on Span 5
          XBUS-02/XPD-30: on Span 6
  XBUS-01         [usb:00000128]  usb-0000:00:1d.7-1
          XBUS-01/XPD-00: on Span 7
          XBUS-01/XPD-10: on Span 8
          XBUS-01/XPD-20: on Span 9
          XBUS-01/XPD-30: on Span 10
```

## FILES

- /proc/xpp/XBUS-nn/XPD-mm/zt\_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.
