HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Patton 2977 timeout in class 1



Hi,

I'm having an issue with the following configuration:

Gentoo Linux - kernel 2.4.30
Patton 2977 (AKA Digi Datafire RAS) - latest firmware from Patton support
Hylafax 4.2.5

What I'm seeing is that for sending to some destinations (where 'some' is around
2-3% of destinations I send to) I'm getting a timeout when receiving the initial
HDLC frame after connect. This only applies when running the modem in Class 1.
Class 2.0 seems to resolve this particular issue, but introduces other problems
on the receiving side, so I'd rather be running in Class 1 if possible.

An example session log and my config are below (number's X'd out to protect the
innocent). If anyone has any suggestions, I would appreciate them. I have tried
increasing FaxT4Timer with no effect and have also tried specifying
Class1ResponseWaitCmd and Class1TCFWaitCmd as AT+FRS=5 with no effect on the
issue.

Thanks,
Christian


Sample Session Log:

Mar 14 12:13:04.23: [31914]: SESSION BEGIN 000061053 XXXXXXXXXXX
Mar 14 12:13:04.23: [31914]: HylaFAX (tm) Version 4.2.5
Mar 14 12:13:04.23: [31914]: SEND FAX: JOB 42249 DEST XXXXXXXXXXX COMMID
000061053 DEVICE '/dev/ttyG008' FROM 'XXXXXXXX' USER XXXXX
Mar 14 12:13:04.23: [31914]: <-- [12:AT+FCLASS=1\r]
Mar 14 12:13:04.41: [31914]: --> [2:OK]
Mar 14 12:13:04.41: [31914]: DIAL 1XXXXXXXXXX
Mar 14 12:13:04.41: [31914]: <-- [16:ATDT1XXXXXXXXXX\r]
Mar 14 12:13:22.05: [31914]: --> [7:CONNECT]
Mar 14 12:13:27.05: [31914]: <-- data [1]
Mar 14 12:13:27.25: [31914]: MODEM <Timeout>
Mar 14 12:13:27.25: [31914]: DELAY 200 ms
Mar 14 12:13:27.45: [31914]: <-- [9:AT+FRH=3\r]
Mar 14 12:13:27.61: [31914]: --> [5:ERROR]
Mar 14 12:13:27.61: [31914]: MODEM Command error
Mar 14 12:13:27.61: [31914]: No answer (T.30 T1 timeout)
Mar 14 12:13:27.61: [31914]: SEND FAILED: JOB 42249 DEST 1XXXXXXXXXX ERR No
answer (T.30 T1 timeout)
Mar 14 12:13:27.61: [31914]: <-- [9:AT+FTH=3\r]
Mar 14 12:13:27.78: [31914]: --> [8:AT+FTH=3]
Mar 14 12:13:27.78: [31914]: SEND FAILED: JOB 42249 DEST 1XXXXXXXXXX ERR No
answer (T.30 T1 timeout); too many attempts to dial
Mar 14 12:13:27.78: [31914]: <-- [5:ATH0\r]
Mar 14 12:13:27.78: [31914]: --> [5:ERROR]
Mar 14 12:13:27.78: [31914]: MODEM Command error
Mar 14 12:13:27.86: [31914]: SESSION END



Class 1 Modem Config:

# $Id: digi,v 1.3 2005/02/01 21:57:38 lhoward Exp $
#
# prototype config for Digi AccelePort RAS
# It uses a K56 chip, but is similar in behavior to Lucents.
#
# Note that because the devices are named as "ttyG0_00" (which on some
# systems indicates a subdirectory, i.e. "ttyG0/00") you must:
# `ln -s /dev/ttyG0_00 /dev/ttyG000`
# for each device and refer to the symlink.  Otherwise various HylaFAX
# functions will fail.

#
CountryCode:            1
AreaCode:               XXX
FAXNumber:              +1.XXX.XXX.XXXX
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
DestControls:           etc/destctrls
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0660
LogFileMode:            0660
DeviceMode:             0660
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "XXXXXXXXXXXXXX"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           250
CIDName:                "NDID="
CIDNumber:              "NMBR="
CIDNumberAnswerLength:  10
#

ModemType:              Class1          # use this to supply a hint
ModemFlowControl:       rtscts          # seems to work better than xonxoff

# If your line supports Caller-ID, you may want to uncomment this...
# QualifyCID:           etc/cid         # you must create this file
# CID=10 means DNIS             (DID and CIDnum)
# CID=1 means Analog Caller ID  (CIDname and CIDnum)
ModemResetCmds: "AT#CID=10"

____________________ 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