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 Ring detected without successful handshake



Running Hylafax 4.1 Beta 3-1 / Libtiff 3.5.5-2 on RedHat 6.2

Problem with “Ring detected without successful handshake” for some incoming
faxes.  I am using an Intel 144/144i internal faxmodem set for class 1. As
you can see, the faxaddmodem script recognizes my modem as a 400e, and seems
to work with most faxes.  I did have a problem with some incoming faxes
where I would get a MaxConsecutiveBadLines errors, but by setting it to ‘0’
seems to have covered that problem.  Can you provide any suggestions or
comments?

Config File as follows:

# Configuration for using the Class 1 command interface with an
# Intel SatisFAXtion 400e modem.  Modems with firmware revision
# U10,U20-28F001BX-5.00 are known to work.
#
# RTS/CTS flow control is used.  The following profile was used:
#
# ACTIVE PROFILE:
# B0 E1 L2 M0 T Q0 V1 X4 Y0 &C1 &D3 &G0 &L0 &P0 &Q0 &R0 &S0 &X0 &Y0
# \A3 %A013 \C0 %C1 %E1 \G0 \J0 \K5 \N3 \Q3 \T00 \V2 \X0 -J1 "H3 "S0 "O250
# S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030
# S08:002 S09:006 S10:014 S11:070 S12:050 S18:000 S25:005 S26:001 S31:000
#
#
CountryCode:            1
AreaCode:         972
FAXNumber:        1.972.641.6295
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:  etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:       0600
RingsBeforeAnswer:      1
SpeakerVolume:          quiet
GettyArgs:        "-h %l dx_%s"
LocalIdentifier:  "Precision Business Machines, Inc."
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
AdaptiveAnswer:         yes
AnswerRotary:           "fax data"
PercentGoodLines: 90
MaxConsecutiveBadLines: 0
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:        38400       # rate for DCE-DTE communication
ModemFlowControl: rtscts            # default
#
ModemHardFlowCmd: AT\Q3       # set desired flow control method
ModemSetupDTRCmd: AT&D2       # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1       # setup so DCD reflects carrier (or not)
ModemSetupAACmd:  AT+FCLASS=0 # leave modem idling in Class 0
#
ModemMfrQueryCmd: !Intel
ModemModelQueryCmd:     !SatisFAXtion 400e
ModemRevQueryCmd: ATI3
#
# A shorter than normal timer is required for incoming calls to
# avoid timing out most data callers when using adaptive answer.
#
Class1RecvIdentTimer:   15000       # shorter timer for incoming ID
AdaptiveAnswer:         yes         # alternate fax/data answer on error
AnswerRotary:           "fax data"  # try fax first, then data
ModemAnswerCmd:         AT+FCLASS=1A      # "generic" answer (counter 0
idle)
#
# HACK:  Make sure the phone is on on-hook before answering in data mode.
# This allows a crude adaptive answer capability by taking advantage of
# the fact that, in the US at least, the phone company won't drop the
# caller for ten seconds.
#
ModemAnswerDataCmd:     ATH+FCLASS=0A     # data answer
ModemAnswerFaxCmd:      AT+FCLASS=1A      # fax answer
#
#GettyArgs:       "-h %l dx_%s"     # NB: enable this for dialins (SGI)
#GettyArgs:       "std.%s -"  # NB: enable this for dialins (SunOS)
#GettyArgs: "-g -h -t 60 -l ff_%s"  # NB: enable this for dialins (SVR4.2)



Sample Log file as follows:

Apr 11 14:38:55.26: [  652]: SESSION BEGIN 00000323 19726416295
Apr 11 14:38:55.26: [  652]: <-- [13:AT+FCLASS=1A\r]
Apr 11 14:39:01.04: [  652]: --> [7:CONNECT]
Apr 11 14:39:01.04: [  652]: ANSWER: FAX CONNECTION
Apr 11 14:39:01.05: [  652]: RECV FAX: begin
Apr 11 14:39:01.06: [  652]: <-- data [23]
Apr 11 14:39:01.06: [  652]: <-- data [2]
Apr 11 14:39:02.61: [  652]: --> [7:CONNECT]
Apr 11 14:39:02.61: [  652]: <-- data [10]
Apr 11 14:39:02.62: [  652]: <-- data [2]
Apr 11 14:39:03.03: [  652]: --> [2:OK]
Apr 11 14:39:03.03: [  652]: <-- [9:AT+FRH=3\r]
Apr 11 14:39:06.13: [  652]: --> [0:]
Apr 11 14:39:06.13: [  652]: MODEM <Empty line>
Apr 11 14:39:06.14: [  652]: <-- data [1]
Apr 11 14:39:06.33: [  652]: MODEM <Timeout>
Apr 11 14:39:06.33: [  652]: DELAY 1500 ms
Apr 11 14:39:07.83: [  652]: <-- [9:AT+FTH=3\r]
Apr 11 14:39:07.83: [  652]: --> [10:NO CARRIER]
Apr 11 14:39:07.84: [  652]: DELAY 1500 ms
Apr 11 14:39:09.33: [  652]: <-- [9:AT+FTH=3\r]
Apr 11 14:39:09.33: [  652]: --> [7:CONNECT]
Apr 11 14:39:09.34: [  652]: <-- data [23]
Apr 11 14:39:09.34: [  652]: <-- data [2]
Apr 11 14:39:10.35: [  652]: --> [7:CONNECT]
Apr 11 14:39:10.35: [  652]: <-- data [10]
Apr 11 14:39:10.36: [  652]: <-- data [2]
Apr 11 14:39:10.78: [  652]: --> [2:OK]
Apr 11 14:39:10.78: [  652]: <-- [9:AT+FRH=3\r]
Apr 11 14:39:13.88: [  652]: --> [0:]
Apr 11 14:39:13.88: [  652]: MODEM <Empty line>
Apr 11 14:39:13.89: [  652]: <-- data [1]
Apr 11 14:39:14.08: [  652]: MODEM <Timeout>
Apr 11 14:39:14.08: [  652]: RECV FAX: No answer (T.30 T1 timeout)
Apr 11 14:39:14.09: [  652]: RECV FAX: end
Apr 11 14:39:14.09: [  652]: <-- [14:ATH+FCLASS=0A\r]
Apr 11 14:39:14.75: [  652]: --> [10:NO CARRIER]
Apr 11 14:39:14.76: [  652]: ANSWER: Ring detected without successful
handshake
Apr 11 14:39:14.76: [  652]: SESSION END



Scott Rasco
Technical Support
Precision Business Machines, Inc.
scottr@pbminc.com



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions