HylaFAX The world's most advanced open source fax server

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

[hylafax-users] FaxGetty ANSWER: Ring detected without successful handshake



Hi all.
I have a problem whith my hylafax installation on debian stable.

The server seems to receive faxes correctly but *not* when who sends 
them makes the following operations:

* picks up the phone
* composes the fax number
* when hylafax answers push the send button on the fax machine

At this point there is the error of the subject.

Instead, if who wants to send the fax:

* put the paper inside the fax machine
* composes fax number *on* the fax machine
* when hylafax answers push the send button on the fax machine

all works perfect.

I reproduced this error many times and i can confirmate the fact that 
(with the phone picked up) i can hear classical noise of answering fax 
*but* when i push the send button on the fax machine the noise bocomes 
"strange" and the error raises.

Here is my config.ttyMI0:

CountryCode:		39
AreaCode:		06
FAXNumber:		123456
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
#ServerTracing:		1
ServerTracing:		8FFFF
#SessionTracing:		11
SessionTracing:		8FFFF
RecvFileMode:		0644
LogFileMode:		0600
DeviceMode:		0644
RingsBeforeAnswer:	2
SpeakerVolume:		quiet
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"My identifier"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		50
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2.0	# use class 2.0 interface
ModemRate:		19200		# DCE-DTE communication rate
ModemFlowControl:	rtscts		# hardware flow control
#
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
#
ModemSetupDTRCmd:	ATS13=1&D2	# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemResultCodesCmd:	ATQ0X4		# enable extended result codes
#
# NB: adaptive answer only seems to work properly when
#     the modem is left idling in Class 2.0
#
ModemSetupAACmd:	AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd:	"ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd:		AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd:	!(0),(0)	# override modem response
#
# 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
#
# USR modems violate Class 2.0 specs and do not send RTC itself
#
Class2SendRTC:	yes
#
# +FAP=? not supported on this modem, gives ERROR in ServerTracing
#
Class2APQueryCmd:       none

JobReqBusy:		60
JobReqDataConn:   	60 
JobReqNoAnswer:   	60 
JobReqNoCarrier:  	60 
JobReqNoFCon:     	60 
JobReqOther:      	60 
JobReqProto:      	60 
JobRetryBusy:      	3 
JobRetryDataConn:  	3 
JobRetryNoAnswer:  	3 
JobRetryNoCarrier: 	3 
JobRetryOther:     	3 


and here are faxgetty logs:

Sep 24 12:48:54 tlcfax FaxGetty[26440]: MODEM U.S. ROBOTICS 56K FAX /
Sep 24 12:48:54 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: <-- [5:ATM1\r]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: <-- [30:AT+FLI="My Office  Fax:09"\r]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: <-- [9:AT+FCR=1\r]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: <-- [9:AT+FAA=1\r]
Sep 24 12:48:54 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:49:37 tlcfax FaxGetty[26435]: --> [4:RING]
Sep 24 12:49:42 tlcfax FaxGetty[26435]: --> [4:RING]
Sep 24 12:49:59 tlcfax FaxGetty[26435]: ANSWER: Ring detected without
 successful handshake
Sep 24 12:49:59 tlcfax FaxGetty[26435]: <-- [5:ATH0\r]
Sep 24 12:49:59 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:04 tlcfax FaxGetty[26435]: <-- [4:ATZ\r]
Sep 24 12:50:04 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: <-- [7:ATS0=0\r]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: --> [6:ATS0=0]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: <-- [5:ATE0\r]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: --> [4:ATE0]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: <-- [5:ATV1\r]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:07 tlcfax FaxGetty[26435]: <-- [7:ATQ0X4\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [7:ATS8=2\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [8:ATS7=60\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [12:AT&H1&I0&R2\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [11:ATS13=1&D2\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [6:AT&C1\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: <-- [12:AT+FCLASS=?\r]
Sep 24 12:50:08 tlcfax FaxGetty[26435]: --> [7:0,1,2.0]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: <-- [14:AT+FCLASS=2.0\r]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: <-- [8:AT+FMI?\r]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: --> [21:U.S. Robotics 56K FAX]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: <-- [8:AT+FMM?\r]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:09 tlcfax FaxGetty[26435]: <-- [8:AT+FMR?\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [9:AT+FCC=?\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [35:(0,1),(0-5),(0-2),(0-2),
0,0,0,(0-7)]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [9:AT+FSP=?\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [5:(0,1)]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [9:AT+FLO=2\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [9:AT+FPP=0\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [9:AT+FBO=0\r]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:10 tlcfax FaxGetty[26435]: <-- [10:AT+FCT=30\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [15:AT+FNR=1,1,1,0\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [9:AT+FIE=0\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [5:ATM1\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [30:AT+FLI="XYZ Fax:09"\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [9:AT+FCR=1\r]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:50:11 tlcfax FaxGetty[26435]: <-- [9:AT+FAA=1\r]
Sep 24 12:50:12 tlcfax FaxGetty[26435]: --> [2:OK]
Sep 24 12:52:24 tlcfax FaxGetty[26435]: <-- [5:ATH0\r]


Where am i wrong?

Thanks a lot.

p.


____________________ 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