Hylafax Mailing List Archives

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

[hylafax-users] R: Hylafax Problem with USRobotics 56k Sportster



Excuse me for my english not good.
Y had the same problem one year ago end after many tray i think that is
better change the modem , bat olso now the modems that i have don't
running with the configuration made form hylafax with the command
"faxaddmodem" for this reason i use the base configuration (class 1
modem) for all modems.
This is my file "config.ttyS5" for fax inbound.
The parameters ConutryCode end AreaCode i put in the files
var/spool/fax/etc/config  for use whit all modem.
Let me know if you hare resolve yor problem.

Best Regards  

Lucini Luciano - EDP

Via Londra, 48
Phone : 0376/782610 
46042 Castel Goffredo (MN) ITALY

E-Mail luciano@smapfil.it
         lucianolucini@hotmail.com

====================================  

# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
#CountryCode:           39
#AreaCode:              376
FAXNumber:              +39.376.782636
LongDistancePrefix:
InternationalPrefix:
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0666
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          higt
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        SMAP.FIL
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:              Class1          # use this to supply a hint
#ModemRate:             19200           # rate for DCE-DTE communication
#taher
ModemFlowControl:       xonxoff         # XON/XOFF flow control assumed
#
#ModemSetupDTRCmd:      AT&D2           # setup so DTR drop resets modem
#ModemSetupDCDCmd:      AT&C1           # setup so DCD follows carrier
#GettyArgs:             "-h %l dx_%s"   # modem must auto-detect
fax/data
#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
#
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
#taher
Class1TrainingRecovery: 2000            # 1.5sec delay after training
failure
Class1RecvAbortOK:      1500            # wait 200ms for abort response
Class1FrameOverhead:    4               # 4 byte overhead in recvd HDLC
frames
Class1RecvIdentTimer:   40000           # 35+5secs waiting for ident
frames
Class1TCFMaxNonZero:    20              # max 10% of data may be
non-zero
Class1TCFMinRun:        1000            # min run is 2/3rds of TCF
duration

==================

Hi there,

I need a help. I have Hylafax 4.1.5 version, Red Hat 8 and an USRobotics
56k modem. Almost all the time(9 in 10) I got this below. I've been
trying everything I could image with string's, other phone line and
changes in minicom(I don't know this could help but I changed the hangup
string to 'ATH0'). So, I've attached my confg.modem file but I dont know
it will help because I've tried others configurations with no success!

Thks in advance.

-----------------------------------------------------------------
An attempt to receive facsimile on ttyS0 failed because:

     T.30 T2 timeout, expected page not received

     ---- Transcript of session follows ----

 Jan 03 10:55:02.00: [  755]: SESSION BEGIN 00001931 551150142001  Jan
03 10:55:02.00: [  755]: HylaFAX (tm) Version 4.1.5  Jan 03 10:55:07.28:
[  755]: ANSWER: FAX CONNECTION  DEVICE /dev/ttyS0'  Jan 03 10:55:45.75:
[  755]: RECV FAX (00001931): recvq/fax01921.tif from 02433420876, route
to <unspecified>, 0 pages in 0:38  Jan 03 10:55:46.96: [  755]: RECV FAX
(00001931): session with 02433420876 terminated abnormally: T.30 T2
timeout, expected page not received  Jan 03 10:55:46.96: [  755]: RECV
FAX: bin/faxrcvd "recvq/fax01921.tif" "ttyS0" "00001931" "T.30 T2
timeout, expected page not received" "" ""
------------------------------------------------------------------------
-
----


# $Id: usr-xon,v 1.4 2001/02/05 06:38:34 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software
and 
# its documentation for any purpose is hereby granted without fee,
provided # that (i) the above copyright notices and this permission
notice appear in # all copies of the software and related documentation,
and (ii) the names of # Sam Leffler and Silicon Graphics may not be used
in any advertising or # publicity relating to the software without the
specific, prior written # permission of Sam Leffler and Silicon
Graphics. # 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR # ANY
SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, # OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, #
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE

# OF THIS SOFTWARE.
#

#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control. 
#
#
CountryCode:		55
AreaCode:		11
FAXNumber:		+551150142001
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
#ServerTracing:		1
#SessionTracing:		11
RecvFileMode:		0666
LogFileMode:		0666
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Officer Distribuidora"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
LocalIdentifier:	BTW
PercentGoodLines:	20
MaxConsecutiveBadLines:	1000
MaxRecvPages:		200
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class1		# use class 1 interface
ModemRate:		19600		# max rate for DCE-DTE
communication
ModemFlowControl:	xonxoff		# hardware flow control
#
ModemSetupDTRCmd:	ATS13=1&D2	# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier
(or not)
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
ModemResultCodesCmd:	ATQ0X4		# enable result codes
#
ModemMfrQueryCmd:	!USR
ModemModelQueryCmd:	ATI3
ModemRevQueryCmd:	ATI7		# XXX returns a multi-line
result
ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
#
# 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	# leave modem idling in class 0
ModemAnswerCmd:		AT+FCLASS=1A	# answer in Class 1
#
# Disables the reporting of bad frames by the modem.  This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd:    AT+FNR=1,1,1,0



____________________ 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.*


____________________ 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.*



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