fax recieve script?

Marc SCHAEFER (schaefer@alphanet.ch)
Wed, 27 Oct 1999 08:15:33 +0200


On Tue, 26 Oct 1999, Gert Doering wrote:

> No, that wasn't what I meant.  There's a switch "if going from voice to
> fax, try fax/data" vs. "if going from voice to fax, do fax-only".

Well, in voice/vgetty/answer.c, there is all this complicated logic of
case discrimination on the base of answer_mode. If answer_mode is set to
fax only (which can only happen if modem is class2 or class2.0), then,
depending on the modem brokenness, we have

   fax_mode = 2 when modem is class2 and quirks MQ_NEED2 is set, else 0
   fax_mode = 2.0 when modem is class2.0

then we can voice_switch_to_data_fax(fax_mode);

In libvoice/Rockwell.c this is implemented by
   AT#CLS=%s
where %s is fax_mode.

Now, can I assume that this is sufficient to force the modem to only
answer fax ?  Do we need to do something more ?