HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Missing EOL after 5 seconds (section 3.2/T.4)



hi all!

i use hylafax 4.3.0 on a gentoo box with a MODEM U.S. ROBOTICS 56K FAX connected to ttyS0 for a while. recently i encountered this message while receiving faxes:

Missing EOL after 5 seconds (section 3.2/T.4)

after googling i found out that i had to replace the receive trigger to 022. but also after the change i get these errors - but only randomly! i cannot reproduce these errors. it happens in 1 of 20 faxes, and only while receiving multiple pages. here is the complete output of the status mail i get:

          Sender: xxx xxxx
           Pages: 5
         Quality: Normal
            Size: ISO A4
        Received: 2008:04:07 16:07:53
 Time To Receive: 1:37
     Signal Rate: 14400 bit/s
     Data Format: 1-D MH
   Error Correct: No
     Received On: ttyS0

The full document was not received because:

Missing EOL after 5 seconds (section 3.2/T.4)

---- Transcript of session follows ----

Apr 07 16:07:36.91: [ 9151]: SESSION BEGIN 000001233 xxx xxxxxxx
Apr 07 16:07:36.91: [ 9151]: HylaFAX (tm) Version 4.3.0
Apr 07 16:07:36.91: [ 9151]: DELAY 100 ms
Apr 07 16:07:37.01: [ 9151]: <-- [4:ATA\r]
Apr 07 16:07:45.62: [ 9151]: --> [4:+FCO]
Apr 07 16:07:45.62: [ 9151]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
Apr 07 16:07:45.62: [ 9151]: RECV FAX: begin
Apr 07 16:07:47.53: [ 9151]: --> [27:+FTI:" xxx xxxx"]
Apr 07 16:07:47.53: [ 9151]: REMOTE TSI "xxx xxxx"
Apr 07 16:07:47.54: [ 9151]: --> [20:+FCS:0,5,0,2,0,0,0,1]
Apr 07 16:07:47.54: [ 9151]: REMOTE wants 14400 bit/s
Apr 07 16:07:47.54: [ 9151]: REMOTE wants A4 page width (215 mm)
Apr 07 16:07:47.54: [ 9151]: REMOTE wants unlimited page length
Apr 07 16:07:47.54: [ 9151]: REMOTE wants 3.85 line/mm
Apr 07 16:07:47.54: [ 9151]: REMOTE wants 1-D MH
Apr 07 16:07:47.55: [ 9151]: --> [2:OK]
Apr 07 16:07:47.55: [ 9151]: DELAY 100 ms
Apr 07 16:07:47.65: [ 9151]: <-- [7:AT+FDR\r]
Apr 07 16:07:53.08: [ 9151]: --> [7:CONNECT]
Apr 07 16:07:53.08: [ 9151]: RECV: begin page
Apr 07 16:07:53.08: [ 9151]: RECV: send trigger 022
Apr 07 16:07:53.08: [ 9151]: Copy quality checking performed by host
Apr 07 16:08:21.44: [ 9151]: RECV: 1140 total lines, 0 bad lines, 0 consecutive bad lines
Apr 07 16:08:21.45: [ 9151]: --> [17:+FPS:1,1146,0,0,0]
Apr 07 16:08:22.57: [ 9151]: --> [6:+FET:0]
Apr 07 16:08:22.57: [ 9151]: RECV recv MPS (more pages, same document)
Apr 07 16:08:22.57: [ 9151]: --> [2:OK]
Apr 07 16:08:22.57: [ 9151]: RECV send MCF (message confirmation)
Apr 07 16:08:22.57: [ 9151]: RECV FAX (000001233): from xxx xxxx, page 1 in 0:36, INF, 3.85 line/mm, 1-D MH, 14400 bit/s
Apr 07 16:08:22.67: [ 9151]: <-- [7:AT+FDR\r]
Apr 07 16:08:24.93: [ 9151]: --> [7:CONNECT]
Apr 07 16:08:24.93: [ 9151]: RECV: begin page
Apr 07 16:08:24.93: [ 9151]: RECV: send trigger 022
Apr 07 16:08:24.93: [ 9151]: Copy quality checking performed by host
Apr 07 16:08:39.39: [ 9151]: RECV: 1140 total lines, 0 bad lines, 0 consecutive bad lines
Apr 07 16:08:39.40: [ 9151]: --> [17:+FPS:1,1146,0,0,0]
Apr 07 16:08:40.54: [ 9151]: --> [6:+FET:0]
Apr 07 16:08:40.54: [ 9151]: RECV recv MPS (more pages, same document)
Apr 07 16:08:40.54: [ 9151]: --> [2:OK]
Apr 07 16:08:40.54: [ 9151]: RECV send MCF (message confirmation)
Apr 07 16:08:40.54: [ 9151]: RECV FAX (000001233): from xxx xxxx, page 2 in 0:18, INF, 3.85 line/mm, 1-D MH, 14400 bit/s
Apr 07 16:08:40.64: [ 9151]: <-- [7:AT+FDR\r]
Apr 07 16:08:42.90: [ 9151]: --> [7:CONNECT]
Apr 07 16:08:42.90: [ 9151]: RECV: begin page
Apr 07 16:08:42.90: [ 9151]: RECV: send trigger 022
Apr 07 16:08:42.90: [ 9151]: Copy quality checking performed by host
Apr 07 16:09:04.01: [ 9151]: RECV: 1141 total lines, 0 bad lines, 0 consecutive bad lines
Apr 07 16:09:04.02: [ 9151]: --> [17:+FPS:1,1148,0,0,0]
Apr 07 16:09:05.16: [ 9151]: --> [6:+FET:0]
Apr 07 16:09:05.16: [ 9151]: RECV recv MPS (more pages, same document)
Apr 07 16:09:05.16: [ 9151]: --> [2:OK]
Apr 07 16:09:05.16: [ 9151]: RECV send MCF (message confirmation)
Apr 07 16:09:05.16: [ 9151]: RECV FAX (000001233): from xxx xxxx, page 3 in 0:25, INF, 3.85 line/mm, 1-D MH, 14400 bit/s
Apr 07 16:09:05.27: [ 9151]: <-- [7:AT+FDR\r]
Apr 07 16:09:07.51: [ 9151]: --> [7:CONNECT]
Apr 07 16:09:07.51: [ 9151]: RECV: begin page
Apr 07 16:09:07.51: [ 9151]: RECV: send trigger 022
Apr 07 16:09:07.51: [ 9151]: Copy quality checking performed by host
Apr 07 16:09:22.27: [ 9151]: RECV: 1142 total lines, 0 bad lines, 0 consecutive bad lines
Apr 07 16:09:22.28: [ 9151]: --> [17:+FPS:1,1148,0,0,0]
Apr 07 16:09:23.42: [ 9151]: --> [6:+FET:0]
Apr 07 16:09:23.42: [ 9151]: RECV recv MPS (more pages, same document)
Apr 07 16:09:23.42: [ 9151]: --> [2:OK]
Apr 07 16:09:23.42: [ 9151]: RECV send MCF (message confirmation)
Apr 07 16:09:23.42: [ 9151]: RECV FAX (000001233): from xxx xxxx, page 4 in 0:18, INF, 3.85 line/mm, 1-D MH, 14400 bit/s
Apr 07 16:09:23.52: [ 9151]: <-- [7:AT+FDR\r]
Apr 07 16:09:25.74: [ 9151]: --> [7:CONNECT]
Apr 07 16:09:25.74: [ 9151]: RECV: begin page
Apr 07 16:09:25.74: [ 9151]: RECV: send trigger 022
Apr 07 16:09:25.74: [ 9151]: Copy quality checking performed by host
Apr 07 16:10:31.35: [ 9151]: MODEM TIMEOUT: reading from modem
Apr 07 16:10:31.35: [ 9151]: RECV: Missing EOL after 5 seconds
Apr 07 16:10:31.35: [ 9151]: REMOTE HANGUP: Missing EOL after 5 seconds (section 3.2/T.4) (code 91)
Apr 07 16:10:31.35: [ 9151]: RECV FAX (000001233): recvq/fax000000944.tif from xxx xxxx, route to <unspecified>, 4 pages in 2:46
Apr 07 16:10:31.35: [ 9151]: RECV FAX: Missing EOL after 5 seconds (section 3.2/T.4)
Apr 07 16:10:31.35: [ 9151]: DELAY 100 ms
Apr 07 16:10:31.45: [ 9151]: <-- [7:AT+FKS\r]
Apr 07 16:11:01.46: [ 9151]: MODEM TIMEOUT: reading line from modem
Apr 07 16:11:01.46: [ 9151]: MODEM <Timeout>
Apr 07 16:11:01.46: [ 9151]: RECV FAX (000001233): session with xxx xxxx terminated abnormally: Missing EOL after 5 seconds (section 3.2/T.4)
Apr 07 16:11:01.46: [ 9151]: RECV FAX: bin/faxrcvd "recvq/fax000000944.tif" "ttyS0" "000001233" "Missing EOL after 5 seconds (section 3.2/T.4)"
Apr 07 16:11:01.46: [ 9151]: RECV FAX: end
Apr 07 16:11:01.46: [ 9151]: SESSION END



