<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.byggvir.de/index.php?action=history&amp;feed=atom&amp;title=Einrichtung_eines_Fax-Servers_unter_Linux</id>
	<title>Einrichtung eines Fax-Servers unter Linux - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.byggvir.de/index.php?action=history&amp;feed=atom&amp;title=Einrichtung_eines_Fax-Servers_unter_Linux"/>
	<link rel="alternate" type="text/html" href="https://wiki.byggvir.de/index.php?title=Einrichtung_eines_Fax-Servers_unter_Linux&amp;action=history"/>
	<updated>2026-05-29T19:47:19Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Thomas Wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.byggvir.de/index.php?title=Einrichtung_eines_Fax-Servers_unter_Linux&amp;diff=240&amp;oldid=prev</id>
		<title>Thomas: Die Seite wurde neu angelegt: „Dieser Beitrag beschreibt die Einrichtung einen Fax-Servers unter Linux. Dazu gibt grundsätzlich genügend Beschreibungen, hier soll jedoch über die einfache…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.byggvir.de/index.php?title=Einrichtung_eines_Fax-Servers_unter_Linux&amp;diff=240&amp;oldid=prev"/>
		<updated>2018-07-08T05:44:00Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Dieser Beitrag beschreibt die Einrichtung einen Fax-Servers unter Linux. Dazu gibt grundsätzlich genügend Beschreibungen, hier soll jedoch über die einfache…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Dieser Beitrag beschreibt die Einrichtung einen Fax-Servers unter Linux. Dazu gibt grundsätzlich genügend Beschreibungen, hier soll jedoch über die einfache Einrichtung hinaus gegangen werden.&lt;br /&gt;
