HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Newbie - Modem Reset Problem



When the fax server is first powered up and running I
can receive faxes, but after I use the sendfax command
once I can't receive faxes anymore. I can send all the
faxes I want, but it won't receive any. When I
actually receive faxes the modem resets fine, but when
I send a fax the terminal ready light doesn't come on
after the reset and it won't pick up the phone line on
any incoming calls. Any help would be greatly
appreciated.

I'm using Hylafax 4.1.3, RH Linux 7.3, with a USR 56K
Faxmodem.

Here is the config file,

# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
LongDistancePrefix:	1
InternationalPrefix:	011
AreaCode:		000
DialStringRules:	etc/dialrules
FAXNumber:		555-5555
LocalIdentifier:	"Encore Music Company, Inc."  #name
that will appear on fax
ServerTracing:		43032		# log server-related operations
SessionTracing:		11		# log server-related operations
RecvFileMode:		0666		# recvd facsimile are not public
LogFileMode:		0600		# private log files
DeviceMode:		0600		# device is accessible only to
uucp/fax
SpeakerVolume:		low
RingsBeforeAnswer:	2
TagLineFont:		etc/lutRS18.pcf	# tag line font
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
GettyArgs:		"-h %l dx_%s"	# modem must auto-detect
fax/data
MaxSendPages:		50		# max pages in an outbound job
MaxRecvPages:		50		# max pages in an inbound job

# 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:	rtscts		# XON/XOFF flow control
assumed

#ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets
modem

ModemSetupDTRCmd:	AT&D2	# setup so DTR drop resets
modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD follows
carrier

#
# 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:		ATS7=100DT%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.
#
#ModemNoFlowCmd 		AT&H0&I0&R1
#ModemHardFlowCmd 	AT&H1&I0&R2
#ModemSoftFlowCmd 	AT&H2&I2&R1

ModemResetCmds:		ATZ		# stuff to do when modem is
reset
ModemAnswerCmd:		ATA		# use this to answer phone
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3&H1		# hardware flow control
cmd
ModemSoftFlowCmd:	AT&K4&H2		# 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:	ATQ0X4		# 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


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions