vgetty fails to switch to data ... new twist

Dmitry Pogosyan (pogosyan@cita.utoronto.ca)
Thu, 13 May 1999 17:48:27 -0400



Well now in voice/fax/data mode fax does not work ! Gets to ATA command
and receives NO CARRIER. Works fine as soon as setting fax class to zero
is removed.  I considered two cases

1) force_autodetect = false. In this case vgetty recognizes fax itself
and goes into ANSWER_FAX (only) mode. There, the command +FAA=0 is used,
so no surprise that with +FCLASS=0 is set, the reception fails.
Roy: it is the same problem you mention will appear with fax_only mode
and your patch. Note, however, that vgetty goes in ANSWER_FAX 
(not ANSWER_FAX | ANSWER_DATA) mode also if it itself detects fax
(don't know how) in full voice/fax/data mode.
So, Gert's patch in principle should be applied in such way that it takes
effect only if subsequently autodetection mode is used (+FAA=1)
Or that for our quirks force_autodetect = true is the must

2) But I have tried force_autodetect = true. It goes to +FAA=1
(even with added +FCR=1). And fax still failed with NO CARRIER. Have to
find out why .... :(

3) I should be able to beat my modem by moving Gert's patch into
the interior of case ANSWER_FAX | ANSWER_DATA part, and using
force_autodetect = false, so that fax call bypasses this part ...
Haven't tried it yet, but it is ugly anyway.


On Thu, 13 May 1999, Gert Doering wrote:

> > The permanent solution seems to be to propagate the knowledge of 'quirks'
> > into voice part ? What do you think, Marc and Gert ?
> 
> *done* (for this one, most others are handled correctly anyway because the
> code is shared better between "m" and "v"getty parts).
> 
> Will be in 1.1.21, or you can use the patch that I sent to Bjoern today.
>