&lt;br /&gt;
Dazu gehört die Erweiterung der Weiterleitung der Faxe mittels [[E-Mail]], die Archivierung der eingegangenen Faxe in einer [[SQL]]-[[Datenbank]] ([[MySQL]]) und Zugriff auf die Datenbank mittels [[WEB-Browser]]. Dazu wird das script /etc/mgetty+sendfax/new_fax erweitert.&lt;br /&gt;
&lt;br /&gt;
U.a. wird folgende Software:&lt;br /&gt;
&lt;br /&gt;
[[mgetty]], [[sendfax]], [[mpack]], [[tar]], [[g3topbm]], [[nconvert]], [[gocr]]&lt;br /&gt;
&lt;br /&gt;
Ich habe die Software unter SuSE 9.3 mit YaST2 installiert. Die Installation der Software will ich jedoch nicht beschreiben.&lt;br /&gt;
&lt;br /&gt;
== Konfiguration des Fax-Servers ==&lt;br /&gt;
&lt;br /&gt;
Die Konfigurationsdateien befinden sich im Verzeichnis &amp;lt;tt&amp;gt;/etc/mgetty+sendfax/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Davon betrachten wir hier nur die folgenden Dateien&lt;br /&gt;
* fax.allow&lt;br /&gt;
* faxheader&lt;br /&gt;
* faxrunq.config&lt;br /&gt;
* faxspool.rules.sample&lt;br /&gt;
* mgetty.config&lt;br /&gt;
* new_fax&lt;br /&gt;
* sendfax.config&lt;br /&gt;
* voice.conf&lt;br /&gt;
&lt;br /&gt;
Die Datei &amp;lt;tt&amp;gt;mailintro&amp;lt;/tt&amp;gt; wird zusätzlich für das Programm [[mpack]] benötigt und enthält den Text für die Mails, mit denen die Fax-Bilder verschickt werden.&lt;br /&gt;
&lt;br /&gt;
== fax.allow ==&lt;br /&gt;
Diese Datei muss von Hand angelegt werden, da sie von der Installation nicht erzeugt wird. Hier werden die Nutzer eingetragen, die Faxe versenden dürfen.&lt;br /&gt;
&lt;br /&gt;
Beispiel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
thomas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== faxheader ==&lt;br /&gt;
Hier wird ein Default installiert, der nicht sehr sinnvoll ist. In dieser Datei wird der Kopf der Faxe festgelegt.&lt;br /&gt;
&lt;br /&gt;
Beispiel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      FAX  FROM:  Thomas Arend +49 4421 983813 TO: @T@    PAGE: @P@ OF @M@&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== faxrunq.config ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# faxrunq.config&lt;br /&gt;
#&lt;br /&gt;
# Sample configuration file for &amp;quot;faxrunq&amp;quot; and &amp;quot;faxrunqd&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# valid options: success-send-mail [y/n], failure-send-mail [y/n],&lt;br /&gt;
#                success-call-program &amp;lt;name&amp;gt;, failure-call-program &amp;lt;name&amp;gt;,&lt;br /&gt;
#		 maxfail-costly &amp;lt;n&amp;gt;, maxfail-total &amp;lt;n&amp;gt;,&lt;br /&gt;
#                delete-sent-jobs [y/n], acct-log &amp;lt;filename&amp;gt;&lt;br /&gt;
# &lt;br /&gt;
# additional options specific to faxrunqd: fax-devices &amp;lt;tty(s)&amp;gt;,&lt;br /&gt;
#                faxrunqd-log &amp;lt;filename&amp;gt;, faxrunqd-keep-logs &amp;lt;n&amp;gt;,&lt;br /&gt;
#                acct-log &amp;lt;filename&amp;gt;, policy-config &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#  say &amp;quot;y&amp;quot; here if you want a mail to be sent to the sender of the fax&lt;br /&gt;
#  when a fax has been successfully sent, &amp;quot;n&amp;quot; otherwise... (default &amp;quot;y&amp;quot;)&lt;br /&gt;
#success-send-mail n&lt;br /&gt;
&lt;br /&gt;
#  this states whether a mail should be sent when a fax could not be&lt;br /&gt;
#  transmitted at all... (default &amp;quot;y&amp;quot;)&lt;br /&gt;
#failure-send-mail n&lt;br /&gt;
&lt;br /&gt;
#  here you can specify a program that will be called for each fax that&lt;br /&gt;
#  has successfully been sent... (default: no program)&lt;br /&gt;
#success-call-program /usr/lib/mgetty+sendfax/fax-success&lt;br /&gt;
&lt;br /&gt;
#  and this program is run for each failed fax... (default: no program)&lt;br /&gt;
#failure-call-program /usr/lib/mgetty+sendfax/fax-fail&lt;br /&gt;
&lt;br /&gt;
#  how often should faxrunq retry &amp;quot;costly&amp;quot; errors (NO CARRIER, aborted&lt;br /&gt;
#  transmission, whatever - something that did cost telephone bill)?&lt;br /&gt;
#  (default: 3)&lt;br /&gt;
#maxfail-costly 5&lt;br /&gt;
&lt;br /&gt;
#  this is the absolute maximum number of tries for a given fax&lt;br /&gt;
#  (default: 10)&lt;br /&gt;
#maxfail-total 20&lt;br /&gt;
&lt;br /&gt;
#  if you want faxrunq to delete sent faxes completely, set this to &amp;quot;y&amp;quot;.&lt;br /&gt;
#  If it is set to &amp;quot;n&amp;quot;, faxes will be removed from the queue, but the&lt;br /&gt;
#  files won&amp;#039;t be deleted, that is, you can see those faxes with &lt;br /&gt;
#  &amp;quot;faxq -o&amp;quot;  (default: &amp;quot;n&amp;quot;)&lt;br /&gt;
#delete-sent-jobs y&lt;br /&gt;
&lt;br /&gt;
#  accounting log file (default: see beginning of faxrunq/faxrunqd script)&lt;br /&gt;
#acct-log /var/log/acct.log&lt;br /&gt;
&lt;br /&gt;
# The following options are for faxrunqd only:&lt;br /&gt;
&lt;br /&gt;
#  which devices to use for outgoing faxes, seperated by &amp;quot;:&amp;quot; (default: no tty)&lt;br /&gt;
#  this may be overridden by the -l command line switch&lt;br /&gt;
fax-devices ttyS0&lt;br /&gt;
&lt;br /&gt;
#  log file for faxrunqd (default: see beginning of faxrunqd script)&lt;br /&gt;
#faxrunqd-log /var/log/faxrunqd.log&lt;br /&gt;
&lt;br /&gt;
#  number of logfiles to keep around when rolling (default: 3)&lt;br /&gt;
#faxrunqd-keep-logs 5&lt;br /&gt;
&lt;br /&gt;
#  configuration file for policy routing, see faxrunqd man page for&lt;br /&gt;
#  details (default: none, i.e. don&amp;#039;t use policy routing)&lt;br /&gt;
#policy-config /etc/mgetty+sendfax/policy.config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== mgetty.config ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# mgetty configuration file&lt;br /&gt;
#&lt;br /&gt;
# this is a sample configuration file, see mgetty.info for details&lt;br /&gt;
#&lt;br /&gt;
# comment lines start with a &amp;quot;#&amp;quot;, empty lines are ignored&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# ----- global section -----&lt;br /&gt;
#&lt;br /&gt;
# In this section, you put the global defaults, per-port stuff is below&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# set the global debug level to &amp;quot;4&amp;quot; (default from policy.h)&lt;br /&gt;
debug 4&lt;br /&gt;
&lt;br /&gt;
# set the local fax station id&lt;br /&gt;
fax-id 49 175 5624003&lt;br /&gt;
&lt;br /&gt;
# access the modem(s) with 115200 bps&lt;br /&gt;
speed 115200&lt;br /&gt;
rings 1&lt;br /&gt;
notify thomas&lt;br /&gt;
&lt;br /&gt;
#  use these options to make the /dev/tty-device owned by &amp;quot;uucp.uucp&amp;quot; &lt;br /&gt;
#  and mode &amp;quot;rw-rw-r--&amp;quot; (0664). *LEADING ZERO NEEDED!*&lt;br /&gt;
port-owner uucp&lt;br /&gt;
port-group uucp&lt;br /&gt;
port-mode 0664&lt;br /&gt;
&lt;br /&gt;
#  use these options to make incoming faxes owned by &amp;quot;root.uucp&amp;quot; &lt;br /&gt;
#  and mode &amp;quot;rw-r-----&amp;quot; (0640). *LEADING ZERO NEEDED!*&lt;br /&gt;
fax-owner root&lt;br /&gt;
fax-group uucp&lt;br /&gt;
fax-mode 0640&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# ----- port specific section -----&lt;br /&gt;
# &lt;br /&gt;
# Here you can put things that are valid only for one line, not the others&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
port ttyS0&lt;br /&gt;
   debug 9&lt;br /&gt;
   switchbd 9600&lt;br /&gt;
   modem-type cls2&lt;br /&gt;
