FAXGETTY


NAME

faxgetty − Hyla FAX front-door process

SYNOPSIS

${LIBEXEC}/faxgetty [ −D ] [ −p ] [ −q queue-dir ] [ −c config ] device

DESCRIPTION

faxgetty is the Hyla FAX server program that listens for incoming phone calls and either handles each call directly or hands it off to an appropriate program. In addition faxgetty monitors modem usage and notifies the Hyla FAX scheduler process when a modem’s status changes; e.g. when a modem is busy with an outbound call.

One faxgetty should be run for each facsimile modem on a machine. faxgetty is typically started by init(1m). faxgetty can also be used with data-only modems; this may be desirable if some of the non-facsimile features are important, such as the support for screening calls according to Caller-ID information.

faxgetty listens to its facsimile modem for incoming calls and to a FIFO special file on which it accepts command directives from administrative commands such as faxanswer(1m) and faxabort(1m). faxgetty also catches SIGTERM and SIGINT signals; cleaning up any necessary resources before exiting.

Many aspects of faxgetty operation are controlled through a configuration file. In particular, for faxgetty to automatically invoke the getty(1m) program to handle incoming data connections the GettyArgs parameter must be setup in the configuration file. The configuration file is located in the spooler hierarchy in the etc subdirectory and is named config.devid, where devid is an identifier derived from the name of the modem’s device file; for example ttym2 for /dev/ttym2, term_10 for /dev/term/10. Consult hylafax-config(4f) for detailed information on the contents of configuration files.

OPTIONS

−D

This option forces faxgetty to detach itself from the controlling tty from which it was invoked. In normal operation faxgetty will not disassociate itself from the controlling tty.

−p

Do not change the process priority when receiving facsimile. Normally faxgetty will raise its priority to reduce i/o latency. This option is useful for debugging.

−q dir

The specified directory is treated as the spooling area. The default spooling area, ${SPOOL}, is defined at the time the software is built.

−c

config Treat config as a configuration parameter specification that is interpreted after reading the per-device configuration file. For example, ‘‘-c sessiontracing:0x4f’’ would set the SessionTracing configuration parameter to ‘‘0x4f’’, overriding any setting in the configuration file.

FILES

${SPOOL}/FIFO.device

FIFO special file for submitting commands

${SPOOL}/etc/config.device

device-specific configuration file

Consult hylafax-server(4f) for a complete discussion of the structure and content of the spooling area.

SEE ALSO

faxabort(1m), faxlock(1m), faxanswer(1m), faxconfig(1m), faxstate(1m), faxq(1m), getty(1m), hylafax-server(4f), hylafax-config(4f)