FXOTUNE(8) | System Manager's Manuals: Asterisk | FXOTUNE(8) |
NAME¶
fxotune - automatically tune DAHDI FXO channelsSYNOPSIS¶
fxotune -i [options] - detect modeDESCRIPTION¶
fxotune is a script that fine-tune parameters of the FXO modules of the card. It has three modes of operation:OPTIONS¶
The following options below except -v (verbose) affect only the detection process and hence apply only to the detect and dump modes.Start tuning from dahdi channel num.
startdev: skip all previous channels. By default starting from channel 1.
In dump mode (-d) this is the single channel that will be tested.
Tune only up to dahdi channel num.
stopdev: skip all previous channels. By default stopping at channel 252.
In dump mode (-d) this parameter is ignored.
Time in seconds to wait after dialing the
dial-string to get a clear line. The default is 0. before
Time in seconds which states how long the PSTN
will wait after we dialed the dial-string until it starts giving a busy tone.
You can test this by connecting an analog phone to the line and dialing.
The default is 18 (18 seconds).
Digits to dial to the PSTN in order to get it
stop its dialtone and waiting for the next digit.
The default is "4" (sending just the digit 4). It should work in most
cases. Again, this can be tested by connecting a phone to the PSTN line and
dialing the dial-string.
This option allows using the older detection
method used by fxotune of Zaptel 1.2. use -t 1 for that older method.
whereas -t 2 (the default) uses the current method.
This option only applies to detect mode (-i).
Sets debugging on. The more v-s, the higher
debug level.
Note that: -vv -v will actually set debug level to 1 instead of 3.
The default: -1, for multitone waveform.
Alternatively: a frequency of a single tone.
This option only applies to dump mode (-d).
EXAMPLES¶
fxotune -i 9
if you need to dial 9 for an external line. If you always get a line, you can
simply use any digit.
Load settings from the last test. Used at
startup.
FILES¶
/etc/fxotune.confThe configuration file generated by fxotune in
detect mode and from which configuration is loaded when -s is used.
NOTES¶
Running fxotune takes approximately a minute per port. If you wish to only run fxotune for several ports, you can use the options -b and -e to set a specific range of ports. Another useful trick is to actually keep asterisk running, and only "destroy" the dahdi channels you wish to tune (dahdi destroy channel NNN): other channels will be used by Asterisk, and hence skipped. This can be useful if you have many FXO ports that are not connected.SEE ALSO¶
dahdi_cfg(8), dahdi_tool(8), dahdi_monitor(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.9 June 2007 | asterisk |