Langue: en

Version: 174868 (fedora - 06/07/09)

Section: 8 (Commandes administrateur)


ztscan --- Print Configuration of Zaptel Spans


ztscan [spans]


ztscan prints information about zaptel spans in the system. For analog spans it also provides a list of channels.

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.

Output is printed to the standard output. The format is that of an Asterisk configuration file (similar to a "ini" 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 "ini" format and assume you have a dictionary.


Printing information for spans 1, 2 and 4:

  ztspan 1 2 4

And to print all the spans:


Information about a certain analog span:

  description=Xorcom XPD #00/10: FXS
  manufacturer=Xorcom Inc.
  devicetype=Astribank: Unit 1 Subunit 0: FXS

And an example of a digital span:

  description=T2XXP (PCI) Card 0 Span 1
  devicetype=Wildcard TE205P (4th Gen)
  location=Board ID Switch 0
  lbo=0 db (CSU)/0-133 feet (DSX-1)

The "type" field may contain: "analog", "digital-T1", "digital-E1", "digital-J1" or "digital-BRI".


Requires read access to /dev/zap/ctl .


ztcfg(8), asterisk(8).


This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> 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.
  On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.