HylaFAX The world's most advanced open source fax server

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

[hylafax-users] modem locked on error



hello All,

two faxes locked up with the fax led ON (faxstat: Waiting for the modem to come ready) and had to *pull out* the server plug to set the DTR down on the com port.

This is very annoying. Is there a cure for this?

I think that since the DTR does not go down, the modem does not reset (AT&D3).

There should be a way to drop DTR on error...?!

regards,
-Gian
Dec 07 17:11:38.72: [11844]: SESSION BEGIN 000000138 390248953807
Dec 07 17:11:38.72: [11844]: HylaFAX (tm) Version 4.4.0
Dec 07 17:11:38.72: [11844]: <-- [4:ATA\r]
Dec 07 17:11:47.51: [11844]: --> [7:CONNECT]
Dec 07 17:11:47.51: [11844]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Dec 07 17:11:47.51: [11844]: RECV FAX: begin
Dec 07 17:11:47.51: [11844]: <-- data [32]
Dec 07 17:11:47.51: [11844]: <-- data [2]
Dec 07 17:11:47.54: [11844]: --> [7:CONNECT]
Dec 07 17:11:47.54: [11844]: <-- data [23]
Dec 07 17:11:47.54: [11844]: <-- data [2]
Dec 07 17:11:47.58: [11844]: --> [7:CONNECT]
Dec 07 17:11:47.58: [11844]: <-- data [13]
Dec 07 17:11:47.58: [11844]: <-- data [2]
Dec 07 17:11:49.84: [11844]: --> [2:OK]
Dec 07 17:11:49.84: [11844]: <-- [9:AT+FRH=3\r]
Dec 07 17:11:50.23: [11844]: --> [7:CONNECT]
Dec 07 17:11:51.98: [11844]: --> [2:OK]
Dec 07 17:11:51.98: [11844]: REMOTE TSI "0650511427"
Dec 07 17:11:51.98: [11844]: RECV recv TSI (sender id)
Dec 07 17:11:51.98: [11844]: <-- [9:AT+FRH=3\r]
Dec 07 17:11:52.00: [11844]: --> [7:CONNECT]
Dec 07 17:11:52.36: [11844]: --> [2:OK]
Dec 07 17:11:52.36: [11844]: REMOTE wants 14400 bit/s
Dec 07 17:11:52.36: [11844]: REMOTE wants A4 page width (215 mm)
Dec 07 17:11:52.36: [11844]: REMOTE wants unlimited page length
Dec 07 17:11:52.36: [11844]: REMOTE wants 3.85 line/mm
Dec 07 17:11:52.36: [11844]: REMOTE wants 2-D MR
Dec 07 17:11:52.36: [11844]: RECV recv DCS (command signal)
Dec 07 17:11:52.36: [11844]: RECV training at v.17 14400 bit/s
Dec 07 17:11:52.36: [11844]: <-- [11:AT+FRM=145\r]
Dec 07 17:11:54.08: [11844]: --> [7:CONNECT]
Dec 07 17:11:55.66: [11844]: RECV: TCF 2832 bytes, 0% non-zero, 2801 zero-run
Dec 07 17:11:55.68: [11844]: --> [10:NO CARRIER]
Dec 07 17:11:55.68: [11844]: <-- [9:AT+FRS=7\r]
Dec 07 17:11:55.76: [11844]: --> [2:OK]
Dec 07 17:11:55.76: [11844]: TRAINING succeeded
Dec 07 17:11:55.76: [11844]: <-- [9:AT+FTH=3\r]
Dec 07 17:11:56.73: [11844]: --> [7:CONNECT]
Dec 07 17:11:56.73: [11844]: <-- data [3]
Dec 07 17:11:56.73: [11844]: <-- data [2]
Dec 07 17:11:57.12: [11844]: --> [2:OK]
Dec 07 17:11:57.12: [11844]: <-- [11:AT+FRM=146\r]
Dec 07 17:11:58.09: [11844]: --> [7:CONNECT]
Dec 07 17:11:58.09: [11844]: RECV: begin page
Dec 07 17:13:07.47: [11844]: <-- data [1]
Dec 07 17:13:07.47: [11844]: RECV: Missing EOL after 5 seconds
Dec 07 17:13:07.47: [11844]: RECV: end page
Dec 07 17:13:12.49: [11844]: MODEM <Timeout>
Dec 07 17:13:12.49: [11844]: <-- data [1]
Dec 07 17:13:12.71: [11844]: MODEM <Timeout>
Dec 07 17:13:12.71: [11844]: RECV FAX (000000138): recvq/fax000008526.tif from 0650511427, route to <unspecified>, 0 pages in 1:25
Dec 07 17:13:12.71: [11844]: RECV FAX: T.30 T2 timeout, expected page not received
Dec 07 17:13:12.71: [11844]: <-- [9:AT+FTH=3\r]
Dec 07 17:13:20.28: [11844]: --> [0:]
Dec 07 17:13:20.28: [11844]: RECV FAX (000000138): session with 0650511427 terminated abnormally: T.30 T2 timeout, expected page not received
Dec 07 17:13:20.28: [11844]: RECV FAX: bin/faxrcvd "recvq/fax000008526.tif" "ttyS0" "000000138" "T.30 T2 timeout, expected page not received"
Dec 07 17:13:20.28: [11844]: RECV FAX: end
Dec 07 17:13:20.28: [11844]: T.30 T2 timeout, expected page not received
Dec 07 17:13:20.28: [11844]: SESSION END
Dec 10 09:51:18.31: [ 6094]: SESSION BEGIN 000000144 390248953807
Dec 10 09:51:18.31: [ 6094]: HylaFAX (tm) Version 4.4.0
Dec 10 09:51:18.31: [ 6094]: <-- [4:ATA\r]
Dec 10 09:51:28.75: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:28.75: [ 6094]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Dec 10 09:51:28.75: [ 6094]: RECV FAX: begin
Dec 10 09:51:28.76: [ 6094]: <-- data [32]
Dec 10 09:51:28.76: [ 6094]: <-- data [2]
Dec 10 09:51:28.80: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:28.80: [ 6094]: <-- data [23]
Dec 10 09:51:28.80: [ 6094]: <-- data [2]
Dec 10 09:51:28.82: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:28.82: [ 6094]: <-- data [13]
Dec 10 09:51:28.82: [ 6094]: <-- data [2]
Dec 10 09:51:31.08: [ 6094]: --> [2:OK]
Dec 10 09:51:31.08: [ 6094]: <-- [9:AT+FRH=3\r]
Dec 10 09:51:31.31: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:32.75: [ 6094]: --> [2:OK]
Dec 10 09:51:32.75: [ 6094]: REMOTE wants 14400 bit/s
Dec 10 09:51:32.75: [ 6094]: REMOTE wants A4 page width (215 mm)
Dec 10 09:51:32.75: [ 6094]: REMOTE wants unlimited page length
Dec 10 09:51:32.75: [ 6094]: REMOTE wants 3.85 line/mm
Dec 10 09:51:32.75: [ 6094]: REMOTE wants 2-D MR
Dec 10 09:51:32.75: [ 6094]: RECV recv DCS (command signal)
Dec 10 09:51:32.75: [ 6094]: RECV training at v.17 14400 bit/s
Dec 10 09:51:32.75: [ 6094]: <-- [11:AT+FRM=145\r]
Dec 10 09:51:34.54: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:36.06: [ 6094]: RECV: TCF 2736 bytes, 1% non-zero, 2700 zero-run
Dec 10 09:51:36.06: [ 6094]: --> [10:NO CARRIER]
Dec 10 09:51:36.06: [ 6094]: <-- [9:AT+FRS=7\r]
Dec 10 09:51:36.16: [ 6094]: --> [2:OK]
Dec 10 09:51:36.16: [ 6094]: TRAINING succeeded
Dec 10 09:51:36.16: [ 6094]: <-- [9:AT+FTH=3\r]
Dec 10 09:51:37.14: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:37.14: [ 6094]: <-- data [3]
Dec 10 09:51:37.14: [ 6094]: <-- data [2]
Dec 10 09:51:37.53: [ 6094]: --> [2:OK]
Dec 10 09:51:37.53: [ 6094]: <-- [11:AT+FRM=146\r]
Dec 10 09:51:38.49: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:38.49: [ 6094]: RECV: begin page
Dec 10 09:51:53.35: [ 6094]: RECV: 1106 total lines, 0 bad lines, 0 consecutive bad lines
Dec 10 09:51:53.35: [ 6094]: RECV: end page
Dec 10 09:51:53.35: [ 6094]: --> [10:NO CARRIER]
Dec 10 09:51:53.35: [ 6094]: <-- [9:AT+FRH=3\r]
Dec 10 09:51:53.52: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:54.59: [ 6094]: --> [2:OK]
Dec 10 09:51:54.59: [ 6094]: RECV recv MPS (more pages, same document)
Dec 10 09:51:54.59: [ 6094]: <-- [9:AT+FRS=7\r]
Dec 10 09:51:54.78: [ 6094]: --> [2:OK]
Dec 10 09:51:54.78: [ 6094]: <-- [9:AT+FTH=3\r]
Dec 10 09:51:55.85: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:55.85: [ 6094]: RECV send MCF (message confirmation)
Dec 10 09:51:55.85: [ 6094]: RECV FAX (000000144): from <UNSPECIFIED>, page 1 in 0:25, INF, 3.85 line/mm, 2-D MR, 14400 bit/s
Dec 10 09:51:55.85: [ 6094]: <-- data [3]
Dec 10 09:51:55.85: [ 6094]: <-- data [2]
Dec 10 09:51:56.35: [ 6094]: --> [2:OK]
Dec 10 09:51:56.35: [ 6094]: <-- [11:AT+FRM=146\r]
Dec 10 09:51:57.27: [ 6094]: --> [7:CONNECT]
Dec 10 09:51:57.27: [ 6094]: RECV: begin page
Dec 10 09:53:09.67: [ 6094]: <-- data [1]
Dec 10 09:53:09.67: [ 6094]: RECV: Missing EOL after 5 seconds
Dec 10 09:53:09.67: [ 6094]: RECV: end page
Dec 10 09:53:14.68: [ 6094]: MODEM <Timeout>
Dec 10 09:53:14.68: [ 6094]: <-- data [1]
Dec 10 09:53:14.89: [ 6094]: MODEM <Timeout>
Dec 10 09:53:14.89: [ 6094]: RECV keeping unconfirmed page
Dec 10 09:53:14.89: [ 6094]: RECV FAX (000000144): from <UNSPECIFIED>, page 2 in 0:25, INF, 3.85 line/mm, 2-D MR, 14400 bit/s
Dec 10 09:53:14.89: [ 6094]: RECV FAX (000000144): recvq/fax000008531.tif from <UNSPECIFIED>, route to <unspecified>, 2 pages in 1:46
Dec 10 09:53:14.89: [ 6094]: RECV FAX: T.30 T2 timeout, expected page not received
Dec 10 09:53:14.89: [ 6094]: <-- [9:AT+FTH=3\r]
Dec 10 09:53:22.45: [ 6094]: --> [0:]
Dec 10 09:53:22.45: [ 6094]: RECV FAX (000000144): session with <UNSPECIFIED> terminated abnormally: T.30 T2 timeout, expected page not received
Dec 10 09:53:22.45: [ 6094]: RECV FAX: bin/faxrcvd "recvq/fax000008531.tif" "ttyS0" "000000144" "T.30 T2 timeout, expected page not received"
Dec 10 09:53:22.45: [ 6094]: RECV FAX: end
Dec 10 09:53:22.45: [ 6094]: T.30 T2 timeout, expected page not received
Dec 10 09:53:22.45: [ 6094]: SESSION END
# $Id: lucent,v 1.23 2007/05/11 15:17:11 aidan 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.
#

