Hylafax Mailing List Archives

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

[hylafax-users] phase C errors with US Robotics faxmodem



hello all,
I've been using hylafax 4.1 on suse 6.3 with 3Com US Robotics 56k faxmodem
(1998).
In most cases it seems fine but I often get phase C errors.
Now looking through the archives I've seen that lowering to class 1,
reducing the max baud rate & using some Class2NRCmd command can help for
older models. I've tried those but with no luck so far.
Any ideas or do I have to get my self another modem?

Is there perhaps some minimum configuration which works with all faxes?
(just want it to work).


Here are few dumps which will hopefully give somebody a clearer picture of
what's going on, must say they don't help me much 8-.

Log file with a phace C error:
Oct 16 11:54:55.26: [20221]: SESSION BEGIN 00000103 4402001233645836
Oct 16 11:54:55.26: [20221]: HylaFAX (tm) Version 4.1
Oct 16 11:54:55.26: [20221]: SEND FAX: JOB 144 DEST 01233645836 COMMID
00000103
Oct 16 11:54:55.26: [20221]: DEVICE '/dev/ttyS0'
Oct 16 11:54:55.26: [20221]: DELAY 75 ms
Oct 16 11:54:55.34: [20221]: DELAY 2600 ms
Oct 16 11:54:57.94: [20221]: <-- [4:ATZ\r]
Oct 16 11:54:58.08: [20221]: --> [2:OK]
Oct 16 11:54:58.08: [20221]: <-- [5:ATE0\r]
Oct 16 11:54:58.22: [20221]: --> [4:ATE0]
Oct 16 11:54:58.22: [20221]: --> [2:OK]
Oct 16 11:54:58.22: [20221]: <-- [5:ATV1\r]
Oct 16 11:54:58.36: [20221]: --> [2:OK]
Oct 16 11:54:58.36: [20221]: <-- [7:ATQ0X4\r]
Oct 16 11:54:58.51: [20221]: --> [2:OK]
Oct 16 11:54:58.51: [20221]: <-- [7:ATS0=0\r]
Oct 16 11:54:58.65: [20221]: --> [2:OK]
Oct 16 11:54:58.65: [20221]: <-- [7:ATS8=2\r]
Oct 16 11:54:58.79: [20221]: --> [2:OK]
Oct 16 11:54:58.79: [20221]: <-- [8:ATS7=60\r]
Oct 16 11:54:58.93: [20221]: --> [2:OK]
Oct 16 11:54:58.93: [20221]: <-- [12:AT&H2&I2&R1\r]
Oct 16 11:54:59.07: [20221]: --> [2:OK]
Oct 16 11:54:59.07: [20221]: <-- [11:ATS13=1&D2\r]
Oct 16 11:54:59.21: [20221]: --> [2:OK]
Oct 16 11:54:59.21: [20221]: <-- [6:AT&C1\r]
Oct 16 11:54:59.35: [20221]: --> [2:OK]
Oct 16 11:54:59.35: [20221]: <-- [12:AT+FCLASS=1\r]
Oct 16 11:54:59.49: [20221]: --> [2:OK]
Oct 16 11:54:59.49: [20221]: <-- [12:AT+FCLASS=0\r]
Oct 16 11:54:59.63: [20221]: --> [2:OK]
Oct 16 11:54:59.63: [20221]: <-- [5:ATM0\r]
Oct 16 11:54:59.77: [20221]: --> [2:OK]
Oct 16 11:54:59.77: [20221]: <-- [12:AT+FCLASS=1\r]
Oct 16 11:55:00.01: [20221]: --> [2:OK]
Oct 16 11:55:00.02: [20221]: DIAL 01233645836
Oct 16 11:55:00.02: [20221]: <-- [16:ATDT01233645836\r]
Oct 16 11:55:13.89: [20221]: --> [7:CONNECT]
Oct 16 11:55:15.86: [20221]: --> [2:OK]
Oct 16 11:55:15.86: [20221]: REMOTE NSF "00 00 11 80 00 8A 49 10 4B 49 4E 47
53 46 4F 52 44
 20 46 4C 4F 57 45 52 00 46 00 86 04 30 30 30 30 80 C0 8F 02 01 00 01 01 01
