HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problem w/ USR 56K External Modem on RHL 7.3




first of all, i would like to thank all the developer of this piece of software for providing
the world with a very configurable open source fax solution.

the problem: i get a 'T.30 T2 timeout, expected page not received' when trying to receive
fax messages over international long distrance. attached is a file error.txt that is the
notification message sent to the faxmaster account. the problem does not occur when using
local or domestic calls. however, regular paper fax machines are able to receive faxes
with acceptable quality for all calls including international, domestic and local.

i have searched the internet including the mailing list of hylafax for some answers. i
have tried a few. adding the 'Class1SwitchingCmd:     "<delay:7>"' commands solved one
of my earlier problems.


the platform: RedHat Linux 7.3 Kernel 2.4.20

this is my modem: (output from /var/log/messages)

Jul 28 18:48:46 genux FaxGetty[22821]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 
11.13.13/Configuration Profile... Product type           Asia External Product I
D:            45563001 Options                V32bis,V.34+,x2,V.90 Fax Options  
          Class 1/Class 2.0 Line Options           Caller ID, Distinctive Ring C
lock Freq             92.0Mhz EPROM                  256k RAM                   
 32k FLASH date             2/16/99 FLASH rev              11.13.13 DSP date    
           2/16/99 DSP rev                11.13.13 PTT Approval rev       1.0.0

i configured it normally and attached is the configuration file in config.txt.

thank you in advanced.

-----------------------------------------------
William Emmanuel S. Yu
Ateneo Campus Network Group (AteneoCNG)
email  :  wyu at ateneo dot edu
web    :  http://CNG.ateneo.net/cng/wyu/
phone  :  +63(2)4266001-4186
GPG    :  http://CNG.ateneo.net/cng/wyu/wyy.pgp

# $Id: usr-xon,v 1.9 2002/09/13 16:55:15 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:		63
AreaCode:		2
FAXNumber:	 <removed>	
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0644
LogFileMode:		0644
DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	<removed>
LogFacility:		"local5"
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:		Class1		# use class 1 interface
ModemRate:		19200		# rate for DCE-DTE communication
ModemFlowControl:	xonxoff		# software 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
#
# 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
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:	AT+FRS=1	# wait after sending TCF for response
Class1SwitchingCmd:     "<delay:7>"
#
# 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
An attempt to receive facsimile on modem2 failed because:

    T.30 T2 timeout, expected page not received

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

