Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] EOP problems sending multipage documents



I am having a lot of problems sending multipage faxes.

For testing purposes I am sending faxes out on one modem and back in on another, both connected to the same hylafax server, unfortunately it is difficult for me to test the setup with other fax machines so I am unsure if this problem is confined to hylafax<-->hylafax faxes.

Unfortunately the exact nature of the problem is quite variable, sometimes the full fax will come through correctly (without any error messages from hylafax), then the last page will be sent another 2 or 3 times. Other times I will receive half the fax with a transcript of the session log. Other times still I will recieve multiple copies of the same page.

In bad cases many combinations of the above mentioned problems will occur, resulting in a dozen individual emails (I am running a fax-->email gateway), all with missing/duplicate pages, and all in all a completely undecipherable message.

I have a been looking at the debug logs and have plenty of examples for when it goes wrong, here's a few choice transcripts:

--------------Send log

Feb 06 11:48:57.10: [25444]: Copy quality checking performed by host
Feb 06 11:48:58.79: [25444]: RECV: 235 total lines, 0 bad lines, 0 consecutive bad lines
Feb 06 11:48:58.80: [25444]: --> [18:+FPTS: 2,235,235,0]
Feb 06 11:49:00.07: [25444]: --> [7:+FET: 1]
Feb 06 11:49:00.07: [25444]: RECV recv EOM (more documents)
Feb 06 11:49:00.18: [25444]: --> [2:OK]
Feb 06 11:49:00.18: [25444]: RECV send MCF (message confirmation)
Feb 06 11:49:00.18: [25444]: RECV FAX (000001041): from *************, page 1 in 0:09, INF, 7.7 line/mm, 1-D MH, 14400 bit/s
Feb 06 11:49:00.18: [25444]: RECV FAX (000001041): recvq/fax000000619.tif from *************, route to <unspecified>, 1 pages in 0:11
Feb 06 11:49:00.18: [25444]: <-- [7:AT+FDR\r]
Feb 06 11:49:07.56: [25444]: --> [9:+FHNG: 71]
Feb 06 11:49:07.56: [25444]: REMOTE HANGUP: RSPREC error/got DCN (code 71)
Feb 06 11:49:07.56: [25444]: RECV FAX (000001041): recvq/fax000000620.tif from CRUMMOCK, route to <unspecified>, 0 pages in 0:07
Feb 06 11:49:07.56: [25444]: RECV FAX: RSPREC error/got DCN
Feb 06 11:49:07.56: [25444]: RECV FAX: bin/faxrcvd "recvq/fax000000619.tif" "ttyS0" "000001041" "" "129" "McKercharr[Fax]>FaxGroup"
Feb 06 11:49:07.56: [25444]: RECV FAX (000001041): session with ************* terminated abnormally: RSPREC error/got DCN
Feb 06 11:49:07.56: [25444]: RECV FAX: bin/faxrcvd "recvq/fax000000620.tif" "ttyS0" "000001041" "RSPREC error/got DCN" "129" "McKercharr[Fax]>FaxGroup"
Feb 06 11:49:07.57: [25444]: RECV FAX: end
Feb 06 11:49:07.57: [25444]: SESSION END


--------------Recieve log

Feb 06 11:48:58.73: [12121]: SEND send EOM (more documents)
Feb 06 11:48:58.73: [12121]: <-- [9:AT+FET=1\r]
Feb 06 11:49:01.47: [12121]: --> [8:+FPTS: 2]
Feb 06 11:49:01.58: [12121]: --> [2:OK]
Feb 06 11:49:01.58: [12121]: SEND recv RTN (retrain negative)
Feb 06 11:49:01.58: [12121]: <-- [24:AT+FDIS=1,4,0,2,0,0,0,0\r]
Feb 06 11:49:01.60: [12121]: --> [2:OK]
Feb 06 11:49:01.60: [12121]: <-- [7:AT+FDT\r]
Feb 06 11:49:36.67: [12121]: --> [9:+FHNG: 11]
Feb 06 11:49:37.49: [12121]: --> [2:OK]
Feb 06 11:49:37.49: [12121]: <-- [7:AT+FDT\r]
Feb 06 11:49:37.51: [12121]: --> [5:ERROR]
Feb 06 11:49:37.51: [12121]: The destination appears to not support batching.
Feb 06 11:49:37.51: [12121]: SEND FAILED: JOB 156 DEST 9825129 ERR Batching protocol error; too many attempts to send
Feb 06 11:49:37.51: [12121]: <-- [5:ATH0\r]
Feb 06 11:49:37.52: [12121]: --> [2:OK]
Feb 06 11:49:37.52: [12121]: SESSION END