01 04 03"
Oct 16 11:55:15.86: [20221]: NSF remote fax equipment: Canon
Oct 16 11:55:15.86: [20221]: NSF remote station ID: "KINGSFORD FLOWER"
Oct 16 11:55:15.86: [20221]: <-- [9:AT+FRH=3\r]
Oct 16 11:55:15.88: [20221]: --> [7:CONNECT]
Oct 16 11:55:16.56: [20221]: --> [2:OK]
Oct 16 11:55:16.56: [20221]: REMOTE CSI "01233 645836"
Oct 16 11:55:16.56: [20221]: <-- [9:AT+FRH=3\r]
Oct 16 11:55:16.58: [20221]: --> [7:CONNECT]
Oct 16 11:55:16.82: [20221]: --> [2:OK]
Oct 16 11:55:16.82: [20221]: REMOTE best rate 9600 bit/s
Oct 16 11:55:16.82: [20221]: REMOTE max unlimited page length
Oct 16 11:55:16.82: [20221]: REMOTE best vres 7.7 line/mm
Oct 16 11:55:16.82: [20221]: REMOTE best format 2-D MMR
Oct 16 11:55:16.82: [20221]: REMOTE supports T.30 Annex A, ECM
Oct 16 11:55:16.82: [20221]: REMOTE best 10 ms/scanline
Oct 16 11:55:16.82: [20221]: USE 9600 bit/s
Oct 16 11:55:16.82: [20221]: USE 10 ms/scanline
Oct 16 11:55:16.82: [20221]: SEND file "docq/doc232.ps;30"
Oct 16 11:55:16.82: [20221]: USE page width 1728 pixels in 215 mm
Oct 16 11:55:16.82: [20221]: USE unlimited page length
Oct 16 11:55:16.82: [20221]: USE 3.85 line/mm
Oct 16 11:55:16.82: [20221]: USE 1-D MR
Oct 16 11:55:16.82: [20221]: SEND training at v.29 9600 bit/s
Oct 16 11:55:16.82: [20221]: <-- [9:AT+FTH=3\r]
Oct 16 11:55:17.02: [20221]: --> [7:CONNECT]
Oct 16 11:55:17.02: [20221]: <-- data [23]
Oct 16 11:55:17.02: [20221]: <-- data [2]
Oct 16 11:55:17.05: [20221]: --> [7:CONNECT]
Oct 16 11:55:17.05: [20221]: <-- data [6]
Oct 16 11:55:17.05: [20221]: <-- data [2]
Oct 16 11:55:19.00: [20221]: --> [2:OK]
Oct 16 11:55:19.00: [20221]: DELAY 75 ms
Oct 16 11:55:19.08: [20221]: <-- [10:AT+FTM=96\r]
Oct 16 11:55:19.40: [20221]: --> [7:CONNECT]
Oct 16 11:55:19.40: [20221]: <-- data [1024]
Oct 16 11:55:19.40: [20221]: <-- data [776]
Oct 16 11:55:19.40: [20221]: <-- data [2]
Oct 16 11:55:20.94: [20221]: --> [2:OK]
Oct 16 11:55:20.94: [20221]: <-- [9:AT+FRH=3\r]
Oct 16 11:55:21.44: [20221]: --> [7:CONNECT]
Oct 16 11:55:22.21: [20221]: --> [2:OK]
Oct 16 11:55:22.21: [20221]: TRAINING succeeded
Oct 16 11:55:22.21: [20221]: <-- [10:AT+FTM=96\r]
Oct 16 11:55:22.56: [20221]: --> [7:CONNECT]
Oct 16 11:55:22.56: [20221]: SEND begin page
Oct 16 11:55:22.56: [20221]: <-- data [1031]
Oct 16 11:55:22.56: [20221]: <-- data [1025]
Oct 16 11:55:22.56: [20221]: <-- data [1030]
Oct 16 11:55:22.56: [20221]: <-- data [1031]
Oct 16 11:55:24.56: [20221]: <-- data [1027]
Oct 16 11:55:24.56: [20221]: <-- data [1024]
Oct 16 11:55:24.56: [20221]: <-- data [1026]
Oct 16 11:55:24.56: [20221]: <-- data [1024]
Oct 16 11:55:26.55: [20221]: <-- data [1025]
Oct 16 11:55:26.55: [20221]: <-- data [1027]
Oct 16 11:55:26.55: [20221]: <-- data [1025]
Oct 16 11:55:26.55: [20221]: <-- data [1028]
Oct 16 11:55:28.55: [20221]: <-- data [643]
Oct 16 11:55:28.55: [20221]: SENT 12927 bytes of data
Oct 16 11:55:28.55: [20221]: <-- data [1028]
Oct 16 11:55:28.55: [20221]: <-- data [1025]
Oct 16 11:55:28.55: [20221]: <-- data [1025]
Oct 16 11:55:30.55: [20221]: <-- data [1026]
Oct 16 11:55:30.55: [20221]: <-- data [1029]
Oct 16 11:55:30.55: [20221]: <-- data [1028]
Oct 16 11:55:30.55: [20221]: <-- data [1028]
Oct 16 11:55:32.54: [20221]: <-- data [1029]
Oct 16 11:55:32.54: [20221]: <-- data [1025]
Oct 16 11:55:32.54: [20221]: <-- data [1024]
Oct 16 11:55:32.54: [20221]: <-- data [1028]
Oct 16 11:55:34.54: [20221]: <-- data [1027]
Oct 16 11:55:34.54: [20221]: <-- data [605]
Oct 16 11:55:34.54: [20221]: SENT 12890 bytes of data
Oct 16 11:55:34.54: [20221]: <-- data [1030]
Oct 16 11:55:34.54: [20221]: <-- data [1026]
Oct 16 11:55:36.54: [20221]: <-- data [992]
Oct 16 11:55:36.54: [20221]: SENT 3040 bytes of data
Oct 16 11:55:36.54: [20221]: SEND 1D RTC
Oct 16 11:55:36.54: [20221]: <-- data [29]
Oct 16 11:55:36.54: [20221]: <-- data [2]
Oct 16 11:55:36.54: [20221]: SEND end page
Oct 16 11:56:56.53: [20221]: SEND: Unspecified Transmit Phase C error;
Giving up after 3 attempts to send same page "docq/doc232.ps;30", dirnum 0
Oct 16 11:56:56.53: [20221]: <-- [9:AT+FTH=3\r]
Oct 16 11:56:59.08: [20221]: --> [0:]
Oct 16 11:56:59.08: [20221]: <-- [5:ATH0\r]
Oct 16 11:57:04.08: [20221]: MODEM <Timeout>
Oct 16 11:57:04.08: [20221]: SESSION END



