Hylafax Mailing List Archives

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

HylaFax and USR



I know USR problems have been beat to death, but I have a problem that
is not in the USR FAQ.  Maybe someone can help.

I finally got things working pretty good as far as receiving faxes.

BUT, everytime I try to send a fax, the modem makes the training noises,
but as soon as it connects, it hangs up, and FaxQueuer says that it was
successful, but the number of pages sent is zero.

Here is the comm log:

Apr 16 09:41:34.79: [24762]: SESSION BEGIN 00000050 12568751
Apr 16 09:41:34.80: [24762]: SEND FAX: JOB 10 DEST 8751 COMMID 00000050
Apr 16 09:41:34.80: [24762]: DELAY 2600 ms
Apr 16 09:41:37.41: [24762]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Apr 16 09:41:37.55: [24762]: --> [2:OK]
Apr 16 09:41:37.55: [24762]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Apr 16 09:41:37.69: [24762]: --> [2:OK]
Apr 16 09:41:37.69: [24762]: <-- [12:AT+FCLASS=1\r]
Apr 16 09:41:37.83: [24762]: --> [2:OK]
Apr 16 09:41:37.83: [24762]: <-- [12:AT&H1&I0&R2\r]
Apr 16 09:41:37.97: [24762]: --> [2:OK]
Apr 16 09:41:37.97: [24762]: <-- [21:AT+FCLASS=0&H1&I0&R2\r]
Apr 16 09:41:38.11: [24762]: --> [2:OK]
Apr 16 09:41:38.11: [24762]: <-- [5:ATM1\r]
Apr 16 09:41:38.25: [24762]: --> [2:OK]
Apr 16 09:41:38.25: [24762]: <-- [12:AT+FCLASS=1\r]
Apr 16 09:41:38.49: [24762]: --> [2:OK]
Apr 16 09:41:38.49: [24762]: <-- [12:AT&H1&I0&R2\r]
Apr 16 09:41:38.73: [24762]: --> [2:OK]
Apr 16 09:41:38.74: [24762]: DIAL 8751
Apr 16 09:41:38.74: [24762]: <-- [9:ATDT8751\r]
Apr 16 09:41:54.72: [24762]: --> [7:CONNECT]
Apr 16 09:41:56.35: [24762]: --> [2:OK]
Apr 16 09:41:56.35: [24762]: <-- [9:AT+FRH=3\r]
Apr 16 09:41:56.36: [24762]: --> [7:CONNECT]
Apr 16 09:41:57.08: [24762]: --> [2:OK]
Apr 16 09:41:57.08: [24762]: REMOTE CSI "2569638751"
Apr 16 09:41:57.08: [24762]: <-- [9:AT+FRH=3\r]
Apr 16 09:41:57.10: [24762]: --> [7:CONNECT]
Apr 16 09:41:57.38: [24762]: --> [2:OK]
Apr 16 09:41:57.38: [24762]: REMOTE best rate 14400 bit/s
Apr 16 09:41:57.38: [24762]: REMOTE max page width 1728 pixels in 215 mm
Apr 16 09:41:57.39: [24762]: REMOTE max unlimited page length 
Apr 16 09:41:57.39: [24762]: REMOTE best vres 7.7 line/mm
Apr 16 09:41:57.39: [24762]: REMOTE best format 2-D MMR
Apr 16 09:41:57.39: [24762]: REMOTE supports T.30 Annex A, ECM
Apr 16 09:41:57.39: [24762]: REMOTE best 20 ms, 10 ms/scanline
Apr 16 09:41:57.39: [24762]: USE 14400 bit/s
Apr 16 09:41:57.39: [24762]: USE 20 ms, 10 ms/scanline
Apr 16 09:41:57.39: [24762]: <-- [9:AT+FTH=3\r]
Apr 16 09:41:57.59: [24762]: --> [7:CONNECT]
Apr 16 09:41:57.59: [24762]: <-- data [3]
Apr 16 09:41:57.59: [24762]: <-- data [2]
Apr 16 09:41:58.76: [24762]: --> [2:OK]
Apr 16 09:41:58.76: [24762]: <-- [5:ATH0\r]
Apr 16 09:41:59.00: [24762]: --> [2:OK]
Apr 16 09:41:59.00: [24762]: SESSION END



Here is the email I get from the notify program:

Your facsimile job to 8751 was completed successfully.

         Pages: 0
       Quality: Fine
    Page Width: 194 (mm)
   Page Length: 281 (mm)
   Signal Rate: 14400 bit/s
   Data Format: 2-D MMR
Submitted From: host.domain.com
         JobID: 10
       GroupID: 10
        CommID: c00000050

Processing time was 0:31.


Here is my config file:

# $Id: usr-2.0,v 1.7 1996/06/24 02:58:42 sam Rel $

[extra comments deleted]

# Thanx to Robert E Jones for this USR config
#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and RTS/CTS flow control.
#
#
CountryCode:		1
AreaCode:		256
FAXNumber:		+1.256.963.8751
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	"etc/dialrules"
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	0
SpeakerVolume:		medium
GettyArgs:		"-h %l %s"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
PercentGoodLines:       80
MaxRecvPages:		100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class1          # use class 1 interface
#removed for class 1
#ModemType:		Class2.0	# use class 2.0 interface
ModemRate:		38400		# DCE-DTE communication rate
ModemFlowControl:	rtscts		# Hardware flow control
#ModemFlowControl:	xonxoff		# XON/XOFF 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
#
#removed for class 1
#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
Class2NRCmd:            AT+FNR=1,1,1,0  # setup status reporting command

########################################

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&H1&I0&R2    # leave modem in class 0
ModemAnswerCmd:         AT+FCLASS=1&H1&I0&R2A   # force RTS/CTS after
change



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