I think they're the same fax..

Other choice excerpts:

Feb 06 11:46:55.67: [12029]: SEND send EOP (no more pages or documents)
Feb 06 11:46:55.67: [12029]: <-- [9:AT+FET=2\r]
Feb 06 11:47:09.25: [12029]: --> [9:+FHNG: 54]
Feb 06 11:47:09.25: [12029]: REMOTE HANGUP: No response to EOP repeated 3 times (code 54)
Feb 06 11:47:09.25: [12029]: <-- [5:ATH0\r]
Feb 06 11:47:10.07: [12029]: --> [2:OK]
Feb 06 11:47:10.07: [12029]: SESSION END


Feb 06 12:08:56.53: [25444]: RECV: 261 total lines, 0 bad lines, 0 consecutive bad lines
Feb 06 12:08:56.54: [25444]: --> [18:+FPTS: 1,261,261,0]
Feb 06 12:09:05.67: [25444]: --> [10:+FHNG: 102]
Feb 06 12:09:05.67: [25444]: REMOTE HANGUP: COMREC invalid response received (code 102)
Feb 06 12:09:06.49: [25444]: --> [2:OK]
Feb 06 12:09:06.49: [25444]: RECV keeping unconfirmed page
Feb 06 12:09:06.49: [25444]: RECV FAX (000001049): from *************, page 3 in 0:05, INF, 7.7 line/mm, 1-D MH, 14400 bit/s
Feb 06 12:09:06.49: [25444]: RECV FAX: COMREC invalid response received
Feb 06 12:09:06.49: [25444]: RECV FAX (000001049): session with ************* terminated abnormally: COMREC invalid response received
Feb 06 12:09:06.49: [25444]: RECV FAX: bin/faxrcvd "recvq/fax000000624.tif" "ttyS0" "000001049" "COMREC invalid response received" "129" "McKercharr[Fax]>FaxGroup"
Feb 06 12:09:06.49: [25444]: RECV FAX: end
Feb 06 12:09:06.49: [25444]: SESSION END


I am using three Multitech MT5656ZDXVs (detected by hylafax as a V.90 CONEXANT), they are configured in Class2 mode. Here is a sample config (they are all the same):

<sic>
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      3
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        Crummock
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
ModemType:              Class2          # use class 2 interface
ModemRate:              19200
ModemFlowControl:       xonxoff         # default
ModemWaitForConnect:    yes             # wait for CONNECT on answer
#cid stuff
ModemResetCmds:         "AT+VCID=1"
CIDNumber:              "NMBR = "
CIDName:                "NAME = "
#--

ModemNoFlowCmd:         AT&K            # disable flow control cmd
ModemHardFlowCmd:       AT&K3           # hardware flow control cmd
ModemSoftFlowCmd:       AT&K4           # software flow control cmd
ModemSetupDTRCmd:       AT&D3           # DTR off causes modem to reset
ModemSetupDCDCmd:       AT&C1           # DCD follows carrier
ModemSetupAACmd:        AT+FCLASS=0;+FAA=1 # enable in class 0
#
ModemSendFillOrder:     LSB2MSB         # as expected
ModemRecvFillOrder:     MSB2LSB         # opposite of what makes sense
Class2RecvDataTrigger:  "\022"          # a la 2388-B

I couldnt try Class1 as the modems wouldn't initialise then - I presume that's something to do with the #CID stuff I've added.

Anyway, apologies for the overly long post - I would appreciate any pointers that anyone could come up with - I finally have my setup (bar this) working really well!

regards,

-ross



____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services