cat /var/spool/fax/config/class1:
# $Id: class1,v 1.4 2001/05/21 04:31:28 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names
of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
# BEGIN-SERVER
#CountryCode:           1               # USA
#LongDistancePrefix:    1
#InternationalPrefix:   011
#AreaCode:              415
#DialStringRules:       etc/dialrules
#FAXNumber:             +1.999.555.1212
#LocalIdentifier:       "NothingSetup"  # default is canonical FAXNumber
#ServerTracing:         1               # log server-related operations
#SessionTracing:                11              # log server-related
operations
#RecvFileMode:          0600            # recvd facsimile are not public
#LogFileMode:           0600            # private log files
#DeviceMode:            0600            # device is accessible only to
uucp/fax
#QualifyTSI:            etc/tsi         # accept facsimile from anyone
#SpeakerVolume:         off             # machine's are already too loud
#RingsBeforeAnswer:     1               # answer on first ring
#TagLineFont:           etc/lutRS18.pcf # tag line font
#TagLineFormat:         "From %%l|%c|Page %%P of %%T"
#MaxBadCalls:           5               # max 5 consecutive bad calls
#PostScriptTimeout:     300             # 5 minute timeout on PostScript
jobs
#MaxSendPages:          25              # max pages in an outbound job
#MaxRecvPages:          25              # max pages in an inbound job
#ContCoverPage:         etc/cover.templ # enable continuation cover pages
#DestControls:          etc/destcontrols # destination-specific controls
#MaxConcurrentJobs:     1               # serialize jobs to the same dest
#TimeOfDay:             "Any"           # outbound jobs any day, any time
# END-SERVER
#
# 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
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:          ATDT%s@         # T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:                ""              # stuff to do when modem is
reset
#ModemAnswerCmd:                ATA             # use this to answer phone
#ModemNoFlowCmd:                AT&K            # disable flow control cmd
#ModemHardFlowCmd:      AT&K3           # hardware flow control cmd
#ModemSoftFlowCmd:      AT&K4           # software flow control cmd
#ModemNoAutoAnswerCmd:  ATS0=0          # disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:     "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:       ATE0            # disable command echo
#ModemVerboseResultsCmd:        ATV1            # enable verbose command
results
#ModemResultCodesCmd:   ATQ0            # enable result codes
#ModemOnHookCmd:                ATH0            # place phone on hook
(hangup)
#ModemSoftResetCmd:     ATZ             # do soft reset of modem
#ModemWaitTimeCmd:      ATS7=60         # wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:        ATS8=2          # comma pause time is 2
seconds
#ModemRecvFillOrder:    LSB2MSB         # bit order of received facsimile
#ModemSendFillOrder:    LSB2MSB         # bit order modem expects for
transmit
#
Class1Cmd:              AT+FCLASS=1     # command to enter class 1
Class1TCFResponseDelay: 75              # 75ms delay between recv TCF &
response
Class1SendPPMDelay:     75              # 75ms delay before sending PPM
Class1SendTCFDelay:     75              # 75ms delay between sending DCS &
TCF
Class1SwitchingDelay:   150             # 150ms delay in switching
transmission direction
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

