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 receiving faxes from a particular fax machine / need workaround or fix



I am a new user to HylaFax server, and am having a couple of glitches that I can’t seem to find a solution for.

To begin with, I am running:
Version: HylaFax 4.4.4
OS: Ubuntu Server 7.10 (currently in the process of upgrading to 8.04, hopefully won’t make my problems worse ☺ )
Modem: AOpen FM56-SVV
Driver: hsfmodem_7.60.00.18oem_i386.deb (Dell Conexant Driver)
Other Info: Ask, I will send config files as necessary

The good stuff:
I have successfully sent one fax.
I have successfully received two faxes (fax machines , not pc/modems) -- (one from the person I sent the fax to above, and one from a second source)

The bad stuff (problem):
I have one person trying to send a fax (from a fax machine, not a pc/modem), my server answers, fails to negotiate, and then the HylaFax server just hangs there (webmin reports “Waiting for modem to respond”)

Here is a copy of the log, I have read through it and compared it to successful receipts and it just appears not to be ‘training’.  The one thing that I did notice is that it falls back to 4800bps, but never tries to drop any lower (2400bps).  Another note, if this *is* in fact a problem at the senders end, I need a way to have the modem somehow become ‘unbusy’ in the event that this problem actually occurs with specific fax machines, otherwise the fax server will stop listening for calls and becomes useless until I get around to reset it manually.

BTW, in order to reset it thusfar after the problem arises, I do the following:
	/etc/init.d/hsf restart
	/etc/init.d/hylafax restart
Then the server reinitializes itself and works fine again.

Any suggestions to things that I could look for/try would be greatly appreciated.


