HylaFAX The world's most advanced open source fax server

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

[hylafax-users] T.30 T2 timeout, expected (signal | page) not received



Hi all,

I have an Hylafax installation (ver. 4.2.1)
with one modem (USR U.S. Robotics 56K Message 
Rev. 14.13.57) connected through the PBX.
It worked well for 3 year and it sent and
received about 25.000 faxes in total.

A week ago, the PBX technician add some hardware
to the PBX and now the reception of faxes did not
work any more, while fax transmission is still 
good.

I'm receiving a lot of "T.30 T2 timeout, expected
signal not received" and "T.30 T2 timeout, expected
page not received" errors in my logs during fax
reception and received documents are truncated.

This is log of failed reception:

Aug 29 16:11:33.99: [ 6438]: SESSION BEGIN 000025638
39XXXXXXXXXX
Aug 29 16:11:33.99: [ 6438]: HylaFAX (tm) Version 4.2.1
Aug 29 16:11:33.99: [ 6438]: <-- [13:AT+FCLASS=1A\r]
Aug 29 16:11:39.28: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:39.28: [ 6438]: ANSWER: FAX CONNECTION  DEVICE
'/dev/ttyS0'
Aug 29 16:11:39.28: [ 6438]: RECV FAX: begin
Aug 29 16:11:39.28: [ 6438]: <-- data [32]
Aug 29 16:11:39.28: [ 6438]: <-- data [2]
Aug 29 16:11:39.35: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:39.35: [ 6438]: <-- data [23]
Aug 29 16:11:39.35: [ 6438]: <-- data [2]
Aug 29 16:11:40.07: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:40.07: [ 6438]: <-- data [10]
Aug 29 16:11:40.07: [ 6438]: <-- data [2]
Aug 29 16:11:42.25: [ 6438]: --> [2:OK]
Aug 29 16:11:42.25: [ 6438]: <-- [9:AT+FRH=3\r]
Aug 29 16:11:42.93: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:43.89: [ 6438]: --> [2:OK]
Aug 29 16:11:43.89: [ 6438]: REMOTE wants 14400 bit/s
Aug 29 16:11:43.89: [ 6438]: REMOTE wants A4 page width (215
mm)
Aug 29 16:11:43.89: [ 6438]: REMOTE wants unlimited page
length
Aug 29 16:11:43.89: [ 6438]: REMOTE wants 7.7 line/mm
Aug 29 16:11:43.89: [ 6438]: REMOTE wants 1-D MH
Aug 29 16:11:43.89: [ 6438]: RECV training at v.17 14400
bit/s
Aug 29 16:11:43.89: [ 6438]: <-- [11:AT+FRM=145\r]
Aug 29 16:11:45.64: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:47.15: [ 6438]: RECV: TCF 2723 bytes, 0%
non-zero, 2692 zero-run
Aug 29 16:11:47.16: [ 6438]: --> [10:NO CARRIER]
Aug 29 16:11:47.16: [ 6438]: DELAY 75 ms
Aug 29 16:11:47.24: [ 6438]: TRAINING succeeded
Aug 29 16:11:47.24: [ 6438]: <-- [9:AT+FTH=3\r]
Aug 29 16:11:47.44: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:47.44: [ 6438]: <-- data [3]
Aug 29 16:11:47.44: [ 6438]: <-- data [2]
Aug 29 16:11:48.62: [ 6438]: --> [2:OK]
Aug 29 16:11:48.62: [ 6438]: <-- [11:AT+FRM=146\r]
Aug 29 16:11:49.56: [ 6438]: --> [7:CONNECT]
Aug 29 16:11:49.56: [ 6438]: RECV: begin page
Aug 29 16:11:55.02: [ 6438]: RECV: 227 total lines, 0 bad
lines, 0 consecutive bad lines
Aug 29 16:11:55.02: [ 6438]: RECV: end page
Aug 29 16:11:55.02: [ 6438]: --> [10:NO CARRIER]
Aug 29 16:11:55.02: [ 6438]: <-- [9:AT+FRH=3\r]
Aug 29 16:12:03.31: [ 6438]: --> [7:CONNECT]
Aug 29 16:12:03.31: [ 6438]: --> [5:ERROR]
Aug 29 16:12:03.31: [ 6438]: MODEM Command error
Aug 29 16:12:03.31: [ 6438]: FCS error
Aug 29 16:12:03.31: [ 6438]: <-- [9:AT+FRH=3\r]
Aug 29 16:12:03.43: [ 6438]: --> [7:CONNECT]
Aug 29 16:12:05.76: [ 6438]: --> [5:ERROR]
Aug 29 16:12:05.76: [ 6438]: MODEM Command error
Aug 29 16:12:05.76: [ 6438]: FCS error
Aug 29 16:12:05.76: [ 6438]: <-- [9:AT+FRH=3\r]
Aug 29 16:12:05.88: [ 6438]: --> [7:CONNECT]
Aug 29 16:12:10.88: [ 6438]: <-- data [1]
Aug 29 16:12:10.99: [ 6438]: --> [2:OK]
Aug 29 16:12:10.99: [ 6438]: RECV keeping unconfirmed page
Aug 29 16:12:10.99: [ 6438]: RECV FAX: T.30 T2 timeout,
expected page not received
Aug 29 16:12:10.99: [ 6438]: <-- [9:AT+FTH=3\r]
Aug 29 16:12:10.99: [ 6438]: RECV FAX (000025638): from
<UNSPECIFIED>, page 1 in 0:23, INF, 7.7 line/mm, 1-D MH,
14400 bit/s
Aug 29 16:12:10.99: [ 6438]: RECV FAX (000025638):
recvq/fax000003070.tif from <UNSPECIFIED>, route to
<unspecified>, 1 pages in 0:31
Aug 29 16:12:11.13: [ 6438]: --> [7:CONNECT]
Aug 29 16:12:11.13: [ 6438]: <-- data [3]
Aug 29 16:12:11.13: [ 6438]: <-- data [2]
Aug 29 16:12:12.31: [ 6438]: --> [2:OK]
Aug 29 16:12:12.31: [ 6438]: RECV FAX (000025638): session
with <UNSPECIFIED> terminated abnormally: T.30 T2 timeout,
expected page not received
Aug 29 16:12:12.31: [ 6438]: RECV FAX: bin/faxrcvd
"recvq/fax000003070.tif" "ttyS0" "000025638" "T.30 T2
timeout, expected page not received" "" ""
Aug 29 16:12:12.31: [ 6438]: RECV FAX: end
Aug 29 16:12:12.32: [ 6438]: SESSION END



I know this has to do with the line quality,
but is there something I can improve changing some
parameters in the Hylafax configuration?

This is my config.TTYS0:

CountryCode:		0039
AreaCode:		XXXX
FAXNumber:		+39.XXX.XXXXXX
LongDistancePrefix:	0039
InternationalPrefix:	0039
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0666
LogFileMode:		0666
DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"XXXXXXXXXXXXXXX"
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
#
# 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

# Aggiunto il prefisso '0' per prendere la linea.
ModemDialCmd:           ATDT0,%s



Many thanks in advance for your help.

Cheers,
  Angelo




____________________ 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@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions