fax recieve script ?

Dmitry Pogosyan (pogosyan@cita.utoronto.ca)
Thu, 28 Oct 1999 19:27:09 -0400



Hi guys !

About voice:fax:data switch with Rockwell modems:

I was the "original" guy this spring who had the problem of the switch
to DATA mode, because my Zoom did not autoselect properly when was in
fax (+FCLASS=2) mode. This led Gert to put quirks patch into 
answer.c file which you already discussed already. This patch
forces Rockwells to enter data mode (+FCLASS=0)

Unfortunately, Gert - THIS PATCH IS IN THE WRONG PLACE !
Namely, with this patch if I have incoming fax reception fails, while
incoming data works fine.

The reason for this is following (at least with my modem):
When incoming call is data, the answer mode (in answer.c) happens
to be ANSWER_DATA | ANSWER_FAX and autocelection is required.
For Rockwell means you need to force it to be in +FCLASS=0 state.

However when fax is incoming, I checked that when you reach the
answer.c, the answer mode is ANSWER_FAX only. Gert's patch however,
is before any branching depending on answer mode. It puts modem
in data mode, process the goes into ANSWER_FAX and fails.

Anyway, this is my recollection (maybe corrupted) of what was happening.
What works is to cut Gert's patch out and move it few lines below after
case(answer_mode) {
	ANSWER_DATA | ANSWER_FAX
			Here goes patch to but +FCLASS=0 for Rockwell's


so that it is activated only if answer mode is OR'ed.

I did it right away (already some time ago) as I got my 1.1.21
and my Rockwell is happy now.


		Best regards, Dmitri Pogosyan 

Sorry, I cited answer.c from memory