*BSD News Article 52401


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Hylafax outgoing
Date: 9 Oct 1995 05:35:03 +0100
Organization: None
Lines: 180
Message-ID: <45a8pn$jqu@awfulhak.demon.co.uk>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]


Hi, I've been having problems with Hylafax... I've talked to the mail list
on sgi.com, but no-one seems to know what I'm talking about (except one
guy who reckons there's nothing wrong).

I have a USR-Sportster 28.8 modem and Hylafax 3.0p1.  I had the same
problems with Flexfax2.3beta036.

My configuration file is the standard one with a DTR of 115200 (attached
below for anyone interested).

I receive faxes ok and faxgetty will spawn a getty ok.  I can dial out
ok (although that's not really relevent).

I'm using FreeBSD-2.0.5-RELEASE.

When I try to send a fax (to any one of several other machines) I send
a AT+FDT to the modem and the modem responds with a +FCS message.

The software does not grok this and times out waiting for CONNECT.  I've
even tried connecting to another USR 28800 - same problem.

The error file is as follows:

Sep 25 20:03:00.89: [14351]: SESSION BEGIN
Sep 25 20:03:00.90: [14351]: DELAY 2600 ms
Sep 25 20:03:03.51: [14351]: <-- [16:ATE0V1Q0X4S0=0H0]
Sep 25 20:03:03.78: [14351]: --> [16:ATE0V1Q0X4S0=0H0]
Sep 25 20:03:03.78: [14351]: --> [2:OK]
Sep 25 20:03:03.78: [14351]: <-- [31:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1]
Sep 25 20:03:04.05: [14351]: --> [2:OK]
Sep 25 20:03:04.05: [14351]: <-- [13:AT+FCLASS=2.0]
Sep 25 20:03:04.19: [14351]: --> [2:OK]
Sep 25 20:03:04.19: [14351]: <-- [8:AT+FLO=2]
Sep 25 20:03:04.33: [14351]: --> [2:OK]
Sep 25 20:03:04.33: [14351]: <-- [8:AT+FPP=0]
Sep 25 20:03:04.47: [14351]: --> [2:OK]
Sep 25 20:03:04.47: [14351]: <-- [8:AT+FBO=0]
Sep 25 20:03:04.61: [14351]: --> [2:OK]
Sep 25 20:03:04.61: [14351]: <-- [9:AT+FCT=30]
Sep 25 20:03:04.75: [14351]: --> [2:OK]
Sep 25 20:03:04.75: [14351]: <-- [10:AT+FCQ=0,0]
Sep 25 20:03:04.89: [14351]: --> [2:OK]
Sep 25 20:03:04.89: [14351]: <-- [14:AT+FNR=1,1,1,1]
Sep 25 20:03:05.03: [14351]: --> [2:OK]
Sep 25 20:03:05.03: [14351]: <-- [8:AT+FIE=0]
Sep 25 20:03:05.17: [14351]: --> [2:OK]
Sep 25 20:03:05.17: [14351]: <-- [22:AT+FCC=1,5,2,2,0,0,0,0]
Sep 25 20:03:05.31: [14351]: --> [2:OK]
Sep 25 20:03:05.31: [14351]: <-- [4:ATM1]
Sep 25 20:03:05.58: [14351]: --> [2:OK]
Sep 25 20:03:05.64: [14351]: <-- [13:AT+FCLASS=2.0]
Sep 25 20:03:05.79: [14351]: --> [2:OK]
Sep 25 20:03:05.79: [14351]: <-- [8:AT+FLO=2]
Sep 25 20:03:05.93: [14351]: --> [2:OK]
Sep 25 20:03:05.93: [14351]: <-- [8:AT+FPP=0]
Sep 25 20:03:06.07: [14351]: --> [2:OK]
Sep 25 20:03:06.07: [14351]: <-- [8:AT+FBO=0]
Sep 25 20:03:06.21: [14351]: --> [2:OK]
Sep 25 20:03:06.21: [14351]: <-- [9:AT+FCT=30]
Sep 25 20:03:06.35: [14351]: --> [2:OK]
Sep 25 20:03:06.35: [14351]: <-- [10:AT+FCQ=0,0]
Sep 25 20:03:06.49: [14351]: --> [2:OK]
Sep 25 20:03:06.49: [14351]: <-- [14:AT+FNR=1,1,1,1]
Sep 25 20:03:06.63: [14351]: --> [2:OK]
Sep 25 20:03:06.63: [14351]: <-- [8:AT+FIE=0]
Sep 25 20:03:06.77: [14351]: --> [2:OK]
Sep 25 20:03:06.77: [14351]: <-- [22:AT+FCC=1,5,2,2,0,0,0,0]
Sep 25 20:03:06.91: [14351]: --> [2:OK]
Sep 25 20:03:06.91: [14351]: <-- [23:AT+FLI="Coverform Ltd."]
Sep 25 20:03:07.05: [14351]: --> [2:OK]
Sep 25 20:03:07.05: [14351]: DIAL (0181)9324062
Sep 25 20:03:07.05: [14351]: <-- [17:ATDT(0181)9324062]
Sep 25 20:03:21.84: [14351]: --> [4:+FCO]
Sep 25 20:03:23.30: [14351]: --> [27:+FNF:B500760BD4FDBBF962E321]
Sep 25 20:03:23.30: [14351]: REMOTE NSF "B500760BD4FDBBF962E321"
Sep 25 20:03:24.46: [14351]: --> [27:+FCI:" 44 0181 9324062    "]
Sep 25 20:03:24.46: [14351]: REMOTE CSI "44 0181 9324062"
Sep 25 20:03:25.28: [14351]: --> [20:+FIS:1,5,2,2,1,0,0,0]
Sep 25 20:03:25.28: [14351]: --> [2:OK]
Sep 25 20:03:25.28: [14351]: REMOTE best rate 14400 bit/s
Sep 25 20:03:25.28: [14351]: REMOTE max page width 2432 pixels in 303 mm
Sep 25 20:03:25.28: [14351]: REMOTE max unlimited page length 
Sep 25 20:03:25.28: [14351]: REMOTE best vres 7.7 line/mm
Sep 25 20:03:25.28: [14351]: REMOTE best format 2-D MR
Sep 25 20:03:25.29: [14351]: REMOTE best 0 ms/scanline
Sep 25 20:03:25.29: [14351]: REMOTE does not support PostScript transfer
Sep 25 20:03:25.29: [14351]: USE 14400 bit/s
Sep 25 20:03:25.29: [14351]: USE 0 ms/scanline
Sep 25 20:03:25.29: [14351]: SEND file "docq/doc7.cover;01"
Sep 25 20:03:25.30: [14351]: USE page width 1728 pixels in 215 mm
Sep 25 20:03:25.30: [14351]: USE unlimited page length 
Sep 25 20:03:25.30: [14351]: USE 7.7 line/mm
Sep 25 20:03:25.30: [14351]: USE 1-D MR
Sep 25 20:03:25.30: [14351]: <-- [22:AT+FIS=1,5,0,2,0,0,0,0]
Sep 25 20:03:25.45: [14351]: --> [2:OK]
Sep 25 20:03:25.45: [14351]: <-- [6:AT+FDT]
Sep 25 20:03:25.60: [14351]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Sep 25 20:03:33.95: [14351]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Sep 25 20:03:42.31: [14351]: --> [20:+FCS:1,5,0,2,0,0,0,0]
Sep 25 20:03:50.80: [14351]: --> [7:+FHS:25]
Sep 25 20:03:50.80: [14351]: REMOTE HANGUP: DCS sent 3 times without response (code 25)
Sep 25 20:03:50.80: [14351]: --> [2:OK]
Sep 25 20:04:02.20: [14351]: ABORT: job abort requested
Sep 25 20:04:27.33: [14351]: ABORT: job abort requested
Sep 25 20:04:30.20: [14351]: ABORT: job abort requested
Sep 25 20:04:32.08: [14351]: ABORT: job abort requested
Sep 25 20:04:33.46: [14351]: ABORT: job abort requested
Sep 25 20:04:34.85: [14351]: ABORT: job abort requested
Sep 25 20:05:42.18: [14351]: ABORT: job abort requested
Sep 25 20:06:50.81: [14351]: MODEM <Timeout>
Sep 25 20:06:50.81: [14351]: SEND FAILED: Job aborted by user
Sep 25 20:06:50.81: [14351]: <-- [4:ATH0]
Sep 25 20:06:55.83: [14351]: MODEM <Timeout>
Sep 25 20:06:55.83: [14351]: SESSION END

My config file is as follows:

CountryCode:		44
AreaCode:		181
FAXNumber:		+44.181.932.4259
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		43
RecvFileMode:		0660
LogFileMode:		0640
DeviceMode:		0660
RingsBeforeAnswer:	1
SpeakerVolume:		low
GettyArgs:		"Modem-%s"
LocalIdentifier:	"Coverform Ltd."
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		50
#
# 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:		115200
ModemFlowControl:	rtscts		# XON/XOFF flow control assumed
#
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 disable it to keep the
# fax software from complaining.
#
Class2CQCmd:		AT+FCQ=0,0	# disable copy quality checking


Any help ?... thanks

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....