1vgetty(8)                        vgetty manual                       vgetty(8)
2
3
4

NAME

6       vgetty - voice extension to the mgetty+sendfax program
7
8

SYNOPSIS

10       vgetty [options] ttydevice
11
12       vgetty  is  not meant to be run from the command line. It should be run
13       from the /etc/inittab file so it can respawn after each call. Here is a
14       typical inittab entry:
15
16       S0:345:respawn:/usr/local/sbin/vgetty ttyS0
17
18       If  you  already have a line in your inittab file which invokes mgetty,
19       replace it with vgetty, since it replaces/extends its functionality.
20

DESCRIPTION

22       vgetty is an extension to the mgetty+sendfax program which provides  an
23       interface  to  voice-capable  modems. Use it to operate your modem as a
24       simple answering machine or build your own sophisticated voice  messag‐
25       ing  system.   vgetty  handles  all the voice-modem specific protocols,
26       giving application programs a uniform, modem-independent voice library.
27       Supported    modems    include   many   common   serial   modems   from
28       3com/USRobotics, Elsa, Multitech, ZyXEL, and  others.   Caller  ID  and
29       Distinctive  Ring  are  supported provided you have subscribed to these
30       services from your phone company.   Software-based  modems  (winmodems)
31       are not supported.
32
33       vgetty  comes  with tools to convert au/wav/voc sound files to/from the
34       format used by most supported modems. Basic editing  and  filtering  of
35       sound files is included as well. See pvf(1) for more information.
36

OPTIONS

38       vgetty accepts the same options as mgetty.  The one's relevant to voice
39       mode are given here.  See mgetty(8) for other options related  to  data
40       and fax modes.
41
42       -a     Use  autobauding  (change  port  speed  to modem CONNECT speed).
43              There is no voice modem that needs this, the option is just doc‐
44              umented for completeness.
45
46       -m 'expect send ...'
47              Set the chat sequence that is used to initialize the modem.  For
48              an empty expect part, use empty double quotes ("").   Since  the
49              sequence  contains spaces, you will have to enclose all of it in
50              single quotes (''). Example:
51
52              vgetty -m '"" ATH0 OK'
53
54       -n <rings>
55              Set the number of rings after which vgetty will answer the phone
56
57       -s <speed>
58              Set the serial port speed to use, e.g. "-s 38400". This  is  the
59              speed  of  communication  between  the  computer  and  modem  in
60              bits/sec (baud).
61
62       -x <log level>
63              Set the log verbosity level. Zero (0) means no logging, six  (6)
64              is  really noisy. Use level six (6) when sending problem reports
65              to the maintainer. The log file is /var/log/vgetty.ttyXX.
66

ENVIRONMENT

68       vgetty sets the following environment variables when  calling  external
69       programs:
70
71       CALLER_ID
72              The caller's telephone number.
73
74       CALLED_ID
75              The  number the caller has dialed. Useful for ISDN with multiple
76              incoming phone numbers on the same physical line.
77
78       CONNECT
79              The  connect   string   as   reported   by   the   modem   (e.g.
80              "38400/V.32bis/V.42bis ... ", etc.).
81
82       DEVICE The  tty  device  being used (e.g. "ttyS0"). Useful for handling
83              multiple devices ("messages on this line are for work,  messages
84              on the other line are personal").
85

RESOURCES

87       vgetty  is  included in the mgetty+sendfax distribution. For the latest
88       release, go to:
89
90       ftp://alpha.greenie.net/mgetty/source
91
92       The vgetty maintainer's home page is at:
93
94       http://www-internal.alphanet.ch/~schaefer/vgetty.html
95
96       Send problem reports to:
97
98       vgetty-maintainer@alphanet.ch
99
100       For information on mgetty, go to:
101
102       http://alpha.greenie.net/mgetty
103
104       The mgetty mailing list is at mgetty@muc.de. The mailing list  is  mir‐
105       rored to the de.alt.comm.mgetty newsgroup.
106

FILES

108       /etc/mgetty+sendfax/voice.conf
109              Main  configuration file for vgetty.  Many options here override
110              the equivalents found in /etc/mgetty+sendfax/mgetty.config
111
112       /etc/nologin.ttyXX
113              If this file exists, vgetty will  not  answer  calls  on  device
114              ttyXX.
115
116       /var/log/vgetty.ttyXX
117              Debug log file for vgetty.
118
119       /var/spool/voice/messages/Index
120              List of greeting messages to use.
121
122       /var/spool/voice/.code
123              Access  code  for  remote playback of messages using the dtmf.sh
124              script
125
126       /var/spool/voice/.flag
127              vgetty touches this file when a new message is received
128
129       /var/spool/voice/.timestamp
130              Used by the dtmf.sh script to record last time of message  play‐
131              back
132
133

DIAGNOSTICS

135       If  vgetty  doesn't  work  they  way you think it should, check the log
136       file.  By default, it is  located  in  /var/log/vgetty.ttyXX  (for  the
137       vgetty process handling device ttyXX, e.g. ttyS0).
138

BUGS

140       vgetty  supports  most  standard  voice modems, but many modems are not
141       fully compliant with relevant standards or contain  firmware  bugs.  If
142       you  have  problems,  try  upgrading  your modem to the latest firmware
143       revision. If you discover a bug with how vgetty reacts to  your  modem,
144       please  email the maintainer (vgetty-maintainer@alphanet.ch) describing
145       your problem.  Include relevant excerpts from the  log  file  (set  log
146       level  to  six first), and details about your modem (including firmware
147       revision) and operating system.
148

SEE ALSO

150       mgetty(8), pvf(1)
151
153       vgetty is Copyright (c) 1997-2001 Marc Schaefer  (schaefer@alphanet.ch)
154       and many others, before and after.
155
156       This program is free software; you can redistribute it and/or modify it
157       under the terms of the GNU General Public License as published  by  the
158       Free  Software Foundation; either version 2 of the License, or (at your
159       option) any later version.
160
161       This man page was written by Barry Stewart  <bstewart@smyrnacable.net>,
162       and  has CVS version: $Id: vgetty.8,v 1.1 2001/12/22 18:43:22 marcs Exp
163       $
164
165
166
167
168
169
170version 0.60             $Date: 2001/12/22 18:43:22 $                vgetty(8)
Impressum