Class2NRCmd:            AT+FNR=1,1,1,0  # setup status reporting command



cat /var/spool/fax/etc/config.ttyS0:
# $Id: usr-xon,v 1.5 2001/06/17 18:02:07 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names
of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control.
#
#
CountryCode:            44
AreaCode:               020
FAXNumber:              "+44 020 72448414"
LongDistancePrefix:     00
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "TNSN"
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 class 1 interface
ModemRate:              19200           # max rate for DCE-DTE communication
ModemFlowControl:       xonxoff         # hardware flow control
#
ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier (or
not)
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
ModemResultCodesCmd:    ATQ0X4          # enable result codes
#
ModemMfrQueryCmd:       !USR
ModemModelQueryCmd:     ATI3
ModemRevQueryCmd:       ATI7            # XXX returns a multi-line result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd:          AT&H0&I0&R1     # setup modem for no flow control
Class1HFLOCmd:          AT&H1&I0&R2     # setup modem for hardware flow
control
Class1SFLOCmd:          ""              # modem does this automatically
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd:        AT+FCLASS=0     # leave modem idling in class 0
ModemAnswerCmd:         AT+FCLASS=1A    # answer in Class 1
#
# 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




Regards,
Thorsteinn Sigurdsson (tsigurdsson@tnsn.com)
The National Solicitors' Network
73, Gloucester Road
SW7 4SS, London, UK
Tel: 2027 2446422 - Fax: 0207 3706529 - GSM: 0794 9038206



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




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