#
# prototype config for Lucent LT Winmodem using ltmodem.o driver,
# as well as many other Lucent chipset modems.
# (They work well with all default Class 1 configs.)
#

#
CountryCode:		39
AreaCode:		02
FAXNumber:		+39-02-48953807
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules.europe
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0640
LogFileMode:		0640
DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	Vibrostop
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		25
#

ModemType:		Class1		# use this to supply a hint
ModemFlowControl:	rtscts		# many firmwares have broken software flow control
ModemSetupDTRCmd:       AT&D3           # hang up and reset on DTR drop
Class1TMConnectDelay:	400		# counteract quick CONNECT response
Class1HasRHConnectBug:	yes		# cope with +FRH=3 CONNECT errors

# If your line supports Caller-ID, you may want to uncomment this...
# ModemResetCmds:	AT+VCID=1
# CallIDPattern:	"NMBR="
# CallIDPattern:	"NAME="

# Or with the MT5634ZBA-DID you'll probably need something like...
# ModemReadyCmds:	AT*DS1*DD0*DF1*DN4	# enable DTMF-DID, wink-start, 4 digits
# CallIDPattern:	"DTMF"		# format of AT*DF1
# CallIDAnswerLength:	4		# four DTMF-DID digits then ATA



Project hosted by iFAX Solutions