HylaFAX The world's most advanced open source fax server |
When the machine starts, It reports the following in var/log/messages :
Sep 14 20:05:26 hostname FaxQueuer[747]: HylaFAX (tm) Version 4.0pl2
Sep 14 20:05:26 hostname FaxQueuer[747]: Copyright (c) 1990-1996 Sam Leffler
Sep 14 20:05:26 hostname FaxQueuer[747]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Sep 14 20:05:32 hostname FaxGetty[834]: OPEN /dev/ttyS1
Sep 14 20:05:32 hostname FaxGetty[834]: MODEM set DTR OFF
Sep 14 20:05:32 hostname FaxGetty[834]: DELAY 2600 ms
Sep 14 20:05:35 hostname FaxGetty[834]: MODEM set DTR ON
Sep 14 20:05:35 hostname FaxGetty[834]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
Sep 14 20:05:35 hostname FaxGetty[834]: MODEM flush i/o
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [14:ATE0V1Q0S0=0H0]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [21:ATS8=2S7=60&K3&D3&C1\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [12:AT+FCLASS=?\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [9:0,1,2,1.0]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [12:AT+FCLASS=2\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [9:AT+FMFR?\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [20:ROCKWELL ]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [9:AT+FMDL?\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [13:AC/K56^I^I ]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [9:AT+FREV?\r]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [17:V2.210-V90_2M_DLS]
Sep 14 20:05:35 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:35 hostname FaxGetty[834]: <-- [10:AT+FDCC=?\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [35:(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [9:AT+FCQ=?\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [1:0]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [9:AT+FAP=?\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [5:ERROR]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [10:AT+FSPL=?\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [3:0,1]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [12:AT+FCLASS=2\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [10:AT+FTBC=0\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [10:AT+FBOR=0\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [13:AT+FPHCTO=30\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [10:AT+FBUG=1\r]
Sep 14 20:05:36 hostname FaxGetty[834]: --> [5:ERROR]
Sep 14 20:05:36 hostname FaxGetty[834]: MODEM Command error
Sep 14 20:05:36 hostname FaxGetty[834]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
Sep 14 20:05:37 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:37 hostname FaxGetty[834]: MODEM ROCKWELL AC/K56/V2.210-V90_2M_DLS
Sep 14 20:05:37 hostname FaxGetty[834]: <-- [7:ATL3M1\r]
Sep 14 20:05:37 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:37 hostname FaxGetty[834]: <-- [9:AT+FCR=1\r]
Sep 14 20:05:37 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:37 hostname FaxGetty[834]: <-- [23:AT+FLID="NothingSetup"\r]
Sep 14 20:05:37 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:37 hostname FaxGetty[834]: <-- [18:AT+FAA=1+FCLASS=0\r]
Sep 14 20:05:37 hostname FaxGetty[834]: --> [2:OK]
Sep 14 20:05:37 hostname FaxGetty[834]: MODEM input buffering disabled
When a job is sent from a client I get the correct message
/var/log/messages
Sep 14 20:06:40 hostname FaxQueuer[747]: SUBMIT JOB 23
When I run the command
"faxsend -m ttyS1 /var/spool/fax/sendq/q23"
I get the following output in my log
Sep 14 20:08:33 hostname FaxGetty[834]: ANSWER: Can not lock modem device
Sep 14 20:09:22 hostname FaxSend[901]: MODEM set DTR OFF
Sep 14 20:09:22 hostname FaxSend[901]: DELAY 2600 ms
Sep 14 20:09:25 hostname FaxSend[901]: MODEM set DTR ON
Sep 14 20:09:25 hostname FaxSend[901]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
Sep 14 20:09:25 hostname FaxSend[901]: MODEM flush i/o
Sep 14 20:09:25 hostname FaxSend[901]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [21:ATS8=2S7=60&K3&D3&C1\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [12:AT+FCLASS=?\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [9:0,1,2,1.0]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [12:AT+FCLASS=2\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [9:AT+FMFR?\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [20:ROCKWELL ]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [9:AT+FMDL?\r]
Sep 14 20:09:25 hostname FaxSend[901]: --> [13:AC/K56^I^I ]
Sep 14 20:09:25 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:25 hostname FaxSend[901]: <-- [9:AT+FREV?\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [17:V2.210-V90_2M_DLS]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [10:AT+FDCC=?\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [35:(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [9:AT+FCQ=?\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [1:0]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [9:AT+FAP=?\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [5:ERROR]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [10:AT+FSPL=?\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [3:0,1]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [12:AT+FCLASS=2\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [10:AT+FTBC=0\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [10:AT+FBOR=0\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [13:AT+FPHCTO=30\r]
Sep 14 20:09:26 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:26 hostname FaxSend[901]: <-- [10:AT+FBUG=1\r]
Sep 14 20:09:27 hostname FaxSend[901]: --> [5:ERROR]
Sep 14 20:09:27 hostname FaxSend[901]: MODEM Command error
Sep 14 20:09:27 hostname FaxSend[901]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
Sep 14 20:09:27 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:27 hostname FaxSend[901]: MODEM ROCKWELL AC/K56/V2.210-V90_2M_DLS
Sep 14 20:09:27 hostname FaxSend[901]: <-- [7:ATL3M1\r]
Sep 14 20:09:27 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:27 hostname FaxSend[901]: MODEM input buffering disabled
Sep 14 20:09:46 hostname FaxSend[901]: CAUGHT SIGNAL 2
Sep 14 20:09:46 hostname FaxSend[901]: <-- [5:ATH0\r]
Sep 14 20:09:46 hostname FaxSend[901]: --> [2:OK]
Sep 14 20:09:46 hostname FaxSend[901]: MODEM set DTR OFF
Why do I get this and what should be done. ?
Sep 14 20:09:27 hostname@ FaxSend[901]: MODEM input buffering disabled
The config.ttyS1 file is as follows
# $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: 415
FAXNumber: 88888888
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 0x4f
SessionTracing: 0x4f
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0644
RingsBeforeAnswer: 1
SpeakerVolume: high
GettyArgs: "-h %l %s"
LocalIdentifier: "NothingSetup"
LogFacility: local5
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