![]() |
Dear expert: I attach the config.ttyS0 and the log of one of the failed faxes. PS: When I use " tail -f /var/log/messages " to monitor the status, it says HylaFAX[582]: Filesystem has sysV-style file creation semantics FaxQueuer[518]: SUBMIT JOB 5 FaxGetty[560]: Answer : Can not lock modem device FaxSend[583]: MODEM ROCKWELL AC/K56/V2.200-V90_2M_DLS FaxSend[583]: SEND FAX : JOB 5 DEST 87654321 COMMID 00000007 FaxQueuer[518]: Notify : bin/notify "doneq/q5" "done" "0:22" FaxQueuer[518]: Bad exit status 041400 for "bin/notify "doneq/q5" "done" "0:22"" FaxGetty[560]: MODEM ROCKWELL AC/K56/V2.200-V90_2M_DLS
# $Id: rockwell,v 1.1.1.1 1998/10/12 20:47:48 root Exp $ # # 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: 86 AreaCode: 20 FAXNumber: "+86 20 81234567" LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules ServerTracing: 1 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: high GettyArgs: "-h %l dx_%s" 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 # 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
Feb 24 09:26:31.06: [ 583]: SESSION BEGIN 00000007 862081234567 Feb 24 09:26:31.06: [ 583]: SEND FAX: JOB 5 DEST 87654321 COMMID 00000007 Feb 24 09:26:31.06: [ 583]: DELAY 2600 ms Feb 24 09:26:33.65: [ 583]: <-- [15:ATE0V1Q0S0=0H0\r] Feb 24 09:26:33.66: [ 583]: --> [2:OK] Feb 24 09:26:33.66: [ 583]: <-- [21:ATS8=2S7=60&K3&D3&C1\r] Feb 24 09:26:33.68: [ 583]: --> [2:OK] Feb 24 09:26:33.68: [ 583]: <-- [12:AT+FCLASS=2\r] Feb 24 09:26:33.69: [ 583]: --> [2:OK] Feb 24 09:26:33.69: [ 583]: <-- [10:AT+FTBC=0\r] Feb 24 09:26:33.70: [ 583]: --> [2:OK] Feb 24 09:26:33.70: [ 583]: <-- [10:AT+FBOR=0\r] Feb 24 09:26:33.71: [ 583]: --> [2:OK] Feb 24 09:26:33.71: [ 583]: <-- [13:AT+FPHCTO=30\r] Feb 24 09:26:33.72: [ 583]: --> [2:OK] Feb 24 09:26:33.72: [ 583]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r] Feb 24 09:26:33.73: [ 583]: --> [2:OK] Feb 24 09:26:33.73: [ 583]: <-- [7:ATL3M1\r] Feb 24 09:26:33.74: [ 583]: --> [2:OK] Feb 24 09:26:33.74: [ 583]: <-- [12:AT+FCLASS=2\r] Feb 24 09:26:33.85: [ 583]: --> [2:OK] Feb 24 09:26:33.85: [ 583]: <-- [10:AT+FTBC=0\r] Feb 24 09:26:33.96: [ 583]: --> [2:OK] Feb 24 09:26:33.96: [ 583]: <-- [10:AT+FBOR=0\r] Feb 24 09:26:34.07: [ 583]: --> [2:OK] Feb 24 09:26:34.07: [ 583]: <-- [13:AT+FPHCTO=30\r] Feb 24 09:26:34.18: [ 583]: --> [2:OK] Feb 24 09:26:34.18: [ 583]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r] Feb 24 09:26:34.29: [ 583]: --> [2:OK] Feb 24 09:26:34.29: [ 583]: <-- [24:AT+FLID="+862081234567"\r] Feb 24 09:26:34.40: [ 583]: --> [2:OK] Feb 24 09:26:34.42: [ 583]: DIAL 87654321 Feb 24 09:26:34.42: [ 583]: <-- [13:ATDT87654321\r] Feb 24 09:26:45.09: [ 583]: --> [5:+FCON] Feb 24 09:26:46.76: [ 583]: --> [22:+FDIS: 1,3,0,2,1,0,0,3] Feb 24 09:26:46.87: [ 583]: --> [2:OK] Feb 24 09:26:46.87: [ 583]: REMOTE best rate 9600 bit/s Feb 24 09:26:46.87: [ 583]: REMOTE max page width 1728 pixels in 215 mm Feb 24 09:26:46.87: [ 583]: REMOTE max unlimited page length Feb 24 09:26:46.87: [ 583]: REMOTE best vres 7.7 line/mm Feb 24 09:26:46.87: [ 583]: REMOTE best format 2-D MR Feb 24 09:26:46.87: [ 583]: REMOTE best 10 ms/scanline Feb 24 09:26:46.87: [ 583]: USE 9600 bit/s Feb 24 09:26:46.87: [ 583]: USE 10 ms/scanline Feb 24 09:26:46.87: [ 583]: <-- [5:ATH0\r] Feb 24 09:26:47.13: [ 583]: --> [9:+FHNG: 20] Feb 24 09:26:47.13: [ 583]: REMOTE HANGUP: Unspecified Transmit Phase B error (code 20) Feb 24 09:26:48.94: [ 583]: --> [2:OK] Feb 24 09:26:48.94: [ 583]: SESSION END