HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Modem doesn't say 'RING' and delay between TCF and +FDR
Hello,
I'm struggeling in geting Hylafax work with a ZyXEL U-1496e on a
SuSE 9.1 machine. At the moment there seem to last two problems. Both
are related to inbound activity (outbound seems to work really
fine...):
1) some strange behaviour: modem doesn't send 'RING' on a
call, but silly chars. If I make a ATZ on a minicom console a few
seconds before the call arrives, there will be 'RING' and faxgetty is
able to answer. But after that, the silly chars are back... Probably
a problem with the init strings, but I didn't change the defaults.
2) incomming faxes mostly abort with an error. Log follows...
(And behind the log there is my config.ttyS0)
until I added the two lines:
PercentGoodLines: 0
MaxConsecutiveBadLines: 0
every try to get a fax failed. Now every fax arrives, but it's not
human readable. Tooooooo many errors, I can identify lines of text,
but only two or three words on a page are clear...
I remember I faxed with my good old 1496e very successfully years
ago...
####################################################################
Jul 27 18:50:56.13: [ 4297]: SESSION BEGIN 00000016 497xxxxxxxxxx
Jul 27 18:50:56.13: [ 4297]: HylaFAX (tm) Version 4.1.8
Jul 27 18:50:56.13: [ 4297]: <-- [4:ATA\r]
Jul 27 18:51:07.18: [ 4297]: --> [11:CONNECT FAX]
Jul 27 18:51:07.18: [ 4297]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
Jul 27 18:51:07.18: [ 4297]: STATE CHANGE: ANSWERING -> RECEIVING
Jul 27 18:51:07.18: [ 4297]: MODEM input buffering enabled
Jul 27 18:51:07.18: [ 4297]: RECV FAX: begin
Jul 27 18:51:07.18: [ 4297]: RECV FAX: CDPN
Jul 27 18:51:07.18: [ 4297]: --> [5:+FCON]
Jul 27 18:51:10.88: [ 4297]: --> [27:+FTSI: +49 7xxx xxxx xx ]
Jul 27 18:51:10.88: [ 4297]: REMOTE TSI "+49 7xxx xxxx xx"
Jul 27 18:51:10.88: [ 4297]: --> [21:+FDCS:0,5,0,2,0,0,0,3]
Jul 27 18:51:10.88: [ 4297]: REMOTE wants 14400 bit/s
Jul 27 18:51:10.88: [ 4297]: REMOTE wants page width 1728 pixels in 215 mm
Jul 27 18:51:10.88: [ 4297]: REMOTE wants unlimited page length
Jul 27 18:51:10.88: [ 4297]: REMOTE wants 3.85 line/mm
Jul 27 18:51:10.88: [ 4297]: REMOTE wants 1-D MR
Jul 27 18:51:10.88: [ 4297]: --> [2:OK]
Jul 27 18:51:10.88: [ 4297]: <-- [7:AT+FDR\r]
Jul 27 18:51:12.55: [ 4297]: --> [5:+FCFR]
Jul 27 18:51:12.55: [ 4297]: --> [27:+FTSI: +49 7xxx xxxx xx ]
Jul 27 18:51:12.55: [ 4297]: REMOTE TSI "+49 7xxx xxxx xx"
Jul 27 18:51:12.55: [ 4297]: --> [21:+FDCS:0,5,0,2,0,0,0,3]
Jul 27 18:51:12.55: [ 4297]: REMOTE wants 14400 bit/s
Jul 27 18:51:12.55: [ 4297]: REMOTE wants page width 1728 pixels in 215 mm
Jul 27 18:51:12.55: [ 4297]: REMOTE wants unlimited page length
Jul 27 18:51:12.55: [ 4297]: REMOTE wants 3.85 line/mm
Jul 27 18:51:12.55: [ 4297]: REMOTE wants 1-D MR
Jul 27 18:51:13.48: [ 4297]: --> [7:CONNECT]
Jul 27 18:51:13.48: [ 4297]: RECV: begin page
Jul 27 18:51:13.48: [ 4297]: MODEM set XON/XOFF/FLUSH: input ignored, output generated
Jul 27 18:51:13.48: [ 4297]: RECV: send trigger 022
Jul 27 18:51:13.48: [ 4297]: <-- data [1]
Jul 27 18:51:13.62: [ 4297]: RECV/CQ: Invalid WhiteTable code word, row 0, x 0
Jul 27 18:51:13.62: [ 4297]: RECV/CQ: Bad 1D pixel count, row 0, got 0, expected 1728
Jul 27 18:51:13.75: [ 4297]: RECV/CQ: Bad 1D pixel count, row 1, got 2123, expected 1728
Jul 27 18:51:13.82: [ 4297]: RECV/CQ: Invalid WhiteTable code word, row 2, x 0
Jul 27 18:51:13.82: [ 4297]: RECV/CQ: Bad 1D pixel count, row 2, got 0, expected 1728
Jul 27 18:51:13.82: [ 4297]: RECV/CQ: Bad 1D pixel count, row 3, got 2765, expected 1728
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Invalid WhiteTable code word, row 4, x 0
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Bad 1D pixel count, row 4, got 0, expected 1728
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Invalid WhiteTable code word, row 5, x 0
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Bad 1D pixel count, row 5, got 0, expected 1728
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Bad 1D pixel count, row 6, got 0, expected 1728
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Bad 1D pixel count, row 7, got 0, expected 1728
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Invalid WhiteTable code word, row 8, x 0
Jul 27 18:51:13.88: [ 4297]: RECV/CQ: Bad 1D pixel count, row 8, got 0, expected 1728
Jul 27 18:51:39.03: [ 4297]: RECV/CQ: Adjusting for RTC found at row 3
Jul 27 18:51:39.03: [ 4297]: RECV: 3 total lines, 3 bad lines, 0 consecutive bad lines
Jul 27 18:51:39.03: [ 4297]: MODEM set XON/XOFF/DRAIN: input interpreted, output disabled
Jul 27 18:51:39.03: [ 4297]: --> [13:+FPTS:1,2,0,0]
Jul 27 18:51:40.33: [ 4297]: --> [6:+FET:0]
Jul 27 18:51:40.33: [ 4297]: RECV recv MPS (more pages, same document)
Jul 27 18:51:40.33: [ 4297]: --> [2:OK]
Jul 27 18:51:40.33: [ 4297]: RECV: REJECT page quality, 0% good lines (95% required)
Jul 27 18:51:40.33: [ 4297]: RECV send RTN (retrain negative)
Jul 27 18:51:40.33: [ 4297]: <-- [10:AT+FPTS=2\r]
Jul 27 18:51:42.84: [ 4297]: --> [7:CONNECT]
Jul 27 18:51:50.45: [ 4297]: --> [10:NO CARRIER]
Jul 27 18:51:50.45: [ 4297]: MODEM No carrier
Jul 27 18:51:50.45: [ 4297]: REMOTE HANGUP: Unspecified Phase C error, including too much delay between TCF and +FDR command (code 90)
Jul 27 18:51:50.45: [ 4297]: RECV FAX (00000016): recvq/fax00001.tif from +49 7xxx xxxx xx, route to <unspecified>, 0 pages in 0:43
Jul 27 18:51:50.46: [ 4297]: RECV FAX: Unspecified Phase C error, including too much delay between TCF and +FDR command
Jul 27 18:51:50.46: [ 4297]: <-- [6:AT+FK\r]
Jul 27 18:51:50.57: [ 4297]: --> [2:OK]
Jul 27 18:51:50.57: [ 4297]: RECV FAX (00000016): session with +49 7xxx xxxx xx terminated abnormally: Unspecified Phase C error, including too much delay between TCF and +FDR command
Jul 27 18:51:50.57: [ 4297]: RECV FAX: bin/faxrcvd "recvq/fax00001.tif" "ttyS0" "00000016" "Unspecified Phase C error, including too much delay between TCF and +FDR command" "" "" ""
Jul 27 18:51:50.71: [ 4297]: RECV FAX: end
Jul 27 18:51:50.71: [ 4297]: SESSION END
###########################################################################
[snip]
# Configuration for a ZyXEL U1496. Firmware revisions from
# 5.02 on should work, though rev 6.01 works much better.
[snip]
I am using 5.04.
[snip]
CountryCode: 49
AreaCode: 7xx
FAXNumber: "+49 7xx xxxxxxx"
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: "etc/dialrules"
ServerTracing: 1
SessionTracing: 0xffffffff
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 2
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "somethingveryunique"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
NoCarrierRetrys: 3
MaxRecvPages: 25
PercentGoodLines: 0
MaxConsecutiveBadLines: 0
ModemType: Class2 # use class 2 interface
ModemRate: 19200 # changed this to 19200
ModemFlowControl: xonxoff # default was rtscts
ModemNoFlowCmd: AT&H0 # disable flow control
ModemHardFlowCmd: AT&H3 # hardware flow control
ModemSoftFlowCmd: AT&H4 # software flow control
ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up
ModemSetupDCDCmd: AT&C1 # DCD tracks carrier
ModemSetupAACmd: AT+FAA=1 # enable in current class
ModemSendFillOrder: LSB2MSB # as expected
ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
Class2RecvDataTrigger: "\022" # a la 2388-B
ModemResetCmds: AT&B1&N0&S0*F0S38.3=1S39=0
ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized
NoCarrierRetrys: 3 # retry 3 times on no carrier
ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet)
Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"
[snip]
Thanks for your answers ;)
Marc
____________________ 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*