---
name: "fxstest"
section: "8"
platform: "linux"
package: "dahdi"
version: "1:2.5.0.1-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/fxstest"
---

# fxstest(8)

Simple tests for DAHDI FXS adapters

## NAME

fxstest - Simple tests for DAHDI FXS adapters

## SYNOPSIS

**fxstest /dev/dahdi/*N comand***

## DESCRIPTION

fxstest can be used to issue one of a number simple tests to FXS adapters (analog adapters intended to connect phones).

## OPTIONS

All of those tests operate on a single dahdi channel which has to be an FXS port, and must not be in use by Asterisk or any other program.

The command has two mandatory parameters. The first parameter is the device file to operate on. It is typically /dev/dahdi/NN , a device file under /dev/dahdi .

The second parameter is the name of the command to run on that channel:

*stats*

Reports voltages

*regdump*

Dumps ProSLIC registers

*tones*

Plays a series of tones

*polarity*

Requests channel to reverse polarity.

*ring*

Rings phone

## SEE ALSO

[dahdi\_tool(8)](/dahdi_tool/8.md), [dahdi\_cfg(8)](/dahdi_cfg/8.md), [dahdi\_monitor(8)](/dahdi_monitor/8.md), [asterisk(8)](/asterisk/8.md).

## BUGS

Does not allow testing channels beyond 249. Should support opening channels through /dev/dahdi/channel .

## 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.
