Hylafax Mailing List Archives

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

3com/USR Prof Msg Modem: pages squished/fax aborted



Hi,

recently, I started using Hylafax for sending faxes but I was not able
to use it successfully.

My setup:
	Hylafax V4.0pl2
	SuSE Linux 6.0 with some updates
	3com/USR Professional Message Modem, latest firmware (V.90)

I encounter the error mentioned in the FAQ: pages appear squished and
the session is aborted abnormally. The workaround support 
	Class2DDISCmd:      AT+FDIS
is not appropriate since the USR works in Class 2.0 (Class 2 is not
implemented). If I use the workaround, I get the log

[snip]
Apr 06 19:24:17.23: [  724]: <-- [24:AT+FDIS=0,5,0,2,0,0,0,0\r]
Apr 06 19:24:17.48: [  724]: --> [5:ERROR]
Apr 06 19:24:17.48: [  724]: MODEM Command error
Apr 06 19:24:17.48: [  724]: SEND FAILED: Unable to setup session parameters pri
or to call (modem command failed)
Apr 06 19:24:17.48: [  724]: MODEM set DTR OFF
Apr 06 19:24:17.48: [  724]: SESSION END




Here is the faxlog of an unsuccessful transmit without the workaround
(erroneous command marked by !!!!!!!)

