Hylafax Mailing List Archives

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

Re: Waiting for modem to come ready




For those who replied to my query,asking for more information, here is my modem config file.

I start the faxgetty with the following line in my inittab:
fax:234:respawn:/usr/local/HylaFAX-v4.0/slib/faxgetty tty2A

As shown in the log file (previous message), the faxgetty process seems to start up normally. 
Remember that my operating system is not Linux, but SCO 5.0.2.

So here's my config.tty2A file: I copied it from the file spool/config/usr-2.0 in the HylaFAX distribution.

#
# Configuration for using the Class 2.0 command interface
# with a USR v.34 Courier or Sporster modem.
#
# RTS/CTS flow control is used default.
#
#
CountryCode:		49
AreaCode:		2241
FAXNumber:		+49-2241-122-436
LongDistancePrefix:	0,0
InternationalPrefix:	0,00
DialStringRules:	etc/dialrules
ServerTracing:		11
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		high
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Testfax"
LogFacility:		local0
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:		38400		# DCE-DTE communication rate
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 override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd:	!(0),(0)	# override modem response

# Dial command:
ModemDialCmd:		ATX3DT%s



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