[zaptel-commits] tzafrir: branch 1.4 r2229 -
/branches/1.4/doc/fxotune.8
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Mon Feb 26 03:13:35 MST 2007
Author: tzafrir
Date: Mon Feb 26 04:13:34 2007
New Revision: 2229
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2229
Log:
The fxotune man page was misleading. Dumping some content into it.
Still needs work.
Modified:
branches/1.4/doc/fxotune.8
Modified: branches/1.4/doc/fxotune.8
URL: http://svn.digium.com/view/zaptel/branches/1.4/doc/fxotune.8?view=diff&rev=2229&r1=2228&r2=2229
==============================================================================
--- branches/1.4/doc/fxotune.8 (original)
+++ branches/1.4/doc/fxotune.8 Mon Feb 26 04:13:34 2007
@@ -4,7 +4,7 @@
\(em automatically tune FXO channels on a Digium TDM400 card
.SH SYNOPSIS
.B fxotune -i
-.I <dialstr>
+.I OPTIONS
\(em detect
.B fxotune -s
@@ -21,8 +21,20 @@
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 .
+You are advised to run fxotune on all FXO ports you have that support
+it and that are connected. Note that the tunning is affected by e.g.
+the physical parameters of the connection, and thus if it has been
+radically changed, you may need to re-run fxotune.
+
+.B fxotune
+has two operation modes: tune (-i) and set (-s). In the tune mode it
+generates /etc/fxotune.conf, and in the set mode it merely applies the
+parameters from fxotune.conf to device's ports.
.SH OPTIONS
+.B THIS SECTION CURRENTLY DOCUMENTS THE OLD SYNTAX OF FXOTUNE. RUN fxotune
+WITHOUT ANY PARAMETERS TO GET A USAGE MESSAGE.
+
.B -i
.RS
.I dialstr
@@ -53,6 +65,33 @@
.B -s
is used.
+.SH 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 zaptel channels you wish to tune (zap
+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.
+
+.B fxotune
+writes immedietly to
+.B /etc/fxo.conf
+so if you stop it half-way, you may get a half-configured system. If you
+have already tuned your FXO channels and wish to test-run fxotune again,
+you are advised to backup /etc/fxotune.conf .
+
+The default for -m is 18 seconds. This asusmes that you get a clear line
+for at least 18 seconds. It is advised that you test that timeout earlier
+by connecting a phone to the FXO line, dialing 4 (or whatever dial string
+you put with ___) and see how much time of silence you have.
+
+If you connect your device to a PSTN provider that is not in the US, there
+is a similar operation you should apply before even getting to fxotune:
+setting the opermode. The opermode sets a number of country-specific
+parameters. For the Digium analog cards this is set through the kernel module
+parameter 'opermode' . For the Xorcom Astribank this is set through the
+variable 'opermode' in /etc/default/zaptel or /etc/sysconfig/zaptel .
+
.SH SEE ALSO
ztcfg(8), zttool(8), ztmonitor(8), asterisk(8).
More information about the zaptel-commits
mailing list