Apr 05 20:42:00.98: [ 8268]: SESSION BEGIN 00000004 496813024316
Apr 05 20:42:00.98: [ 8268]: SEND FAX: JOB 4 DEST 3024316 COMMID 00000004
Apr 05 20:42:00.98: [ 8268]: MODEM set DTR OFF
Apr 05 20:42:00.98: [ 8268]: DELAY 2600 ms
Apr 05 20:42:03.57: [ 8268]: MODEM set DTR ON
Apr 05 20:42:03.57: [ 8268]: MODEM set baud rate: 19200 baud, input flow NONE, output flow NONE
Apr 05 20:42:03.57: [ 8268]: MODEM flush i/o
Apr 05 20:42:03.57: [ 8268]: <-- [15:ATE0V1Q0S0=0H0\r]
Apr 05 20:42:03.71: [ 8268]: --> [2:OK]
Apr 05 20:42:03.71: [ 8268]: <-- [12:ATS8=2S7=60\r]
Apr 05 20:42:03.85: [ 8268]: --> [2:OK]
Apr 05 20:42:03.85: [ 8268]: <-- [14:AT+FCLASS=2.0\r]
Apr 05 20:42:03.99: [ 8268]: --> [2:OK]
Apr 05 20:42:03.99: [ 8268]: <-- [9:AT+FLO=0\r]
Apr 05 20:42:04.13: [ 8268]: --> [2:OK]
Apr 05 20:42:04.13: [ 8268]: <-- [9:AT+FPP=0\r]
Apr 05 20:42:04.27: [ 8268]: --> [2:OK]
Apr 05 20:42:04.27: [ 8268]: <-- [9:AT+FBO=0\r]
Apr 05 20:42:04.41: [ 8268]: --> [2:OK]
Apr 05 20:42:04.41: [ 8268]: <-- [10:AT+FCT=30\r]
Apr 05 20:42:04.55: [ 8268]: --> [2:OK]
Apr 05 20:42:04.55: [ 8268]: <-- [15:AT+FNR=1,1,1,0\r]
Apr 05 20:42:04.69: [ 8268]: --> [2:OK]
Apr 05 20:42:04.69: [ 8268]: <-- [9:AT+FIE=0\r]
Apr 05 20:42:04.83: [ 8268]: --> [2:OK]
Apr 05 20:42:04.83: [ 8268]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Apr 05 20:42:04.98: [ 8268]: --> [2:OK]
Apr 05 20:42:04.98: [ 8268]: <-- [7:ATL1M1\r]
Apr 05 20:42:05.12: [ 8268]: --> [2:OK]
Apr 05 20:42:05.12: [ 8268]: MODEM input buffering enabled
Apr 05 20:42:05.12: [ 8268]: <-- [14:AT+FCLASS=2.0\r]
Apr 05 20:42:05.36: [ 8268]: --> [2:OK]
Apr 05 20:42:05.36: [ 8268]: <-- [9:AT+FLO=0\r]
Apr 05 20:42:05.60: [ 8268]: --> [2:OK]
Apr 05 20:42:05.60: [ 8268]: <-- [9:AT+FPP=0\r]
Apr 05 20:42:05.84: [ 8268]: --> [2:OK]
Apr 05 20:42:05.84: [ 8268]: <-- [9:AT+FBO=0\r]
Apr 05 20:42:06.10: [ 8268]: --> [2:OK]
Apr 05 20:42:06.10: [ 8268]: <-- [10:AT+FCT=30\r]
Apr 05 20:42:06.34: [ 8268]: --> [2:OK]
Apr 05 20:42:06.34: [ 8268]: <-- [15:AT+FNR=1,1,1,0\r]
Apr 05 20:42:06.58: [ 8268]: --> [2:OK]
Apr 05 20:42:06.58: [ 8268]: <-- [9:AT+FIE=0\r]
Apr 05 20:42:06.82: [ 8268]: --> [2:OK]
Apr 05 20:42:06.82: [ 8268]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Apr 05 20:42:07.07: [ 8268]: --> [2:OK]
Apr 05 20:42:07.07: [ 8268]: <-- [30:AT+FLI="B. Neubert & U. Volm"\r]
Apr 05 20:42:07.32: [ 8268]: --> [2:OK]
Apr 05 20:42:07.34: [ 8268]: DIAL 3024316
Apr 05 20:42:07.34: [ 8268]: <-- [12:ATDT3024316\r]
Apr 05 20:42:18.21: [ 8268]: --> [4:+FCO]
Apr 05 20:42:21.56: [ 8268]: --> [27:+FCI:"     +49 681 3024316"]
Apr 05 20:42:21.56: [ 8268]: REMOTE CSI "+49 681 3024316"
Apr 05 20:42:21.56: [ 8268]: --> [20:+FIS:1,3,0,2,1,0,1,3]
Apr 05 20:42:21.56: [ 8268]: --> [2:OK]
Apr 05 20:42:21.56: [ 8268]: REMOTE best rate 9600 bit/s
Apr 05 20:42:21.56: [ 8268]: REMOTE max page width 1728 pixels in 215 mm
Apr 05 20:42:21.56: [ 8268]: REMOTE max unlimited page length 
Apr 05 20:42:21.56: [ 8268]: REMOTE best vres 7.7 line/mm
Apr 05 20:42:21.56: [ 8268]: REMOTE best format 2-D MR
Apr 05 20:42:21.56: [ 8268]: REMOTE best 10 ms/scanline
Apr 05 20:42:21.56: [ 8268]: USE 9600 bit/s
Apr 05 20:42:21.56: [ 8268]: USE 10 ms/scanline
Apr 05 20:42:21.56: [ 8268]: SEND file "docq/doc4.cover;01"
Apr 05 20:42:21.56: [ 8268]: USE page width 1728 pixels in 215 mm
Apr 05 20:42:21.56: [ 8268]: USE unlimited page length 
Apr 05 20:42:21.56: [ 8268]: USE 7.7 line/mm
Apr 05 20:42:21.56: [ 8268]: USE 1-D MR
Apr 05 20:42:21.56: [ 8268]: <-- [23:AT+FIS=1,3,0,2,0,0,0,3\r]
Apr 05 20:42:21.81: [ 8268]: --> [2:OK]
Apr 05 20:42:21.81: [ 8268]: <-- [7:AT+FDT\r]
Apr 05 20:42:22.09: [ 8268]: --> [20:+FCS:1,3,0,2,0,0,0,3]
Apr 05 20:42:27.66: [ 8268]: --> [7:CONNECT]
Apr 05 20:42:27.66: [ 8268]: SEND begin page
Apr 05 20:42:27.66: [ 8268]: <-- data [1026]
Apr 05 20:42:27.66: [ 8268]: <-- data [1025]
Apr 05 20:42:27.66: [ 8268]: <-- data [1029]
Apr 05 20:42:27.66: [ 8268]: <-- data [1026]
Apr 05 20:42:27.66: [ 8268]: <-- data [1026]
Apr 05 20:42:29.66: [ 8268]: <-- data [1034]
Apr 05 20:42:29.66: [ 8268]: <-- data [1046]
Apr 05 20:42:29.66: [ 8268]: <-- data [1026]
Apr 05 20:42:31.66: [ 8268]: <-- data [1027]
Apr 05 20:42:31.66: [ 8268]: <-- data [1049]
Apr 05 20:42:31.66: [ 8268]: <-- data [1040]
Apr 05 20:42:31.66: [ 8268]: <-- data [1030]
Apr 05 20:42:33.65: [ 8268]: <-- data [1026]
Apr 05 20:42:33.65: [ 8268]: <-- data [1028]
Apr 05 20:42:33.65: [ 8268]: <-- data [1024]
Apr 05 20:42:33.65: [ 8268]: <-- data [1033]
Apr 05 20:42:35.65: [ 8268]: <-- data [1027]
Apr 05 20:42:35.65: [ 8268]: <-- data [474]
Apr 05 20:42:35.65: [ 8268]: SENT 17877 bytes of data
Apr 05 20:42:35.65: [ 8268]: SEND 1D RTC
Apr 05 20:42:35.65: [ 8268]: <-- data [9]
Apr 05 20:42:35.65: [ 8268]: SEND end page
Apr 05 20:42:35.65: [ 8268]: SEND send MPS (more pages, same document)
Apr 05 20:42:35.65: [ 8268]: <-- data [2]
!!!!!!!!!!!!!! here's the error
Apr 05 20:45:35.64: [ 8268]: MODEM TIMEOUT: reading line from modem
!!!!!!!!!!!!!!
Apr 05 20:45:35.64: [ 8268]: REMOTE HANGUP: Unspecified Transmit Phase D error, including +FPHCTO timeout between data and +FET command (code 50)
Apr 05 20:45:35.64: [ 8268]: <-- [7:AT+FKS\r]
Apr 05 20:46:05.64: [ 8268]: MODEM TIMEOUT: reading line from modem
Apr 05 20:46:05.64: [ 8268]: MODEM <Timeout>
Apr 05 20:46:05.64: [ 8268]: <-- [5:ATH0\r]
Apr 05 20:46:10.64: [ 8268]: MODEM TIMEOUT: reading line from modem
Apr 05 20:46:10.64: [ 8268]: MODEM <Timeout>
Apr 05 20:46:10.64: [ 8268]: MODEM set DTR OFF
Apr 05 20:46:10.64: [ 8268]: SESSION END

