summaryrefslogtreecommitdiff
path: root/doc/fxotune.8
blob: 2236a70af8c5fb7ffe7544625ee960b0d1c802e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH FXOTUNE 8 "September 10th, 2005" "Xorcom Rapid Asterisk" "Linux Programmer's Manual"
.SH NAME
.B fxotune
\(em automatically tune FXO channels on a Digium TDM400 card
.SH SYNOPSIS
.B fxotune -i 
.I <dialstr> 
\(em detect 

.B fxotune -s 
\(em load settings

.SH DESCRIPTION
.B fxotune 
is a script that fine-tune parameters of the FXO modules of the TDM400
card. Whene run in 
.I detect
mode (-i) it detects and tunes all the FXO channels of such cards. It 
needs a dial string after which the line(s) will give dial tone.

It writes settings to a configuration file (/etc/fxotune.conf , name 
is hardwired) from which it can be loaded (e.g: at startup) using -s .


.SH OPTIONS
.B -i
.RS
.I dialstr
Start detecting optimal settings.  
.I dialstr
Is a number needed to dial to get a dial tone.
The test can take several minutes, and must be performed when Asterisk
is not running.

For example: 
.RS
fxotune -i 9
.RE
if you need to dial 9 for an external line. If you always get a line, you
can simply use any digit.
.RE

.B -s
.RS
Load settings from the last test. Used at startup.
.RE

.SH FILES
.I /etc/fxotune.conf
.RS
The configuration file generated by fxotune in detect mode and from which
configuration is loaded when 
.B -s
is used.

.SH SEE ALSO 
ztcfg(8), zttool(8), ztmonitor(8), asterisk(8). 

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