&lt;br /&gt;
# Zoom V.FX 28.8, connected to ttyS0: don&amp;#039;t do fax, less logging&lt;br /&gt;
#&lt;br /&gt;
#port ttyS0&lt;br /&gt;
#  debug 3&lt;br /&gt;
#  data-only y&lt;br /&gt;
&lt;br /&gt;
# some other Rockwell modem, needs &amp;quot;switchbd 19200&amp;quot; to receive faxes&lt;br /&gt;
# properly (otherwise it will fail with &amp;quot;timeout&amp;quot;).&lt;br /&gt;
#&lt;br /&gt;
#port ttyS1&lt;br /&gt;
#  speed 38400&lt;br /&gt;
#  switchbd 19200&lt;br /&gt;
&lt;br /&gt;
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics&lt;br /&gt;
#&lt;br /&gt;
#port ttyS2&lt;br /&gt;
#  debug 8&lt;br /&gt;
#  init-chat &amp;quot;&amp;quot; \d\d\d+++\d\d\dAT&amp;amp;FS2=255 OK ATN3S0=0S13.2=1 OK &lt;br /&gt;
#  statistics-chat &amp;quot;&amp;quot; AT OK ATI2 OK&lt;br /&gt;
#  statistics-file /var/log/statistics.ttyS2&lt;br /&gt;
#  modem-type cls2&lt;br /&gt;
&lt;br /&gt;
# direct connection of a VT100 terminal which doesn&amp;#039;t like DTR drops&lt;br /&gt;
# (&amp;quot;direct&amp;quot; meaning &amp;quot;*no* *modem*&amp;quot;.  NEVER enable &amp;quot;direct yes&amp;quot; on modem lines!)&lt;br /&gt;
#&lt;br /&gt;
#port ttyS3&lt;br /&gt;
#  direct y&lt;br /&gt;
#  speed 19200&lt;br /&gt;
#  toggle-dtr n&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== new_fax ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# sample script to automatically convert incoming faxes to pbm, uuencode&lt;br /&gt;
# and gzip them, and send them to &amp;quot;MAILTO&amp;quot;.&lt;br /&gt;
# (FAX_NOTIFY_PROGRAM in policy.h)&lt;br /&gt;
#&lt;br /&gt;
# gert@greenie.muc.de&lt;br /&gt;
#&lt;br /&gt;
# $Log: new_fax.mail,v $&lt;br /&gt;
# Revision 1.2  2000/07/16 21:18:08  gert&lt;br /&gt;
# add .gz to file names, for automatic unziping&lt;br /&gt;
#&lt;br /&gt;
MAILTO=&amp;quot;root&amp;quot;&lt;br /&gt;
MAILER=/usr/sbin/sendmail&lt;br /&gt;
&lt;br /&gt;
PATH=$PATH:/usr/local/bin&lt;br /&gt;
G3TOPBM=g32pbm&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
HUP=&amp;quot;$1&amp;quot;&lt;br /&gt;
SENDER=&amp;quot;$2&amp;quot;&lt;br /&gt;
PAGES=&amp;quot;$3&amp;quot;&lt;br /&gt;
&lt;br /&gt;
PAGEDIR=`mktemp -d /tmp/fax.XXXXXX`&lt;br /&gt;
DT=`date +%Y%m%d%H%M%S`&lt;br /&gt;
&lt;br /&gt;
shift 3&lt;br /&gt;
P=1&lt;br /&gt;
&lt;br /&gt;
while [ $P -le $PAGES ]&lt;br /&gt;
do&lt;br /&gt;
	FAX=$1&lt;br /&gt;
	RES=`basename $FAX | sed &amp;#039;s/.\(.\).*/\1/&amp;#039;`&lt;br /&gt;
	PP=`printf %3.3d $P`&lt;br /&gt;
&lt;br /&gt;
	if [ &amp;quot;$RES&amp;quot; = &amp;quot;n&amp;quot; ]&lt;br /&gt;
	then&lt;br /&gt;
		STRETCH=&amp;quot;-s&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		STRETCH=&amp;quot;&amp;quot;&lt;br /&gt;
	fi&lt;br /&gt;
	$G3TOPBM $STRETCH &amp;quot;$FAX&amp;quot; &amp;gt; $PAGEDIR/${DT}_${PP}.pbm&lt;br /&gt;
	/usr/X11R6/bin/nconvert -in pbm -out gif \&lt;br /&gt;
		-o $PAGEDIR/${DT}_${PP}.gif \&lt;br /&gt;
		$PAGEDIR/${DT}_${PP}.pbm&lt;br /&gt;
	shift&lt;br /&gt;
	P=`expr $P + 1`&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