My configuration was automatically configured (no documentation
available, any hints to a web site with the appropriate fax
commands?):

#
# Generic Class 2.0 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		49
AreaCode:		681
FAXNumber:		+49.681.817629
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		527
SessionTracing:		527
RecvFileMode:		0644
LogFileMode:		0600
DeviceMode:		0666
RingsBeforeAnswer:	99
SpeakerVolume:		low
GettyArgs:		"-r -b -s %s %l"
LocalIdentifier:	"Neubert & Volmar"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"Von %%l|%c|S. %%p von %%t"
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2.0	# use this to supply a hint
#ModemRate:		19200		# max 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 reflects carrier (or not)
#
# 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
#
# Configuration parameters for Class 2.0 modems.
#
Class2Cmd:		AT+FCLASS=2.0	# command to enter class 2.0
Class2BORCmd:		AT+FBO=0	# bit order for phase B/C/D (direct)
Class2CQCmd:		""		# commands to enable copy quality proc.
Class2AbortCmd:		AT+FKS		# abort session command
Class2CQQueryCmd:	AT+FCQ=?	# query for copy quality capabilities
Class2DCCQueryCmd:	AT+FCC=?	# query for modem capabilities
Class2TBCCmd:		AT+FPP=0	# setup stream mode
Class2CRCmd:		AT+FCR=1	# enable capability to receive
Class2PHCTOCmd:		AT+FCT=30	# set phase C timeout parameter
Class2BUGCmd:		AT+FBU=1	# enable HDLC frame tracing
Class2LIDCmd:		AT+FLI		# set local identifier command
Class2DCCCmd:		AT+FCC		# set modem capabilities command
Class2DISCmd:		AT+FIS		# set session parameters command
Class2DDISCmd:		AT+FDIS		# disable pre-dial DIS command hack
Class2CIGCmd:		AT+FPI		# set polling identifier command
Class2NRCmd:		AT+FNR=1,1,1,0
Class2PIECmd:		AT+FIE=0	# disable interrupt-enable command
Class2PTSCmd:		AT+FPS		# set post-page status command
Class2SPLCmd:		AT+FSP		# set polling indicator command
Class2NFLOCmd:		AT+FLO=0	# set no flow control command
Class2SFLOCmd:		AT+FLO=1	# set software flow control command
Class2HFLOCmd:		AT+FLO=2	# set hardware flow control command


Are there any suggestions or is there someone willing to e-mail me a
working setup for this modem? 

Many thank for your attention,
Boris
-- 
Boris Neubert                            e-mail: neubert@lusi.uni-sb.de
WWW: http://www.uni-sb.de/~b.neubert           PGP public key available



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