here is my hylafax config:


CountryCode: 49
AreaCode: xxxx
FAXNumber: xxxxxxxx
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules.europe
ServerTracing: 527
SessionTracing: 527
RecvFileMode: 0666
LogFileMode: 0660
DeviceMode: 0666
RingsBeforeAnswer: 3
SpeakerVolume: off
GettyArgs: "-r -b -a -s %s %l"
LocalIdentifier: "XXXXXXX"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
#QualifyTSI: etc/tsi
MaxRecvPages: 40

# END-SERVER
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2.0 # use class 2.0 interface
ModemRate: 19200 # DCE-DTE communication rate
ModemFlowControl: rtscts # hardware flow control
#
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemResultCodesCmd: ATQ0X4 # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
# the modem is left idling in Class 2.0
#
ModemSetupAACmd: AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd: AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd: !(0),(0) # override modem response
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd: AT+FNR=1,1,1,0
#
# USR modems violate Class 2.0 specs and do not send RTC itself
Class2SendRTC: yes
#
# +FAP=? not supported on this modem, gives ERROR in ServerTracing
#
Class2APQueryCmd: none


ModemATCmdDelay: 100
ModemDialCmd: ATX3DT0,%s


can anyone help me with this?


thx & greets
wolfgang


____________________ 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*




Project hosted by iFAX Solutions