# Fax Seiten packen&lt;br /&gt;
pushd $PAGEDIR&lt;br /&gt;
tar czf $DT.tgz *.pbm *.gif&lt;br /&gt;
popd&lt;br /&gt;
&lt;br /&gt;
# Fax als Mail verschicken.&lt;br /&gt;
mpack -s &amp;quot;Fax von $SENDER - Seiten $PAGES&amp;quot;  -d /etc/mgetty+sendfax/mailintro &amp;quot;$PAGEDIR/${DT}.tgz&amp;quot; thomas&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== sendfax.config ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# sendfax configuration file&lt;br /&gt;
#&lt;br /&gt;
# this is a sample configuration file, see mgetty.info for details&lt;br /&gt;
#&lt;br /&gt;
# comment lines start with a &amp;quot;#&amp;quot;, empty lines are ignored&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# ----- global section -----&lt;br /&gt;
#&lt;br /&gt;
# In this section, you put the global defaults, per-port stuff is below&lt;br /&gt;
&lt;br /&gt;
# tell everybody what&amp;#039;s going on&lt;br /&gt;
verbose y&lt;br /&gt;
&lt;br /&gt;
# ... and send everything to the log file (quite detailed)&lt;br /&gt;
debug 5&lt;br /&gt;
&lt;br /&gt;
# which devices to use for outgoing faxes&lt;br /&gt;
fax-devices ttyS0&lt;br /&gt;
&lt;br /&gt;
# which fax number to transmit to the receiving station&lt;br /&gt;
fax-id +491755624003&lt;br /&gt;
&lt;br /&gt;
# which command is used to dial out? (Could be ATD, ATDP, ATX3D0W...)&lt;br /&gt;
#dial-prefix ATD&lt;br /&gt;
&lt;br /&gt;
# try transmitting every page three times, continue if 3rd try fails as well&lt;br /&gt;
max-tries 3&lt;br /&gt;
max-tries-continue y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# ----- port specific section -----&lt;br /&gt;
# &lt;br /&gt;
# Here you can put things that are valid only for one line, not the others&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# Modem on ttyS0 needs special initialization to do h/w handshaking&lt;br /&gt;
#port ttyS0&lt;br /&gt;
#  modem-handshake AT&amp;amp;K4&lt;br /&gt;
&lt;br /&gt;
# Modem on ttyS1 doesn&amp;#039;t work reliably in class 2.0, use class 2 instead&lt;br /&gt;
port ttyS0&lt;br /&gt;
modem-type cls2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== voice.conf ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# Sample voice configuration file&lt;br /&gt;
# -------------------------------&lt;br /&gt;
#&lt;br /&gt;
# $Id: voice.conf-dist,v 1.11 2002/12/15 19:43:49 gert Exp $&lt;br /&gt;
#&lt;br /&gt;
# This file is read twice: First the program configuration is read and&lt;br /&gt;
# second the port configuration. This means that generic values at the&lt;br /&gt;
# beginning of the file will override program values on the second read.&lt;br /&gt;
# So if you want to make a generic value program dependant, remove it&lt;br /&gt;
# from the generic part of the config file.&lt;br /&gt;
#&lt;br /&gt;
# Watch out! Some options in this file are not yet implemented or only&lt;br /&gt;
# available with some modems.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Generic default values&lt;br /&gt;
# ----------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
part generic&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Possible log levels are:&lt;br /&gt;
#&lt;br /&gt;
# L_FATAL    0&lt;br /&gt;
# L_ERROR    1&lt;br /&gt;
# L_AUDIT    2&lt;br /&gt;
# L_WARN     3&lt;br /&gt;
# L_MESG     4&lt;br /&gt;
# L_NOISE    5&lt;br /&gt;
# L_JUNK     6&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
voice_log_level 4&lt;br /&gt;
&lt;br /&gt;
# Where stderr of the voice shell script should go.&lt;br /&gt;
# %s will be replaced by the tty name (like for the vgetty/mgetty log).&lt;br /&gt;
# If not defined, stderr goes to the modem.&lt;br /&gt;
voice_shell_log /var/log/vgetty_voice_shell.%s&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Primary voice directory for vgetty.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
voice_dir /var/spool/voice&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# incoming messages are owned by &amp;quot;root.phone&amp;quot; and mode &amp;quot;rw-rw----&amp;quot; (0660)&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
phone_owner root&lt;br /&gt;
phone_group phone&lt;br /&gt;
phone_mode 0660&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Location of the flag file for new incoming messages relative to the&lt;br /&gt;
# primary voice directory.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
message_flag_file .flag&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Location where vgetty stores the incoming voice messages relative to&lt;br /&gt;
# the primary voice directory.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
receive_dir incoming&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Directory containing the messages for vgetty (greeting, handling the&lt;br /&gt;
# answering machine) relative to the primary voice directory.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
message_dir messages&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Name of file played before any random or backup message is played.&lt;br /&gt;
# Can be used, for instance, to play a set of tones to discourage&lt;br /&gt;
# telemarketers.  Defaults to null.&lt;br /&gt;
&lt;br /&gt;
#pre_message sit_tones.rmd&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Name of the file in MESSAGE_DIR that contains the names of&lt;br /&gt;
# the greeting message files (one per line, no white space).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
message_list Index&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Filename of a backup greeting message in MESSAGE_DIR (used if&lt;br /&gt;
# the random selection fails to find a message).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
backup_message standard.rmd&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default port speed. The bps rate must be high enough for the compression&lt;br /&gt;
# mode used. Note that this is an integer, not one of the Bxxxx defines.&lt;br /&gt;
# Basically you should select the highest possible speed your modem and&lt;br /&gt;
# computer support. The default value is 38400.&lt;br /&gt;
# For V 250 compatibel modems you get the supported speeds with the command&lt;br /&gt;
# AT+IPR=? (with a terminal program like minicom)&lt;br /&gt;
# (AT+IPR=0 means autobauding, don&amp;#039;t set any other value!)&lt;br /&gt;
#&lt;br /&gt;
# WARNING: if you use vgetty, this MUST be the same value as the&lt;br /&gt;
#          setting of &amp;quot;speed &amp;lt;n&amp;gt;&amp;quot; in mgetty.config.  If you change one,&lt;br /&gt;
#          change the other one as well!&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
port_speed 38400&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default shell to invoke for shell scripts. Make sure this shell&lt;br /&gt;
# understands things like funtions, because the scripts rely on this.&lt;br /&gt;
# The default is &amp;quot;/bin/sh&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
voice_shell /bin/sh&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default port timeout in seconds for a read or write operation. The&lt;br /&gt;
# default value is 10 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
port_timeout 10&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default timeout for a dialout in seconds. The default value is 90 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dial_timeout 90&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Delay before sending a new voice command to the modem in milliseconds.&lt;br /&gt;
# The default is 100 milliseconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
command_delay 100&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Minimum length of detected DTMF tones, in milliseconds. This is&lt;br /&gt;
# currently only supported by ZyXel modems with a ROM release of 6.12&lt;br /&gt;
# or above. The default is 30 milliseconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dtmf_len 30&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DTMF tone detection threshold in percent (0% to 100%). Increase this&lt;br /&gt;
# if the modem erroneously detects DTMF tones, decrease it if it fails to&lt;br /&gt;
# detect real ones. This is currently only supported by ZyXel modems&lt;br /&gt;
# with a ROM release of 6.12 or above. The default is 40%.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dtmf_threshold 40&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Time to wait for a DTMF tone to arrive when recording or waiting&lt;br /&gt;
# for DTMF input in seconds. The default is to wait for 7 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dtmf_wait 7&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# In Australia the frequency of the busy signal is the same as the&lt;br /&gt;
# frequency of the fax calling tone. This causes problems on at least&lt;br /&gt;
# some modems. They report a fax calling tone, when there is a busy&lt;br /&gt;
# signal in reality. To help those user, vgetty will ignore any fax&lt;br /&gt;
# calling tone detected by the modem, when this option is set.&lt;br /&gt;
#&lt;br /&gt;
# The following companys suffer from this problem:&lt;br /&gt;
# - Telstra (formerly Telecom Australia)&lt;br /&gt;
# - Optus&lt;br /&gt;
# - Austel (regulatory authority)&lt;br /&gt;
#&lt;br /&gt;
# The default is of course off.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
ignore_fax_dle false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Output recorded voice samples without header and expect raw voice&lt;br /&gt;
# data on input for playback. This feature is turned off by default.&lt;br /&gt;
# Don&amp;#039;t enable it unless you really know, what you are doing!&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
raw_data false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# This is the default compression mode for vgetty for incoming voice&lt;br /&gt;
# messages and for the recording option of vm. The mode 0 is a special&lt;br /&gt;
# mode, that will automatically choose a sane default value for every&lt;br /&gt;
# modem. The default is 0.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_compression 0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# This is the default recording speed for vgetty for incoming voice&lt;br /&gt;
# messages and for the recording option of vm. It is the number of samples&lt;br /&gt;
# per second. The speed 0 is a special speed, that will automatically&lt;br /&gt;
# choose a sane default value for every modem. The default is 0.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_speed 0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Silence detection length in 0.1 seconds. If the modem detects silence&lt;br /&gt;
# for this time, it sends a silence detect to the host. Default is&lt;br /&gt;
# 7 seconds (70 * 0.1 seconds).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_silence_len 70&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Silence detection threshold in percent (0% to 100%). Increase this value&lt;br /&gt;
# if you have a noisy phone line and the silence detection doesn&amp;#039;t work&lt;br /&gt;
# reliably. The default is 40%.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_silence_threshold 40&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If REC_REMOVE_SILENCE is enabled, the trailing silence of an incoming&lt;br /&gt;
# voice message as detected by the modem will be deleted. This might&lt;br /&gt;
# cause you to miss parts of a message if the silence threshold is&lt;br /&gt;
# high and the caller is talking very quietly. To be on the safe side,&lt;br /&gt;
# don&amp;#039;t define this. This feature is turned off by default.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_remove_silence false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Maximum recording length in seconds. Hang up if somebody talks&lt;br /&gt;
# longer than this. Default is 5 minutes (300 seconds).&lt;br /&gt;
# If this is set to zero, disables recording.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_max_len 300&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Minimum recording length in seconds. Some modems can not detect&lt;br /&gt;
# data or fax modems, so we use the recording time, to decide,&lt;br /&gt;
# what it is. This feature is by default disabled.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_min_len 0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Enable hardware flow in record and playback mode if the modem&lt;br /&gt;
# supports it. This option is by default on.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
do_hard_flow true&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# if set, alternate sound to replace standard &amp;quot;beep&amp;quot; tone when&lt;br /&gt;
# answering the phone.  This is null by default -- in that case&lt;br /&gt;
# the beep specified below will be used instead.  (This setting&lt;br /&gt;
# will not affect the BEEP command given from the shell.)&lt;br /&gt;
#&lt;br /&gt;
# beepsound beepsound.rmd&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Frequency for the beep command in Hz. The default is 933Hz.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
beep_frequency 933&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Length for the beep command in msec. The default is 1.5 seconds&lt;br /&gt;
# (1500 * 0.001 seconds).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
beep_length 1500&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Number of tries to open a voice modem device. The default is 3.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
max_tries 3&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Delay between two tries to open a voice device in seconds. The default&lt;br /&gt;
# is 5 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
retry_delay 5&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default timeout for the voice watchdog. If this timer expires, the&lt;br /&gt;
# running program will be terminated. The default is 60 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
watchdog_timeout 60&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Some modems support setting the receive gain. This value can be set in&lt;br /&gt;
# percent (0% to 100%). 0% is off, 100% is maximum. To use the modem&lt;br /&gt;
# default value set this to -1. The default is -1.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
receive_gain -1&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Some modems support setting the transmit gain. This value can be set in&lt;br /&gt;
# percent (0% to 100%). 0% is off, 100% is maximum. To use the modem&lt;br /&gt;
# default value set this to -1. The default is -1.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
transmit_gain -1&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Usually command echo from the modem should be enabled. Since some modems&lt;br /&gt;
# sometimes forget this echo, it is disabled by default. Turning this option&lt;br /&gt;
# off makes things more reliable, but bugs are much harder to trace. So&lt;br /&gt;
# don&amp;#039;t ever think about mailing me a bug report with command echo turned&lt;br /&gt;
# off. I will simply ignore it. The default is to disable command echo.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
enable_command_echo false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Time in msec for the delay, when no new data are received from the modem. A higher value will decrease&lt;br /&gt;
# machine load by increasing vgettys reaction time. The default is 10 msec.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
poll_interval 10&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The ML 56k Office, Internet (I), pro and Basic &lt;br /&gt;
# with actual firmware support 2 commandsets:&lt;br /&gt;
# The one in Elsa.c wich is autodetected and&lt;br /&gt;
# the ITU V253 (if you say TRUE here for this modems you also have to set&lt;br /&gt;
# rec_speed 7200)&lt;br /&gt;
# Default is FALSE&lt;br /&gt;
&lt;br /&gt;
#forceV253 FALSE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Program specific initializations&lt;br /&gt;
# --------------------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default values for vgetty&lt;br /&gt;
# -------------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
program vgetty&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default number of rings to wait before picking up the phone.&lt;br /&gt;
#&lt;br /&gt;
# Instead of a number, you can also give a file name, that contains&lt;br /&gt;
# a single number with the desired number of rings. Vgetty will&lt;br /&gt;
# automatically append the name of the modem device to the file name.&lt;br /&gt;
# The file name must be an absolut path starting with a leading &amp;quot;/&amp;quot;.&lt;br /&gt;
# E.g. &amp;quot;rings /etc/rings&amp;quot; and the modem device is ttyS0, will&lt;br /&gt;
# lead to the file name &amp;quot;/etc/rings.ttyS0&amp;quot;. If this file doesn&amp;#039;t&lt;br /&gt;
# exist, vgetty will check for a file without the modem device name&lt;br /&gt;
# appended. In this example, vgetty would check for /etc/rings.&lt;br /&gt;
#&lt;br /&gt;
# Please note, that vgetty forces the number of rings to be at least 2.&lt;br /&gt;
# This is, because the caller ID information (if available from your&lt;br /&gt;
# provider) is sent between the first and the second ring. Since we don&amp;#039;t&lt;br /&gt;
# know in advance, if you get CID or not, we stay on the save side.&lt;br /&gt;
#&lt;br /&gt;
# If you have compiled mgetty/vgetty with CNDFILE defined in policy.h&lt;br /&gt;
# then you must use the comandline option -n explained in `man mgetty`&lt;br /&gt;
# The default is 3&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rings 3&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default answer mode when vgetty picks up the phone after incoming&lt;br /&gt;
# rings.&lt;br /&gt;
#&lt;br /&gt;
# Instead of an answer mode, you can also give a file name, that&lt;br /&gt;
# contains a single line with the desired answer mode. Vgetty will&lt;br /&gt;
# automatically append the name of the modem device to the file name.&lt;br /&gt;
# The file name must be an absolut path starting with a leading &amp;quot;/&amp;quot;.&lt;br /&gt;
# E.g. &amp;quot;answer_mode /etc/answer&amp;quot; and the modem device is ttyS0, will&lt;br /&gt;
# lead to the file name &amp;quot;/etc/answer.ttyS0&amp;quot;. If this file doesn&amp;#039;t&lt;br /&gt;
# exist, vgetty will check for a file without the modem device name&lt;br /&gt;
# appended. In this example, vgetty would check for /etc/answer.&lt;br /&gt;
#&lt;br /&gt;
# The default is &amp;quot;voice:fax:data&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
answer_mode voice:fax:data&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# When switching to data or fax mode, always switch to fax mode and&lt;br /&gt;
# enable autodetection of data/fax. Some modems report wrong DLE codes&lt;br /&gt;
# and so the predetection with DLE codes does not work.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
force_autodetect false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If vgetty knows that there are new messages (the flag file exists),&lt;br /&gt;
# it will turn on the AA lamp on an external modem and enable the toll&lt;br /&gt;
# saver - it will answer the phone TOLL_SAVER_RINGS earlier than the&lt;br /&gt;
# default. This feature is turned off by default.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
toll_saver_rings 0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Should the recorded voice message file be kept even if data, fax or&lt;br /&gt;
# DTMF codes were detected? If this is set, vgetty never deletes&lt;br /&gt;
# a recording, if it is not set it will delete the recording, if an&lt;br /&gt;
# incoming data or fax call is detected or if DTMF codes were send. Also&lt;br /&gt;
# this should work in nearly every situation, it makes you loose the&lt;br /&gt;
# recording, if the caller &amp;quot;plays&amp;quot; with DTMF codes to make the message&lt;br /&gt;
# even more beautiful. This feature is enabled by default.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
rec_always_keep true&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The programs defined below get called by vgetty.&lt;br /&gt;
#&lt;br /&gt;
# Define an empty program name, if you want to disabled one of those&lt;br /&gt;
# programs.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# There are two separate uses for the Data/Voice button on a ZyXEL:&lt;br /&gt;
#&lt;br /&gt;
# - If a RING was detected recently, answer the phone with the&lt;br /&gt;
#   answer mode set for this case.&lt;br /&gt;
# - Otherwise, call an external program to play back messages&lt;br /&gt;
#&lt;br /&gt;
# If you don&amp;#039;t define button_prgogram, vgetty will always pick up&lt;br /&gt;
# the phone if Data/Voice is pressed.&lt;br /&gt;
#&lt;br /&gt;
# The default value is &amp;quot;&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
button_program&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Program called when the phone is answered, this is instead&lt;br /&gt;
# of the normal behaviour. Don&amp;#039;t define this unless you want&lt;br /&gt;
# to e.g. set up a voice mailbox where the normal answering&lt;br /&gt;
# machine behaviour would be inappropiate. The C code is probably&lt;br /&gt;
# more stable and uses less resources.&lt;br /&gt;
#&lt;br /&gt;
# The default value is &amp;quot;&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
call_program&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Program called when a DTMF command in the form &amp;#039;*digits#&amp;#039; is received.&lt;br /&gt;
# The argument is the string of digits received (without &amp;#039;*&amp;#039; and &amp;#039;#&amp;#039;).&lt;br /&gt;
# The default value is &amp;quot;dtmf.sh&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dtmf_program dtmf.sh&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Program called when a voice message has been received.&lt;br /&gt;
# The argument is the filename of the recorded message.&lt;br /&gt;
# The default value is &amp;quot;&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
message_program&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Should vgetty use the AA LED on some modems to indicate that new&lt;br /&gt;
# messages have arrived? This is done by setting the modem register&lt;br /&gt;
# S0 to a value of 255. Some modems have a maximum number of rings&lt;br /&gt;
# allowed and autoanswer after this, so they can not use this feature.&lt;br /&gt;
# This option is by default off.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
do_message_light false&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# * ring_report_delay:&lt;br /&gt;
# * This value determines the delay in /10 seconds between the falling edge&lt;br /&gt;
# * of the ring-signal (DRON response) and the RING response.&lt;br /&gt;
# * This value should be greater than the expected off-time within a distinctive&lt;br /&gt;
# * ring (DROF response). So says the ITU V.253, but it seems that&lt;br /&gt;
# * ring_report_delay should be greater than the mentioned DROF AND the following&lt;br /&gt;
# * DRON, and shorter than the long DROF!&lt;br /&gt;
#Example with ring_report_delay = 10 (2/10 sec per char):&lt;br /&gt;
#           ^&lt;br /&gt;
#ring-pulse | ...____###__##_______###__##_______###__##______....&lt;br /&gt;
#                      | | |    | |  | | |    | |  | | |&lt;br /&gt;
#                      DRON=6        DRON=6        DRON=6&lt;br /&gt;
#                        DROF=4        DROF=4        DROF=4&lt;br /&gt;
#                          DRON=4        DRON=4        DRON=4&lt;br /&gt;
#                               RING          RING&lt;br /&gt;
#                                 DROF=14       DROF=14&lt;br /&gt;
#                                                    time ---&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# Default is 15 (1.5 sec)&lt;br /&gt;
#&lt;br /&gt;
ring_report_delay 15&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default values for vm&lt;br /&gt;
# ---------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
program vm&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Voice devices that vm can use e.g. &amp;quot;voice_devices ttyS0:ttyS1&amp;quot;. Since&lt;br /&gt;
# I don&amp;#039;t know to which ports your modems are connected, the default is &amp;quot;&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
voice_devices&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout for a dialout operation in seconds. The default is 90 seconds.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
dialout_timeout 90&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout for deciding that a dialout call has been answered; if more&lt;br /&gt;
# than this many 1/10ths of a second have passed since the last ringback,&lt;br /&gt;
# the modem assumes the call has been answered.  Default is 70 (7 sec).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
ringback_goes_away 70&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout for deciding that a dialout call has been answered; if more&lt;br /&gt;
# than this many 1/10ths of a second have passed without any ringback&lt;br /&gt;
# the modem assumes the call has been answered.  Default is 100 (10 sec).&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
ringback_never_came 100&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Default values for the pvf tools&lt;br /&gt;
# --------------------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
program pvf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# There are currently no defaults.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Port specific configuration&lt;br /&gt;
# ---------------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Here you can optionally set some of the previously set values to different&lt;br /&gt;
# ones for specific ports.&lt;br /&gt;
#&lt;br /&gt;
# E.g. we have a modem on port ttyS0&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
port ttyS0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# And we want it to answer after the first ring and only in data mode.&lt;br /&gt;
# So we would define:&lt;br /&gt;
#&lt;br /&gt;
#  rings 1&lt;br /&gt;
#  answer_mode data&lt;br /&gt;
#&lt;br /&gt;
# The commands are commented out, because I don&amp;#039;t want to set some port&lt;br /&gt;
# specific defaults in this sample configuration file. I just want to&lt;br /&gt;
# show you how to do it.&lt;br /&gt;
#&lt;br /&gt;
# Now we set the values for the next port e.g. ttyS5&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
port ttyS5&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# And so on for all ports in the system, that need special treatment.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Ring type specific configuration&lt;br /&gt;
# --------------------------------&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Here you can optionally set some of the previously set values to different&lt;br /&gt;
# ones for specific ring types. The following ring types are possible:&lt;br /&gt;
#&lt;br /&gt;
# ring     - for a normal ring&lt;br /&gt;
# ring1    - for distinctive ring number 1&lt;br /&gt;
# ring2    - for distinctive ring number 2&lt;br /&gt;
# ring3    - for distinctive ring number 3&lt;br /&gt;
# ring4    - for distinctive ring number 4&lt;br /&gt;
# ring5    - for distinctive ring number 5&lt;br /&gt;
# virtual  - for a virtual ring (kill -USR1 &amp;lt;mgetty pid&amp;gt;)&lt;br /&gt;
# button   - if someone pressed the data/voice button on the modem&lt;br /&gt;
#&lt;br /&gt;
# Note: The current mgetty implementation maps the data/voice button&lt;br /&gt;
# event to a virtual ring event.&lt;br /&gt;
#&lt;br /&gt;
# Note: ISDN MSNs will be mapped to distinctive rings in the future.&lt;br /&gt;
#&lt;br /&gt;
# E.g. we want to answer the modem on a virtual ring with answer&lt;br /&gt;
# mode &amp;quot;fax:data&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
ring_type virtual&lt;br /&gt;
&lt;br /&gt;
answer_mode fax:data&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Or e.g. we have one modem and want to answer with voice on a normal&lt;br /&gt;
# ring and with fax:data on distinctive ring1.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
ring_type ring&lt;br /&gt;
&lt;br /&gt;
# rings 6&lt;br /&gt;
# answer_mode voice&lt;br /&gt;
&lt;br /&gt;
ring_type ring1&lt;br /&gt;
&lt;br /&gt;
# rings 1&lt;br /&gt;
# answer_mode fax:data&lt;br /&gt;
#&lt;br /&gt;
# The commands are commented out, because I don&amp;#039;t want to set some ring&lt;br /&gt;
# specific defaults in this sample configuration file. I just want to&lt;br /&gt;
# show you how to do it.&lt;br /&gt;
#&lt;br /&gt;
# Note: Setting the number of rings will have no effect until the mgetty&lt;br /&gt;
# to vgetty interface is changed.&lt;br /&gt;
#&lt;br /&gt;
# Note: If you have one modem and distinctive ring, you can simply define&lt;br /&gt;
# the answer mode directly in this file for the different rings. If you&lt;br /&gt;
# have more than one modem and you want them to react different on the same&lt;br /&gt;
# type of ring, you have to define rings and answer_mode as pointers to&lt;br /&gt;
# files. E.g.&lt;br /&gt;
#&lt;br /&gt;
# ring_type ring&lt;br /&gt;
#&lt;br /&gt;
# rings /etc/rings/ring&lt;br /&gt;
# answer_mode /etc/answer/ring&lt;br /&gt;
#&lt;br /&gt;
# ring_type ring1&lt;br /&gt;
#&lt;br /&gt;
# rings /etc/rings/ring1&lt;br /&gt;
# answer_mode /etc/answer/ring1&lt;br /&gt;
# for setting a different set of message files:&lt;br /&gt;
# message_list Index1&lt;br /&gt;
#&lt;br /&gt;
# and so on. Now you can set up a different number of rings and answer modes&lt;br /&gt;
# by creating the files:&lt;br /&gt;
#&lt;br /&gt;
# /etc/rings/ring       - for the default value&lt;br /&gt;
# /etc/rings/ring.ttyS0 - for the value for device ttyS0&lt;br /&gt;
# /etc/rings/ring.ttyS1 - for the value for device ttyS1&lt;br /&gt;
#&lt;br /&gt;
# And the same way you can set the answer modes.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
</feed>