a consequence of Bug 633 on our end.
bool
Class1Modem::faxService(bool enableV34)
{
- lastPPM = 0; // initializing
if (!atCmd(classCmd)) return (false);
if (conf.class1EnableV34Cmd != "" && enableV34)
atCmd(conf.class1EnableV34Cmd);
bool pageGood; // quality of last page received
bool recvdDCN; // received DCN frame
bool messageReceived; // expect/don't expect message carrier
- u_int lastPPM; // last PPM used
+ u_int lastPPM; // last PPM during receive
bool sendCFR; // received TCF was not confirmed
u_short ecmBitPos; // bit position to populate on ecmByte
u_int ecmByte; // pending byte to add to ecmBlock
protoTrace("The destination appears to have trouble with V.34-Fax.");
return (send_v34fail);
}
- /*
- * Detect receivers that don't support batching.
- *
- * Some will fail on the first instance of EOM. Brother receivers
- * notoriously will fail to respond to the PPM that follows EOM when
- * using ECM.
- */
- if (batchingError && ((batched & BATCH_FIRST) || (params.ec != EC_DISABLE && lastPPM == FCF_EOM))) {
+ if (batchingError && (batched & BATCH_FIRST)) {
protoTrace("The destination appears to not support batching.");
return (send_batchfail);
}
return (send_retry); // a problem, disconnect
}
- lastPPM = cmd; // remember this PPM
int ncrp = 0;