//-----------------------[ The ‘failed’ log ]-----------------------------
Apr 23 12:44:35.04: [28445]: SESSION BEGIN 000000022 1403XXXXXXX
Apr 23 12:44:35.04: [28445]: HylaFAX (tm) Version 4.4.0 
Apr 23 12:44:35.04: [28445]: <-- [4:ATA\r] 
Apr 23 12:44:40.31: [28445]: --> [7:CONNECT] 
Apr 23 12:44:40.31: [28445]: ANSWER: FAX CONNECTION  DEVICE '/dev/modem'
Apr 23 12:44:40.33: [28445]: RECV FAX: begin 
Apr 23 12:44:40.40: [28445]: <-- data [32] 
Apr 23 12:44:40.40: [28445]: <-- data [2] 
Apr 23 12:44:42.11: [28445]: --> [7:CONNECT] 
Apr 23 12:44:42.11: [28445]: <-- data [23] 
Apr 23 12:44:42.11: [28445]: <-- data [2] 
Apr 23 12:44:42.79: [28445]: --> [7:CONNECT] 
Apr 23 12:44:42.79: [28445]: <-- data [13] 
Apr 23 12:44:42.79: [28445]: <-- data [2] 
Apr 23 12:44:43.52: [28445]: --> [2:OK] 
Apr 23 12:44:43.52: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:43.73: [28445]: --> [7:CONNECT] 
Apr 23 12:44:45.55: [28445]: --> [2:OK] 
Apr 23 12:44:45.55: [28445]: REMOTE TSI "403XXXXXXX"
Apr 23 12:44:45.55: [28445]: RECV recv TSI (sender id) 
Apr 23 12:44:45.55: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:45.59: [28445]: --> [7:CONNECT] 
Apr 23 12:44:45.81: [28445]: --> [2:OK] 
Apr 23 12:44:45.83: [28445]: REMOTE wants 9600 bit/s 
Apr 23 12:44:45.83: [28445]: REMOTE wants A4 page width (215 mm) 
Apr 23 12:44:45.83: [28445]: REMOTE wants unlimited page length 
Apr 23 12:44:45.83: [28445]: REMOTE wants 3.85 line/mm 
Apr 23 12:44:45.83: [28445]: REMOTE wants 2-D MR 
Apr 23 12:44:45.83: [28445]: REMOTE wants T.30 Annex A, 256-byte ECM 
Apr 23 12:44:45.83: [28445]: RECV recv DCS (command signal) 
Apr 23 12:44:45.83: [28445]: RECV training at v.29 9600 bit/s 
Apr 23 12:44:45.83: [28445]: <-- [10:AT+FRM=96\r] 
Apr 23 12:44:46.14: [28445]: --> [7:CONNECT] 
Apr 23 12:44:47.76: [28445]: RECV: TCF 1908 bytes, 97% non-zero, 1 zero-run 
Apr 23 12:44:47.76: [28445]: RECV: reject TCF (too many non-zero, max 10%) 
Apr 23 12:44:47.76: [28445]: RECV: reject TCF (zero run too short, min 1200) 
Apr 23 12:44:47.78: [28445]: --> [10:NO CARRIER] 
Apr 23 12:44:47.78: [28445]: <-- [9:AT+FRS=7\r] 
Apr 23 12:44:47.92: [28445]: --> [2:OK] 
Apr 23 12:44:47.92: [28445]: <-- [9:AT+FTH=3\r] 
Apr 23 12:44:48.24: [28445]: --> [7:CONNECT] 
Apr 23 12:44:48.24: [28445]: <-- data [3] 
Apr 23 12:44:48.24: [28445]: <-- data [2] 
Apr 23 12:44:49.53: [28445]: --> [2:OK] 
Apr 23 12:44:49.53: [28445]: TRAINING failed 
Apr 23 12:44:49.53: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:49.75: [28445]: --> [7:CONNECT] 
Apr 23 12:44:51.55: [28445]: --> [2:OK] 
Apr 23 12:44:51.55: [28445]: REMOTE TSI "403XXXXXXX"
Apr 23 12:44:51.55: [28445]: RECV recv TSI (sender id) 
Apr 23 12:44:51.55: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:51.59: [28445]: --> [7:CONNECT] 
Apr 23 12:44:51.83: [28445]: --> [2:OK] 
Apr 23 12:44:51.83: [28445]: REMOTE wants 7200 bit/s 
Apr 23 12:44:51.83: [28445]: REMOTE wants A4 page width (215 mm) 
Apr 23 12:44:51.83: [28445]: REMOTE wants unlimited page length 
Apr 23 12:44:51.83: [28445]: REMOTE wants 3.85 line/mm 
Apr 23 12:44:51.83: [28445]: REMOTE wants 2-D MR 
Apr 23 12:44:51.83: [28445]: REMOTE wants T.30 Annex A, 256-byte ECM 
Apr 23 12:44:51.83: [28445]: RECV recv DCS (command signal) 
Apr 23 12:44:51.83: [28445]: RECV training at v.29 7200 bit/s 
Apr 23 12:44:51.83: [28445]: <-- [10:AT+FRM=72\r] 
Apr 23 12:44:52.15: [28445]: --> [7:CONNECT] 
Apr 23 12:44:53.79: [28445]: RECV: TCF 1440 bytes, 99% non-zero, 1 zero-run 
Apr 23 12:44:53.79: [28445]: RECV: reject TCF (too many non-zero, max 10%) 
Apr 23 12:44:53.79: [28445]: RECV: reject TCF (zero run too short, min 900) 
Apr 23 12:44:53.81: [28445]: --> [10:NO CARRIER] 
Apr 23 12:44:53.81: [28445]: <-- [9:AT+FRS=7\r] 
Apr 23 12:44:53.95: [28445]: --> [2:OK] 
Apr 23 12:44:53.95: [28445]: <-- [9:AT+FTH=3\r] 
Apr 23 12:44:54.27: [28445]: --> [7:CONNECT] 
Apr 23 12:44:54.27: [28445]: <-- data [3] 
Apr 23 12:44:54.27: [28445]: <-- data [2] 
Apr 23 12:44:55.56: [28445]: --> [2:OK] 
Apr 23 12:44:55.56: [28445]: TRAINING failed 
Apr 23 12:44:55.56: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:55.79: [28445]: --> [7:CONNECT] 
Apr 23 12:44:57.59: [28445]: --> [2:OK] 
Apr 23 12:44:57.59: [28445]: REMOTE TSI "403XXXXXXX"
Apr 23 12:44:57.59: [28445]: RECV recv TSI (sender id) 
Apr 23 12:44:57.59: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:44:57.63: [28445]: --> [7:CONNECT] 
Apr 23 12:44:57.85: [28445]: --> [2:OK] 
Apr 23 12:44:57.85: [28445]: REMOTE wants 4800 bit/s 
Apr 23 12:44:57.85: [28445]: REMOTE wants A4 page width (215 mm) 
Apr 23 12:44:57.85: [28445]: REMOTE wants unlimited page length 
Apr 23 12:44:57.85: [28445]: REMOTE wants 3.85 line/mm 
Apr 23 12:44:57.85: [28445]: REMOTE wants 2-D MR 
Apr 23 12:44:57.85: [28445]: REMOTE wants T.30 Annex A, 256-byte ECM 
Apr 23 12:44:57.85: [28445]: RECV recv DCS (command signal) 
Apr 23 12:44:57.85: [28445]: RECV training at v.27ter 4800 bit/s 
Apr 23 12:44:57.85: [28445]: <-- [10:AT+FRM=48\r] 
Apr 23 12:45:02.35: [28445]: --> [0:] 
Apr 23 12:45:02.35: [28445]: MODEM <Empty line> 
Apr 23 12:45:02.35: [28445]: <-- data [1] 
Apr 23 12:45:02.55: [28445]: MODEM <Timeout> 
Apr 23 12:45:02.55: [28445]: <-- [9:AT+FRS=7\r] 
Apr 23 12:45:32.55: [28445]: MODEM <Timeout> 
Apr 23 12:45:32.55: [28445]: Failure to receive silence (synchronization failure).
Apr 23 12:45:32.55: [28445]: <-- data [1] 
Apr 23 12:45:32.75: [28445]: MODEM <Timeout> 
Apr 23 12:45:32.75: [28445]: <-- [9:AT+FRH=3\r] 
Apr 23 12:45:39.75: [28445]: --> [0:] 
Apr 23 12:45:39.75: [28445]: MODEM <Empty line> 
Apr 23 12:45:39.75: [28445]: <-- data [1] 
Apr 23 12:45:39.95: [28445]: MODEM <Timeout> 
Apr 23 12:45:39.95: [28445]: RECV FAX: Failure to train modems 
Apr 23 12:45:39.95: [28445]: RECV FAX: end 
Apr 23 12:45:39.95: [28445]: Failure to train modems 
Apr 23 12:45:39.95: [28445]: SESSION END
//--------------------------------------------------------------------------

