Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] ReRe: Fw: Class1.0 modem can't receive fax but it can send fax, why? help!
Hi,Matthias Reich
Thanks for your answer!
I already add the line into class1 modem conf-file:
" SessionTracing: 0x4f "
But it still can't receive any fax . and it can send out fax normally.
The tracelog for receive (etc/c00000006) shown:
Sep 22 11:22:50.67: [14970]: SESSION BEGIN 00000006 XXXXXXXXXXX
Sep 22 11:22:50.67: [14970]: HylaFAX (tm) Version 4.1.7
Sep 22 11:22:50.67: [14970]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Sep 22 11:22:50.67: [14970]: <-- [4:ATA\r]
Sep 22 11:22:53.86: [14970]: --> [7:CONNECT]
Sep 22 11:22:53.86: [14970]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1'
Sep 22 11:22:53.86: [14970]: MODEM input buffering enabled
Sep 22 11:22:53.86: [14970]: RECV FAX: begin
Sep 22 11:22:53.86: [14970]: MODEM input buffering disabled
Sep 22 11:22:53.86: [14970]: <-- HDLC<23:FF C0 02 4C 1A 82 62 FA C2 2A 04 04 04 04 04 04 04 04 04 04 04 04 04>
Sep 22 11:22:53.86: [14970]: <-- data [23]
Sep 22 11:22:53.86: [14970]: <-- data [2]
Sep 22 11:22:55.48: [14970]: --> [7:CONNECT]
Sep 22 11:22:55.48: [14970]: <-- HDLC<10:FF C8 01 00 77 5F 01 79 03 C0>
Sep 22 11:22:55.48: [14970]: <-- data [10]
Sep 22 11:22:55.48: [14970]: <-- data [2]
Sep 22 11:22:55.97: [14970]: --> [2:OK]
Sep 22 11:22:55.97: [14970]: <-- [9:AT+FRH=3\r]
Sep 22 11:22:56.09: [14970]: --> [7:CONNECT]
Sep 22 11:22:57.87: [14970]: --> HDLC<25:FF C0 C2 EC CC 1C 8C 4C CC CC 4C AC EC 0C 6C 1C D4 04 04 04 04 04 04 63 8B>
Sep 22 11:22:57.87: [14970]: --> [2:OK]
Sep 22 11:22:57.87: [14970]: REMOTE TSI "+XXXXXXXXXXXX"
Sep 22 11:22:57.87: [14970]: <-- [9:AT+FRH=3\r]
Sep 22 11:22:57.91: [14970]: --> [7:CONNECT]
Sep 22 11:22:58.19: [14970]: --> HDLC<11:FF C8 C1 00 45 1F 01 01 00 49 38>
Sep 22 11:22:58.19: [14970]: --> [2:OK]
Sep 22 11:22:58.19: [14970]: REMOTE wants 14400 bit/s
Sep 22 11:22:58.19: [14970]: REMOTE wants page width 1728 pixels in 215 mm
Sep 22 11:22:58.19: [14970]: REMOTE wants unlimited page length
Sep 22 11:22:58.19: [14970]: REMOTE wants 3.85 line/mm
Sep 22 11:22:58.19: [14970]: REMOTE wants 2-D MR
Sep 22 11:22:58.19: [14970]: RECV training at v.17 14400 bit/s
Sep 22 11:22:58.19: [14970]: MODEM set XON/XOFF/DRAIN: input ignored, output generated
Sep 22 11:22:58.19: [14970]: <-- [11:AT+FRM=145\r]
Sep 22 11:22:59.93: [14970]: --> [7:CONNECT]
Sep 22 11:23:01.45: [14970]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled
Sep 22 11:23:01.45: [14970]: RECV: TCF 2720 bytes, 0% non-zero, 2703 zero-run
Sep 22 11:23:01.46: [14970]: --> [10:NO CARRIER]
Sep 22 11:23:01.46: [14970]: DELAY 75 ms
Sep 22 11:23:01.54: [14970]: TRAINING succeeded
Sep 22 11:23:01.54: [14970]: <-- [9:AT+FTH=3\r]
Sep 22 11:23:01.74: [14970]: --> [7:CONNECT]
Sep 22 11:23:01.74: [14970]: <-- HDLC<3:FF C8 21>
Sep 22 11:23:01.74: [14970]: <-- data [3]
Sep 22 11:23:01.74: [14970]: <-- data [2]
Sep 22 11:23:03.02: [14970]: --> [2:OK]
Sep 22 11:23:03.02: [14970]: MODEM input buffering enabled
Sep 22 11:23:03.02: [14970]: MODEM set XON/XOFF/FLUSH: input ignored, output generated
Sep 22 11:23:03.02: [14970]: <-- [11:AT+FRM=146\r]
Sep 22 11:23:04.39: [14970]: --> [7:CONNECT]
Sep 22 11:23:04.39: [14970]: RECV: begin page
Sep 22 11:23:15.52: [14970]: RECV: 1162 total lines, 0 bad lines, 0 consecutive bad lines
Sep 22 11:23:15.52: [14970]: RECV: end page
Sep 22 11:23:15.52: [14970]: --> [10:NO CARRIER]
Sep 22 11:23:15.52: [14970]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled
Sep 22 11:23:15.52: [14970]: MODEM input buffering disabled
Sep 22 11:23:15.52: [14970]: <-- [9:AT+FRH=3\r]
Sep 22 11:23:15.57: [14970]: --> [7:CONNECT]
Sep 22 11:23:16.73: [14970]: --> HDLC<5:FF C8 F4 CC 66>
Sep 22 11:23:16.73: [14970]: --> [2:OK]
Sep 22 11:23:16.73: [14970]: RECV recv EOP (no more pages or documents)
Sep 22 11:23:16.73: [14970]: <-- [9:AT+FRS=7\r]
Sep 22 11:23:46.73: [14970]: MODEM TIMEOUT: reading line from modem
Sep 22 11:23:46.73: [14970]: MODEM <Timeout>
Sep 22 11:23:46.73: [14970]: RECV FAX (00000006): recvq/fax00004.tif from +8607523321837, route to <unspecified>, 0 pages in 0:53
Sep 22 11:23:46.73: [14970]: RECV FAX: Failure to receive silence.
Sep 22 11:23:46.73: [14970]: <-- [9:AT+FTH=3\r]
Sep 22 11:23:46.74: [14970]: --> [2:OK]
Sep 22 11:23:46.74: [14970]: MODEM input buffering enabled
Sep 22 11:23:46.74: [14970]: RECV FAX (00000006): session with +8607523321837 terminated abnormally: Failure to receive silence.
Sep 22 11:23:46.74: [14970]: RECV FAX: bin/faxrcvd "recvq/fax00004.tif" "ttyS1" "00000006" "Failure to receive
silence." "" ""
Sep 22 11:23:47.22: [14970]: RECV FAX: end
Sep 22 11:23:47.22: [14970]: SESSION END
Why?
Please help me.
Thanks
Best regards.
The class1 modem conf-file(etc/config.ttyS1) shown as:
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode: 86
AreaCode: XXX
FAXNumber: +XX.XXX.XXXXXXX
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 0x4f
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0644
RingsBeforeAnswer: 1
SpeakerVolume: medium
GettyArgs: "-h %l dx_%s"
LocalIdentifier: TC_FAX2
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
#ModemRate: 19200 # rate for DCE-DTE communication
#ModemFlowControl: xonxoff # XON/XOFF flow control assumed
#
#ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
#ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier
#GettyArgs: "-h %l dx_%s" # modem must auto-detect fax/data
#Class1Cmd: AT+FCLASS=1 # command to enter class 1
Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM
Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF
Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP
Class1MsgRecvHackCmd: "" # command to avoid +FCERROR before image
Class1TCFResponseDelay: 75 # 75ms delay between recv TCF & response
Class1SendMsgDelay: 75 # 75ms delay after training
Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and trans
Class1TrainingRecovery: 1500 # 1.5sec delay after training failure
Class1RecvAbortOK: 200 # wait 200ms for abort response
Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames
Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero
Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration
____________________ 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@xxxxxxxxxxxx*