HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] RECV: REJECT page quality...



Re-configure the modem in Class1.

--- Luca Abeni <labeni@mbigroup.it> wrote:
> Hello everyone,
> 
> I recently installed hylafax on a redhat 7.3, using
> an
> USROBOTICS COURIER V.EVERYTHING
> modem, and it generally works very well.
> 
> However, I cannot receive faxes from some machines
> (the caller giving
> the problem is always the same); the log is at the
> end of this mail.
> Since almost all the lines are received bad, it is
> clear that there
> is some problem... Faxes from this caller are
> received correctly using
> a different fax machine, so the problem is on my
> side (and it is not a
> line problem)...
> On the other hand, I receive faxes correctly from
> other machines, so my
> configuration is not totally wrong ;)
> 
> I searched the ml archives, and I found some reports
> of similar
> problems, but I was not able to find a solution...
> :(
> Can anyone help me?
> 
> 			Thanks,
> 				Luca
> 
> P.S.: please, cc me in the reply, since I am not
> subscribed to the list
> 
> Here is my config.ttyS0:
> LongDistancePrefix:     1
> InternationalPrefix:    00
> DialStringRules:        etc/dialrules
> ServerTracing:          1
> SessionTracing:         11
> RecvFileMode:           0600
> LogFileMode:            0600
> DeviceMode:             0600
> RingsBeforeAnswer:      1
> SpeakerVolume:          on
> 
> PercentGoodLines:       0
> MaxConsecutiveBadLines: 0
> 
> 
> GettyArgs:              "-h %l dx_%s"
> LocalIdentifier:        "MBI SRL"
> 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:              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
> #
> #Class2CQCmd: AT+FCQ=0
> 
> #
> # 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
> 
> # We need this, because of the dialtone issue...
> ModemDialCmd:           "ATX3 ATDT%s"           # T
> for tone dialing
> 
> The log:
> Jan 14 10:43:29.09: [ 9499]: SESSION BEGIN 00000021
> 390508754908
> Jan 14 10:43:29.09: [ 9499]: HylaFAX (tm) Version
> 4.1.5
> Jan 14 10:43:29.09: [ 9499]: <-- [4:ATA\r]
> Jan 14 10:43:35.80: [ 9499]: --> [4:+FCO]
> Jan 14 10:43:35.80: [ 9499]: ANSWER: FAX CONNECTION 
> DEVICE '/dev/ttyS0'
> Jan 14 10:43:35.80: [ 9499]: RECV FAX: begin
> Jan 14 10:43:37.45: [ 9499]: --> [27:+FTI:"         
> 095 416654"]
> Jan 14 10:43:37.45: [ 9499]: REMOTE TSI "095 416654"
> Jan 14 10:43:37.71: [ 9499]: -->
> [20:+FCS:0,3,0,2,0,0,0,1]
> Jan 14 10:43:37.71: [ 9499]: REMOTE wants 9600 bit/s
> Jan 14 10:43:37.71: [ 9499]: REMOTE wants page width
> 1728 pixels in 215
> mm
> Jan 14 10:43:37.71: [ 9499]: REMOTE wants unlimited
> page length
> Jan 14 10:43:37.71: [ 9499]: REMOTE wants 3.85
> line/mm
> Jan 14 10:43:37.71: [ 9499]: REMOTE wants 1-D MR
> Jan 14 10:43:37.84: [ 9499]: --> [2:OK]
> Jan 14 10:43:37.84: [ 9499]: <-- [7:AT+FDR\r]
> Jan 14 10:43:39.84: [ 9499]: -->
> [20:+FCS:0,3,0,2,0,0,0,1]
> Jan 14 10:43:39.84: [ 9499]: REMOTE wants 9600 bit/s
> Jan 14 10:43:39.84: [ 9499]: REMOTE wants page width
> 1728 pixels in 215
> mm
> Jan 14 10:43:39.84: [ 9499]: REMOTE wants unlimited
> page length
> Jan 14 10:43:39.84: [ 9499]: REMOTE wants 3.85
> line/mm
> Jan 14 10:43:39.84: [ 9499]: REMOTE wants 1-D MR
> Jan 14 10:43:41.46: [ 9499]: --> [7:CONNECT]
> Jan 14 10:43:41.46: [ 9499]: RECV: begin page
> Jan 14 10:43:41.46: [ 9499]: RECV: send trigger 022
> Jan 14 10:43:41.46: [ 9499]: <-- data [1]
> Jan 14 10:43:58.79: [ 9499]: RECV: 9 total lines, 8
> bad lines, 8
> consecutive bad lines
> Jan 14 10:43:58.79: [ 9499]: -->
> [15:+FPS:1,46,0,0,0]
> Jan 14 10:44:00.05: [ 9499]: --> [6:+FET:2]
> Jan 14 10:44:00.05: [ 9499]: RECV recv EOP (no more
> pages or documents)
> Jan 14 10:44:00.05: [ 9499]: --> [2:OK]
> Jan 14 10:44:00.05: [ 9499]: RECV: REJECT page
> quality, 11% good lines
> (95% required)
> Jan 14 10:44:00.05: [ 9499]: RECV send RTN (retrain
> negative)
> Jan 14 10:44:00.05: [ 9499]: <-- [9:AT+FPS=2\r]
> Jan 14 10:44:00.20: [ 9499]: --> [5:ERROR]
> Jan 14 10:44:00.20: [ 9499]: MODEM Command error
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions