Play a message before fax transmiting
Marc SCHAEFER (schaefer@alphanet.ch)
30 Jan 1999 1916:38:43 +0100
Gert Doering <gert@greenie.muc.de> wrote:
> Marc (and Marc), where is the modem connected to in a "vm shell"?
If you are talking about a voice shell script launched from vgetty,
the modem is still controlled by vgetty, the shell just talks to
vgetty through pipes, sending commands such as PLAY, RECORD, etc.
> stdin/stdout? If yes, one could attack this by running "sendfax -S"
> (modem on stdin), and sending something like "VOICE STOP" to vm
> beforehand, which would mean "do not listen on the modem file descriptor
> anymore at all".
The other possibility is when vm executes a shell script: I never did
that. However what about adding a new command SEND_FAX or
EXECUTE_PROGRAM which would cause vgetty to fork + waitpid on a
sendfax process ?