HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Failure to train remote modem at 2400 bps or minimum speed



Hi,

This weekend, we upgrade our hylafax server to 

      * hylafax 4.1.8 (this weekend, today, I install a latest CVS
        release)
      * RedHat Enterprise AS 3 (before we had RH 8)
      * We change our multiserial port adapter to multimodem port
        Acceleport RAS 4 (from digi
        http://www.digi.com/support/productdetl.jsp?pid=1488&osvid=92).

Since we have an error with every outgoing fax (we don't configure
incoming fax).

I search in mailing list archives and I found an answer about this
problem (from Lee Howard) (
http://www.hylafax.org/archive/2003-08/msg00041.php).  I installed this
patch but nothing changed.

After that I installed a latest cvs version (including the patch I
mentioned before).  I reconfigure my modem (I add the
Class1TMConnectDelay parameter in my config.ttyG000 but I always my
transmission error.

I join to this mail a copy of my config, config.G000 and a log example
c000000276.

Your help will be appreciate,

P.-S.: The pager works well and the faxes work before this upgrade.
-- 
____________________________________________________________________
Carl Provencher
S.I.T., Université Laval
Tél.: (418) 656-2131 poste 8719

LogFacility:		daemon
CountryCode:		1
AreaCode:		418
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
MaxSendPages:		30
ModemGroup:             "fax_unitaire:ttyG00[0]"
ModemGroup:             "fax_multiple:ttyG00[1]"
ModemGroup:             "pagettes:ttyG00[2]"
ModemGroup:             "pagette_alpha:ttyG00[2]"
ModemGroup:             "pagette_numerique:ttyG00[2]"
 
#ModemGroup:            "pagette_alpha:ttyG00[3]"
#ModemGroup:             "pagette_numerique:ttyG00[3]"
PageChop:               none
SessionTracing:         1
jun 21 15:54:48.27: [18037]: SESSION BEGIN 000000276 14187305
jun 21 15:54:48.27: [18037]: HylaFAX (tm) Version 4.2.0rc1
jun 21 15:54:48.27: [18037]: SEND FAX: JOB 664 DEST 7305 COMMID 000000276 DEVICE '/dev/ttyG000'
jun 21 15:54:48.27: [18037]: <-- [12:AT+FCLASS=1\r]
jun 21 15:54:48.54: [18037]: --> [2:OK]
jun 21 15:54:48.57: [18037]: DIAL 7305
jun 21 15:54:48.57: [18037]: <-- [9:ATDT7305\r]
jun 21 15:54:57.94: [18037]: --> [7:CONNECT]
jun 21 15:54:59.67: [18037]: --> [2:OK]
jun 21 15:54:59.68: [18037]: REMOTE NSF "00 00 09 00 08 2D 41 86 56 73 05 FF FF FF FF FF FF FF 01 1C 02 0A 10 01 02 01 30"
jun 21 15:54:59.68: [18037]: NSF remote fax equipment: Xerox/Toshiba 
jun 21 15:54:59.68: [18037]: <-- [9:AT+FRH=3\r]
jun 21 15:54:59.85: [18037]: --> [7:CONNECT]
jun 21 15:55:00.40: [18037]: --> [2:OK]
jun 21 15:55:00.41: [18037]: REMOTE CSI "4186567305"
jun 21 15:55:00.41: [18037]: <-- [9:AT+FRH=3\r]
jun 21 15:55:00.58: [18037]: --> [7:CONNECT]
jun 21 15:55:00.86: [18037]: --> [2:OK]
jun 21 15:55:00.86: [18037]: REMOTE best rate 14400 bit/s
jun 21 15:55:00.86: [18037]: REMOTE max A4 page width (215 mm)
jun 21 15:55:00.86: [18037]: REMOTE max unlimited page length
jun 21 15:55:00.86: [18037]: REMOTE best vres R16 x 15.4 line/mm
jun 21 15:55:00.86: [18037]: REMOTE best format 2-D MMR
jun 21 15:55:00.87: [18037]: REMOTE supports T.30 Annex A, 256-byte ECM
jun 21 15:55:00.87: [18037]: REMOTE best 5 ms/scanline
jun 21 15:55:00.87: [18037]: USE 14400 bit/s
jun 21 15:55:00.87: [18037]: USE error correction mode
jun 21 15:55:00.87: [18037]: USE 0 ms/scanline
jun 21 15:55:00.87: [18037]: SEND file "docq/doc809.ps;31"
jun 21 15:55:00.87: [18037]: USE A4 page width (215 mm)
jun 21 15:55:00.87: [18037]: USE unlimited page length
jun 21 15:55:00.87: [18037]: USE 7.7 line/mm
jun 21 15:55:00.87: [18037]: USE 2-D MMR
jun 21 15:55:00.87: [18037]: SEND training at v.17 14400 bit/s
jun 21 15:55:00.87: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:55:02.05: [18037]: --> [7:CONNECT]
jun 21 15:55:02.06: [18037]: <-- data [23]
jun 21 15:55:02.06: [18037]: <-- data [2]
jun 21 15:55:02.69: [18037]: --> [7:CONNECT]
jun 21 15:55:02.69: [18037]: <-- data [7]
jun 21 15:55:02.69: [18037]: <-- data [2]
jun 21 15:55:03.18: [18037]: --> [2:OK]
jun 21 15:55:03.18: [18037]: <-- [9:AT+FTS=7\r]
jun 21 15:55:03.43: [18037]: --> [2:OK]
jun 21 15:55:03.45: [18037]: <-- [11:AT+FTM=145\r]
jun 21 15:55:03.62: [18037]: --> [7:CONNECT]
jun 21 15:55:03.62: [18037]: DELAY 400 ms
jun 21 15:55:04.02: [18037]: <-- data [1024]
jun 21 15:55:04.02: [18037]: <-- data [1024]
jun 21 15:55:04.03: [18037]: <-- data [652]
jun 21 15:55:04.03: [18037]: <-- data [2]
jun 21 15:55:34.02: [18037]: MODEM <Timeout>
jun 21 15:56:03.94: [18037]: Problem sending TCF data
jun 21 15:56:03.95: [18037]: <-- [9:AT+FRH=3\r]
jun 21 15:56:07.04: [18037]: --> [0:]
jun 21 15:56:07.05: [18037]: MODEM <Empty line>
jun 21 15:56:07.05: [18037]: <-- data [1]
jun 21 15:56:07.24: [18037]: MODEM <Timeout>
jun 21 15:56:07.24: [18037]: DELAY 1500 ms
jun 21 15:56:08.74: [18037]: SEND training at v.17 12000 bit/s
jun 21 15:56:08.74: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:11.29: [18037]: Error sending T.30 prologue frames
jun 21 15:56:11.29: [18037]: SEND training at v.17 9600 bit/s
jun 21 15:56:11.29: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:13.84: [18037]: Error sending T.30 prologue frames
jun 21 15:56:13.84: [18037]: SEND training at v.29 9600 bit/s
jun 21 15:56:13.84: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:16.16: [18037]: --> [2:OK]
jun 21 15:56:16.16: [18037]: Error sending T.30 prologue frames
jun 21 15:56:16.16: [18037]: SEND training at v.29 7200 bit/s
jun 21 15:56:16.16: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:17.35: [18037]: --> [7:CONNECT]
jun 21 15:56:17.35: [18037]: <-- data [23]
jun 21 15:56:17.35: [18037]: <-- data [2]
jun 21 15:56:17.99: [18037]: --> [7:CONNECT]
jun 21 15:56:17.99: [18037]: <-- data [7]
jun 21 15:56:17.99: [18037]: <-- data [2]
jun 21 15:56:18.48: [18037]: --> [2:OK]
jun 21 15:56:18.48: [18037]: <-- [9:AT+FTS=7\r]
jun 21 15:56:18.72: [18037]: --> [2:OK]
jun 21 15:56:18.74: [18037]: <-- [10:AT+FTM=72\r]
jun 21 15:56:18.94: [18037]: --> [7:CONNECT]
jun 21 15:56:18.94: [18037]: DELAY 400 ms
jun 21 15:56:19.34: [18037]: <-- data [1024]
jun 21 15:56:19.34: [18037]: <-- data [326]
jun 21 15:56:19.35: [18037]: <-- data [2]
jun 21 15:56:49.34: [18037]: MODEM <Timeout>
jun 21 15:56:49.37: [18037]: Problem sending TCF data
jun 21 15:56:49.37: [18037]: <-- [9:AT+FRH=3\r]
jun 21 15:56:52.46: [18037]: --> [0:]
jun 21 15:56:52.47: [18037]: MODEM <Empty line>
jun 21 15:56:52.47: [18037]: <-- data [1]
jun 21 15:56:52.66: [18037]: MODEM <Timeout>
jun 21 15:56:52.66: [18037]: DELAY 1500 ms
jun 21 15:56:54.16: [18037]: SEND training at v.27ter 4800 bit/s
jun 21 15:56:54.16: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:55.48: [18037]: --> [2:OK]
jun 21 15:56:55.48: [18037]: Error sending T.30 prologue frames
jun 21 15:56:55.48: [18037]: SEND training at v.27ter fallback mode 2400 bit/s
jun 21 15:56:55.48: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:56:56.67: [18037]: --> [7:CONNECT]
jun 21 15:56:56.67: [18037]: <-- data [23]
jun 21 15:56:56.67: [18037]: <-- data [2]
jun 21 15:56:57.31: [18037]: --> [7:CONNECT]
jun 21 15:56:57.31: [18037]: <-- data [7]
jun 21 15:56:57.31: [18037]: <-- data [2]
jun 21 15:56:57.80: [18037]: --> [2:OK]
jun 21 15:56:57.80: [18037]: <-- [9:AT+FTS=7\r]
jun 21 15:56:58.04: [18037]: --> [2:OK]
jun 21 15:56:58.06: [18037]: <-- [10:AT+FTM=24\r]
jun 21 15:56:58.26: [18037]: --> [7:CONNECT]
jun 21 15:56:58.26: [18037]: DELAY 400 ms
jun 21 15:56:58.66: [18037]: <-- data [450]
jun 21 15:56:58.66: [18037]: <-- data [2]
jun 21 15:57:10.81: [18037]: --> [2:OK]
jun 21 15:57:10.82: [18037]: <-- [9:AT+FRH=3\r]
jun 21 15:57:13.92: [18037]: --> [0:]
jun 21 15:57:13.92: [18037]: MODEM <Empty line>
jun 21 15:57:13.92: [18037]: <-- data [1]
jun 21 15:57:13.97: [18037]: --> [2:OK]
jun 21 15:57:13.97: [18037]: DELAY 1500 ms
jun 21 15:57:15.47: [18037]: TRAINING failed
jun 21 15:57:15.47: [18037]: <-- [9:AT+FTH=3\r]
jun 21 15:57:16.66: [18037]: --> [7:CONNECT]
jun 21 15:57:16.66: [18037]: <-- data [3]
jun 21 15:57:16.66: [18037]: <-- data [2]
jun 21 15:57:16.97: [18037]: --> [2:OK]
jun 21 15:57:16.97: [18037]: <-- [5:ATH0\r]
jun 21 15:57:17.51: [18037]: --> [2:OK]
jun 21 15:57:17.55: [18037]: SESSION END
# $Id: class1,v 1.14 2004/04/19 18:44:46 lhoward 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.
#

#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
AreaCode:		418
FAXNumber:		+1.999.555.1212
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Serveur Fax UL (port 0)"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"De %%l|%Y/%m/%d %T|Page %%p de %%t"
MaxRecvPages:		25
#
#
# 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:	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
#
# We can 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:		ATDT%s		# T for tone dialing
#
# 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
#ModemSoftResetCmdDelay:	3000	# pause after soft reset
#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
Class1PPMWaitCmd:	AT+FTS=7	# command to stop and wait before PPM
Class1TCFWaitCmd:	AT+FTS=7	# command to stop and wait before TCF
Class1EOPWaitCmd:	AT+FTS=9	# command to stop and wait before EOP
Class1MsgRecvHackCmd:	""	# command to avoid +FCERROR before image
Class1TCFResponseDelay:	75		# 75ms delay between recv TCF & response
Class1SendMsgDelay:	200		# 75ms delay after training
Class1SwitchingCmd:	AT+FRS=7	# silence between HDLC recv and trans
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

Class1TMConnectDelay:	400

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=




Project hosted by iFAX Solutions