//----[ config.modem file -- Stripped copyright from top of file ]----------
// Also note I have tried ModemRate of 19200 (not that it makes any difference)

CountryCode:		1
AreaCode:			403
FAXNumber:			+1.403.XXX.XXXX
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:		AMurray
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%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:			38400		# rate for DCE-DTE communication
ModemFlowControl:		rtscts	# default
#
ModemNoFlowCmd:		AT&K0		# setup no flow control
ModemHardFlowCmd:		AT&K3		# setup hardware flow control
ModemSoftFlowCmd:		AT&K4		# setup software flow control
ModemSetupDTRCmd:		AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:		AT&C1		# setup so DCD reflects carrier (or not)
ModemResetCmds:		AT+VDR=1,10	# setup Distinctive Ring
#
ModemMfrQueryCmd:		!Rockwell
ModemModelQueryCmd:	!RC288DPi
ModemRevQueryCmd:		ATI3		# product information
#
ModemDialCmd:		ATDT%s	# T for tone dialing

DistinctiveRings:		V-20,F-12-3-11	# Distinctive ring pattern for faxes
NoAnswerVoice:		true		# Do not answer voice calls
DRingOff:			DROF=		# Distinctive Ring Off Cadence
DRingOn:			DRON=		# Distinctive Ring On Cadence
//-------------------------------------------------------------------

Regards,
Aaron Murray



____________________ 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