HylaFAX The world's most advanced open source fax server

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

HELP: COMREC invalid response received



Hello,
my hylafax program works well when sending fax with sendfax
but I can not receive fax.
Note that the faxgetty daemon is running:

ps aux | grep faxgetty
root     15721  0.0  0.5   852   352  p0 S    11:04   0:00 grep faxgetty 
uucp     15581  0.0  2.6  2780  1660  p0 S    10:35   0:00 faxgetty modem 

I started it from the shell as root:
fagetty modem&

If you have any clue, please drop me a mail:
alex@hq24.newsham.com


Thank you 
Alex

Included in this file:
1) the error message root@hq24 received
2) FILE: /usr/share/fax/hfaxd.conf
3) FILE: /var/spool/fax/etc/config.modem

============================================================
Error Message sent to root
============================================================
>From fax@hq24.newsham.com  Tue Nov 10 10:09:22 1998
Return-Path: <fax>
Received: (from uucp@localhost)
	by hq24.newsham.com (8.8.7/8.8.7) id KAA15288
	for FaxMaster; Tue, 10 Nov 1998 10:09:22 -0700
Date: Tue, 10 Nov 1998 10:09:22 -0700
Message-Id: <199811101709.KAA15288@hq24.newsham.com>
To: FaxMaster@hq24.newsham.com
From: The HylaFAX Receive Agent <fax@hq24.newsham.com>
Subject: facsimile not received

An attempt to receive facsimile on modem failed because:

    COMREC invalid response received

    ---- Transcript of session follows ----

Nov 10 10:08:46.47: [11446]: SESSION BEGIN 00000037 17196307698
Nov 10 10:08:46.47: [11446]: <-- [4:ATA\r]
Nov 10 10:08:46.99: [11446]: --> [3:FAX]
Nov 10 10:08:46.99: [11446]: ANSWER: FAX CONNECTION
Nov 10 10:08:46.99: [11446]: RECV FAX: begin
Nov 10 10:08:53.13: [11446]: --> [5:+FCON]
Nov 10 10:08:54.81: [11446]: --> [29:+FTSI: "        719 630 8021"]
Nov 10 10:08:54.81: [11446]: REMOTE TSI "719 630 8021"
Nov 10 10:08:55.22: [11446]: --> [22:+FDCS: 0,3,0,2,1,0,0,0]
Nov 10 10:08:55.22: [11446]: REMOTE wants 9600 bit/s
Nov 10 10:08:55.22: [11446]: REMOTE wants page width 1728 pixels in 215 mm
Nov 10 10:08:55.22: [11446]: REMOTE wants unlimited page length 
Nov 10 10:08:55.22: [11446]: REMOTE wants 3.85 line/mm
Nov 10 10:08:55.22: [11446]: REMOTE wants 2-D MR
Nov 10 10:08:55.22: [11446]: --> [2:OK]
Nov 10 10:08:55.22: [11446]: <-- [7:AT+FDR\r]
Nov 10 10:08:56.84: [11446]: --> [5:+FCFR]
Nov 10 10:08:59.14: [11446]: --> [22:+FDCS: 0,3,0,2,1,0,0,0]
Nov 10 10:08:59.14: [11446]: REMOTE wants 9600 bit/s
Nov 10 10:08:59.14: [11446]: REMOTE wants page width 1728 pixels in 215 mm
Nov 10 10:08:59.14: [11446]: REMOTE wants unlimited page length 
Nov 10 10:08:59.14: [11446]: REMOTE wants 3.85 line/mm
Nov 10 10:08:59.14: [11446]: REMOTE wants 2-D MR
Nov 10 10:08:59.14: [11446]: --> [7:CONNECT]
Nov 10 10:08:59.14: [11446]: RECV: begin page
Nov 10 10:08:59.14: [11446]: RECV: send trigger 021
Nov 10 10:09:11.39: [11446]: RECV: 83 total lines, 0 bad lines, 0 consecutive bad lines
Nov 10 10:09:11.39: [11446]: --> [17:+FPTS: 2,2219,0,0]
Nov 10 10:09:20.97: [11446]: --> [10:+FHNG: 102]
Nov 10 10:09:20.97: [11446]: REMOTE HANGUP: COMREC invalid response received (code 102)
Nov 10 10:09:21.54: [11446]: --> [2:OK]
Nov 10 10:09:21.54: [11446]: RECV FAX (00000037): recvq/fax00017.tif from 719 630 8021, route to <unspecified>, 0 pages in 0:34
Nov 10 10:09:21.54: [11446]: RECV FAX: COMREC invalid response received
Nov 10 10:09:21.54: [11446]: RECV FAX (00000037): session with 719 630 8021 terminated abnormally: COMREC invalid response received
Nov 10 10:09:21.54: [11446]: RECV FAX: bin/faxrcvd "recvq/fax00017.tif" "modem" "00000037" "COMREC invalid response received"

