pattest

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
BUGS
SEE ALSO
AUTHOR

NAME

pattest — Tests a Pattern for a Zaptel Clear Channel Test

SYNOPSIS

pattest zap-device

DESCRIPTION

pattest Recieves test data from a Zaptel channel and checks if it matches the test pattern. The channel should be of CLEAR signalling (e.g: B channel of a PRI line). patgen(8) is used to generate the data at the other side.

pattest Must be able to read from the channel. Hence this cannot be used for a channel used by Asterisk.

The pattern is a simple series of values from 0 to 255. Hence it takes at most one sample to get in sync with the other side. If there is no output, all is well. Output is an error message.

OPTIONS

zap-device

A Zaptel device file.

EXAMPLE

pattest /dev/zap/5

BUGS

Will not work with channels whose number > 249 as they don’t have device files. For a simple workaround, see ztdiag.c .

Gives way too many errors when does not get any input.

SEE ALSO

patgen(8), ztcfg(8), asterisk(8).

AUTHOR

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.