Jul 28 19:54:16.80: [22821]: SESSION BEGIN 00000936 63
Jul 28 19:54:16.80: [22821]: HylaFAX (tm) Version 4.1.5
Jul 28 19:54:16.80: [22821]: <-- [13:AT+FCLASS=1A\r]
Jul 28 19:54:22.09: [22821]: --> [7:CONNECT]
Jul 28 19:54:22.09: [22821]: ANSWER: FAX CONNECTION  DEVICE '/dev/modem2'
Jul 28 19:54:22.09: [22821]: RECV FAX: begin
Jul 28 19:54:22.12: [22821]: --> [7:CONNECT]
Jul 28 19:54:24.08: [22821]: --> [2:OK]
Jul 28 19:54:24.08: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:27.18: [22821]: --> [0:]
Jul 28 19:54:27.18: [22821]: MODEM <Empty line>
Jul 28 19:54:27.19: [22821]: --> [2:OK]
Jul 28 19:54:27.19: [22821]: DELAY 1500 ms
Jul 28 19:54:28.69: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:54:28.73: [22821]: --> [7:CONNECT]
Jul 28 19:54:28.76: [22821]: --> [7:CONNECT]
Jul 28 19:54:30.81: [22821]: --> [2:OK]
Jul 28 19:54:30.81: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:33.91: [22821]: --> [0:]
Jul 28 19:54:33.91: [22821]: MODEM <Empty line>
Jul 28 19:54:33.92: [22821]: --> [2:OK]
Jul 28 19:54:33.92: [22821]: DELAY 1500 ms
Jul 28 19:54:35.42: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:54:35.46: [22821]: --> [7:CONNECT]
Jul 28 19:54:35.49: [22821]: --> [7:CONNECT]
Jul 28 19:54:37.54: [22821]: --> [2:OK]
Jul 28 19:54:37.54: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:40.64: [22821]: --> [0:]
Jul 28 19:54:40.64: [22821]: MODEM <Empty line>
Jul 28 19:54:40.65: [22821]: --> [2:OK]
Jul 28 19:54:40.65: [22821]: DELAY 1500 ms
Jul 28 19:54:42.15: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:54:42.19: [22821]: --> [7:CONNECT]
Jul 28 19:54:42.22: [22821]: --> [7:CONNECT]
Jul 28 19:54:44.27: [22821]: --> [2:OK]
Jul 28 19:54:44.27: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:47.37: [22821]: --> [0:]
Jul 28 19:54:47.37: [22821]: MODEM <Empty line>
Jul 28 19:54:47.38: [22821]: --> [2:OK]
Jul 28 19:54:47.38: [22821]: DELAY 1500 ms
Jul 28 19:54:48.88: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:54:48.92: [22821]: --> [7:CONNECT]
Jul 28 19:54:48.95: [22821]: --> [7:CONNECT]
Jul 28 19:54:51.00: [22821]: --> [2:OK]
Jul 28 19:54:51.00: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:51.81: [22821]: --> [7:CONNECT]
Jul 28 19:54:53.19: [22821]: --> [2:OK]
Jul 28 19:54:53.19: [22821]: REMOTE TSI "632 6837070"
Jul 28 19:54:53.19: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:54:53.21: [22821]: --> [7:CONNECT]
Jul 28 19:54:53.48: [22821]: --> [2:OK]
Jul 28 19:54:53.48: [22821]: REMOTE wants 9600 bit/s
Jul 28 19:54:53.48: [22821]: REMOTE wants page width 1728 pixels in 215 mm
Jul 28 19:54:53.48: [22821]: REMOTE wants unlimited page length 
Jul 28 19:54:53.48: [22821]: REMOTE wants 3.85 line/mm
Jul 28 19:54:53.48: [22821]: REMOTE wants 2-D MR
Jul 28 19:54:53.48: [22821]: RECV training at v.29 9600 bit/s
Jul 28 19:54:53.48: [22821]: <-- [10:AT+FRM=96\r]
Jul 28 19:54:54.33: [22821]: --> [7:CONNECT]
Jul 28 19:54:55.95: [22821]: RECV: TCF 1953 bytes, 4% non-zero, 1857 zero-run
Jul 28 19:54:55.96: [22821]: --> [10:NO CARRIER]
Jul 28 19:54:55.96: [22821]: DELAY 75 ms
Jul 28 19:54:56.04: [22821]: TRAINING succeeded
Jul 28 19:54:56.04: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:54:56.24: [22821]: --> [7:CONNECT]
Jul 28 19:54:57.42: [22821]: --> [2:OK]
Jul 28 19:54:57.42: [22821]: <-- [10:AT+FRM=96\r]
Jul 28 19:54:58.38: [22821]: --> [7:CONNECT]
Jul 28 19:54:58.38: [22821]: RECV: begin page
Jul 28 19:55:39.30: [22821]: RECV: 208 total lines, 0 bad lines, 0 consecutive bad lines
Jul 28 19:55:39.30: [22821]: RECV: end page
Jul 28 19:55:39.41: [22821]: --> [10:NO CARRIER]
Jul 28 19:55:39.41: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:55:42.03: [22821]: --> [7:CONNECT]
Jul 28 19:55:45.10: [22821]: --> [5:ERROR]
Jul 28 19:55:45.10: [22821]: MODEM Command error
Jul 28 19:55:45.10: [22821]: FCS error
Jul 28 19:55:45.10: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:55:45.12: [22821]: --> [7:CONNECT]
Jul 28 19:55:47.97: [22821]: --> [5:ERROR]
Jul 28 19:55:47.97: [22821]: MODEM Command error
Jul 28 19:55:47.97: [22821]: FCS error
Jul 28 19:55:47.97: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:55:47.99: [22821]: --> [7:CONNECT]
Jul 28 19:55:49.16: [22821]: --> [5:ERROR]
Jul 28 19:55:49.16: [22821]: MODEM Command error
Jul 28 19:55:49.16: [22821]: FCS error
Jul 28 19:55:49.16: [22821]: <-- [9:AT+FRH=3\r]
Jul 28 19:55:49.18: [22821]: --> [7:CONNECT]
Jul 28 19:55:54.19: [22821]: --> [2:OK]
Jul 28 19:55:54.19: [22821]: RECV FAX (00000936): recvq/fax00827.tif from 632 6837070, route to <unspecified>, 0 pages in 1:32
Jul 28 19:55:54.19: [22821]: RECV FAX: T.30 T2 timeout, expected page not received
Jul 28 19:55:54.19: [22821]: <-- [9:AT+FTH=3\r]
Jul 28 19:55:54.23: [22821]: --> [7:CONNECT]
Jul 28 19:55:55.41: [22821]: --> [2:OK]
Jul 28 19:55:55.41: [22821]: RECV FAX (00000936): session with 632 6837070 terminated abnormally: T.30 T2 timeout, expected page not received
Jul 28 19:55:55.41: [22821]: RECV FAX: bin/faxrcvd "recvq/fax00827.tif" "modem2" "00000936" "T.30 T2 timeout, expected page not received" "" ""




Project hosted by iFAX Solutions