============================================================
FILE: /usr/share/fax/hfaxd.conf
============================================================
#
# HylaFAX Client-Server Protocol Configuration.
#
# Consult hfaxd(1M) for information on the contents
# of this file.  Note that pathnames specified in
# this file are relative to the root of the spooling
# area because hfaxd uses chroot to confine client
# accesses to the server's filesystem.
#
LogFacility:		daemon		# syslog facility (want this 1st))
ServerTracing:		0x001		# just server operation
#IdleTimeout:		900		# initial client idle timeout (secs)
#MaxIdleTimeout:	7200		# max client idle timeout (secs)
#MaxLoginAttempts:	5		# max # login attempts before disconnect
#MaxAdminAttempts:	5		# max # admin attempts before disconnect
#MaxConsecutiveBadCmds:	10		# max # invalid cmds before disconnect
#FaxContact:		FaxMaster	# who gets questions/complaints
#UserAccessFile:	"/etc/hosts"	# user+host access control file
#ShutdownFile:		"/etc/shutdown"	# server shutdown control filename
#XferLogFile:		"/etc/clientlog"	# for logging client file transfers
#FaxQFIFOName:		"/FIFO"		# FIFO name for talking to faxq process
#
# The default format used to return job status queries.
# Note that clients can override this with JOBFMT.
#
#JobFmt:		"%-3j %3i %1a %6.6o %-12.12e %5P %5D %7z %.25s"
#
# The default format used to return recvq status queries.
# Note that clients can override this with RCVFMT.
#
#RcvFmt:		"%-7m %4p%1z %-8.8o %14.14s %7t %f"
#
# The default format used to return modem status queries.
# Note that clients can override this with MODEMFMT.
#
#ModemFmt:		"Modem %m (%n): %s"
#
# The default format used to return file-oriented
# directory listings.
# Note that clients can override this with FILEFMT.
#
#FileFmt:		"%-7p %3l %8o %8s %-12.12m %.48f"

#
# SNPP-specific parameters.
#
#MaxMsgLength:		128		# max pager message length
#PagerIDMapFile:	"/etc/pagermap"	# file with pager ID mapping rules
#
# The following three items define the mapping from
# SNPP service level to job scheduling priority and
# expiration (kill) time.  Each item should have a
# list of 12 values that define the mapping for service
# levels 0 through 11 (first item is level 0, second
# item level 1, ... etc.).
#
#PriorityMap:		"63 127 127 127 127 127 127  127  127  127  127  127"
#RetryTimeMap:		"30  60  60 180   0   0   0    0    0    0    0    0"
#KillTimeMap:		" 5   5   5  15  60 240 720 1440 1440 1440 1440 1440"


============================================================
FILE: /var/spool/fax/etc/config.modem
============================================================
# $Id: rockwell,v 1.2 1996/06/24 02:58:40 sam Rel $
#
# 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.
#

#
# Configuration for a Rockwell-based modem not otherwise handled by
# another prototype configuration file.  This file assumes the modem
# is compatible with the Rc144AC, RC96AC or RC144DP.
#
# This configuration file sets up the modem to run at 38.4 with
# RTS/CTS flow control used by default.  XON/XOFF is automatically
# enabled for fax recv.  Beware of modems that also lock sending
# to 19.2; add ModemSendBeginCmd: "<19200>" if this is required.
# Also beware that the adaptive-answer facility, when supported,
# is often unreliable.
#
#
CountryCode:		1
AreaCode:		719
FAXNumber:		6307698
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l %s"
LocalIdentifier:	"Newsham Hybrids (USA) faxserver hq24"
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:		Class2		# use class 2 interface
ModemRate:		38400
ModemFlowControl:	rtscts		# default
#
#ModemResetCmds:	AT&F2		# what you want for a Supra
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemSetupDTRCmd:	AT&D3		# DTR off causes modem to reset
#ModemSetupDTRCmd:	AT&D2S25=1S38=0	# Dynalink 1414VE needs this
ModemSetupDCDCmd:	AT&C1		# DCD follows carrier
ModemSetupAACmd:	AT+FAA=1+FCLASS=0 # enable in current class
#
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
#
ModemAnswerFaxBeginCmd:	"<19200><xon>"	# modem switches on fax receive
#
# Caller ID configuration setup for Supra.
#
#QualifyCID:		etc/cid		# CID access control list file
#CIDNumber:		"NMBR = "	# pattern string for phone number info
#CIDName:		"NAME = "	# pattern string for identity info




Project hosted by iFAX Solutions