login | register
Sat 06 of Sep, 2008 [17:18 UTC]

voip-info.org

Asterisk zttool

Created by: JustRumours,Last modification on Thu 19 of Oct, 2006 [07:05 UTC] by AndrewTD

zttool

Zaptel Tool: Shows status of Digium's interface cards; can run a loop test.

Details

zttool shows the current status the Digium Zaptel inteface cards plugged to the computer.
It displays values like Current Alarms, SyncSource, Tx/Rx Levels for each Zaptel interface.

Compile and install

  • requires libnewt (e.g. libnewt-dev package on Debian; aka newt-devel on CentOS 4.4)
  • change into your zaptel source directory and issue a 'make zttool' (followed by 'make install')


Example output


 Current Alarms:     No alarms.
 Sync Source:        Internally clocked
 IRQ Misses:               0
 Bipolar Viol:             0
 Tx/Rx Levels:         0/  0
 Total/Conf/Act:       3/  3/  0

Alternatives

  • issue a 'cat /proc/zaptel/*'
  • do a "zap show channels" at the Asterisk CLI (Command Line Interface)
  • do a "zap show status" at the CLI (introduced in Asterisk 1.1dev and 1.2 release); includes missed interrupt info
  • enter "pri show span <x>" or "pri debug span <x>" at the Asterisk CLI

Related tool: ztmonitor

ztmonitor monitors a zaptel channel. It gives you a visual representation of the sound strengths and makes it easy to see if the received or transmitted signals are too high or out of balance.

See also



Go back to Asterisk ZAP channels


Comments

Comments Filter
222

333zttool build on SuSE Enterprise 9 (SLES-9)

by rjoffe, Wednesday 24 of May, 2006 [00:47:43 UTC]
A few notes on building zttool on SLES-9:

1. Add the following packages utilizing YAST:
 a. slang-devel
 b. popt-devel
 c. tcl-develop
 d. python-develop

2. Download a copy of newt (I utilized newt-0.52.1.tar.gz)
 a. unzip/tar it somewhere
 b. cd to directory
 c. ./configure
 d. make
 e. make install
 f. ln -s /usr/lib/libnewt.so.0.52.1 /usr/lib/libnewt.so.0.52

3. build zttool
 a. cd to zaptel src directory
 b. make zttool

4 run zttool


222

333

by jmanq, Monday 06 of March, 2006 [21:52:55 UTC]
Is there anywhere that tells me what the alarms shown by zttool mean?