Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
x times the same fax
Hallo,
i have a problem with my Modem and hylafax v4.0p1.
Sometimes my modem sends the same page 3 times in one call
and repeats the call up to five times, but every page sended
looks great without any errors. This appers on several remote
fax devices. And i don't know why. I have added my config file
and a log file. I don't understand the "SEND wait for XON" in
the log file, becuase it looks like soft flow control, but
in the config file i placed "ModemFlowControl: rtscts"
Has anybody any suggestions or hints?
Thanks
Thomas
------------------------------
My system ( uname -a ):
Linux mandarax 2.0.30 #3 Fri Dec 5 18:23:00 MET 1997 i586
My gcc is version 2.7.2.
My modem is a ZyXEL E1496+, the ATI1 output is
"62974 \n\nU1496E V 6.10 P \n\nOK"
This is my modem config file:
# $Id: zyxel-1496e,v 1.31 1996/06/24 02:58:43 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 ZyXEL U1496. Firmware revisions from
# 5.02 on should work, though rev 6.01 works much better.
# Actually, the preferred use is to get firwmare rev 6.13 or
# 6.14 and configure the modem to use Class 2.0; this file
# is kept around for folks with old firmware.
#
# This configuration file sets up the ZyXEL to run at 38.4 for
# both sending and receiving. RTS/CTS flow control is used on
# the tty port--you probably shouldn't use XON/XOFF. Note that
# on an SGI system the getty speed is the following non-standard
# gettydefs entry:
#
# dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400
#
#
CountryCode: 49
AreaCode: 30
FAXNumber: +49.30.23121.611
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules.oetv
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0640
DeviceMode: 0660
RingsBeforeAnswer: 1
SpeakerVolume: high
#GettyArgs: "-h %l dx_%s"
LocalIdentifier: "OeTV-Berlin"
LogFacility: uucp
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l (+49-30-23-121-613)|%c|Page %%p of %%t"
NoCarrierRetrys: 3
MaxRecvPages: 50
UUCPLockTimeout: 10
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
#ModemRate: 38400 # 38.4 works fine
ModemRate: 19200 # 38.4 works fine
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&H0 # disable flow control
ModemHardFlowCmd: AT&H3 # hardware flow control
ModemSoftFlowCmd: AT&H4 # software flow control
ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up
ModemSetupDCDCmd: AT&C1 # DCD tracks carrier
ModemSetupAACmd: AT+FAA=1 # enable in current class
#
ModemSendFillOrder: LSB2MSB # as expected
ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
Class2RecvDataTrigger: "\022" # a la 2388-B
#
# Additional reset commands:
#
# &B1 DTE-DCE rate is fixed at DTE setting
# &N0 Auto-negotiate highest possible DCE-DCE link rate
# &S0 DSR always on
# *F0 Deny remote configuration
# S18=2 Receive at 38400
# S38.3=1 DCD on/off sequence follows UNIX standard; also
# fix receiving baud rate at S18 value
# S39=0 (avoid Class 2 compatibility hacks)
#
#ModemResetCmds: AT&B1&N0&S0*F0S18=2S38.3=1S39=0
ModemResetCmds: AT&B1&N0&S0*F0S18=3S38.3=1S39=0
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer. This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# Unfortunately, ZyXEL's don't seem to detect a busy signal when
# the @ symbol is used to terminate the dialing string. Instead
# calls to a busy line come back with a NO CARRIER status which
# causes us to toss the job. Consequently we fall back to the
# normal method and raise the number of retries on a no carrier
# status. ZyXEL claims that this behaviour is not a bug, but
# rather that we are requesting ``an enhancement'' (never mind
# that their manual says that it should work).
#
ModemDialCmd: ATX3DT%s # no '@' 'cuz then busy not recognized
NoCarrierRetrys: 3 # retry 3 times on no carrier
#
ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
#
# Caller ID configuration setup.
#
#QualifyCID: etc/cid # CID access control list file
#CIDNumber: "CALLER NUMBER: " # pattern string for phone number info
#CIDName: "CALLER NAME: " # pattern string for identity info
#
PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet)
#
# Rev 6.1x firmware have a bug in the ECM support so
# explicitly disable it's use. To re-enable its use just
# comment out the following line.
#
Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"
And i have a session log like this
Dec 15 15:19:50.87: [11591]: SESSION BEGIN 00001101 493023276347
Dec 15 15:19:50.92: [11591]: SEND FAX: JOB 560 DEST 23276347 COMMID 00001101
Dec 15 15:19:50.92: [11591]: DELAY 2600 ms
Dec 15 15:19:53.53: [11591]: <-- [44:AT&B1&N0&S0*F0S18=3S38.3=1S39=0E0V1Q0S0=0H0\r]
Dec 15 15:19:53.76: [11591]: --> [2:OK]
Dec 15 15:19:53.76: [11591]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Dec 15 15:19:53.79: [11591]: --> [2:OK]
Dec 15 15:19:53.79: [11591]: <-- [12:AT+FCLASS=2\r]
Dec 15 15:19:53.81: [11591]: --> [2:OK]
Dec 15 15:19:53.81: [11591]: <-- [10:AT+FTBC=0\r]
Dec 15 15:19:53.83: [11591]: --> [2:OK]
Dec 15 15:19:53.83: [11591]: <-- [10:AT+FBOR=0\r]
Dec 15 15:19:53.85: [11591]: --> [2:OK]
Dec 15 15:19:53.85: [11591]: <-- [13:AT+FPHCTO=30\r]
Dec 15 15:19:53.87: [11591]: --> [5:ERROR]
Dec 15 15:19:53.87: [11591]: MODEM Command error
Dec 15 15:19:53.87: [11591]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Dec 15 15:19:53.90: [11591]: --> [2:OK]
Dec 15 15:19:53.90: [11591]: <-- [7:ATM1L7\r]
Dec 15 15:19:53.92: [11591]: --> [2:OK]
Dec 15 15:19:53.92: [11591]: <-- [12:AT+FCLASS=2\r]
Dec 15 15:19:54.04: [11591]: --> [2:OK]
Dec 15 15:19:54.04: [11591]: <-- [10:AT+FTBC=0\r]
Dec 15 15:19:54.16: [11591]: --> [2:OK]
Dec 15 15:19:54.16: [11591]: <-- [10:AT+FBOR=0\r]
Dec 15 15:19:54.28: [11591]: --> [2:OK]
Dec 15 15:19:54.28: [11591]: <-- [13:AT+FPHCTO=30\r]
Dec 15 15:19:54.40: [11591]: --> [5:ERROR]
Dec 15 15:19:54.40: [11591]: MODEM Command error
Dec 15 15:19:54.40: [11591]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Dec 15 15:19:54.53: [11591]: --> [2:OK]
Dec 15 15:19:54.53: [11591]: <-- [22:AT+FLID="OeTV-Berlin"\r]
Dec 15 15:19:54.66: [11591]: --> [2:OK]
Dec 15 15:19:54.66: [11591]: DIAL 0W23276347
Dec 15 15:19:54.66: [11591]: <-- [17:ATX3DT0W23276347\r]
Dec 15 15:20:11.14: [11591]: --> [5:+FCON]
Dec 15 15:20:11.14: [11591]: --> [18:+FNSF:00 00 00 00 ]
Dec 15 15:20:11.14: [11591]: REMOTE NSF "00 00 00 00"
Dec 15 15:20:11.14: [11591]: --> [27:+FCSI: 49 30 2327 6347 ]
Dec 15 15:20:11.14: [11591]: REMOTE CSI "49 30 2327 6347"
Dec 15 15:20:11.14: [11591]: --> [21:+FDIS:1,3,0,2,1,0,0,4]
Dec 15 15:20:11.14: [11591]: --> [2:OK]
Dec 15 15:20:11.14: [11591]: REMOTE best rate 9600 bit/s
Dec 15 15:20:11.14: [11591]: REMOTE max page width 1728 pixels in 215 mm
Dec 15 15:20:11.14: [11591]: REMOTE max unlimited page length
Dec 15 15:20:11.14: [11591]: REMOTE best vres 7.7 line/mm
Dec 15 15:20:11.14: [11591]: REMOTE best format 2-D MR
Dec 15 15:20:11.14: [11591]: REMOTE best 20 ms, 10 ms/scanline
Dec 15 15:20:11.14: [11591]: USE 9600 bit/s
Dec 15 15:20:11.14: [11591]: USE 20 ms, 10 ms/scanline
Dec 15 15:20:11.14: [11591]: SEND file "docq/doc572.ps;00"
Dec 15 15:20:11.14: [11591]: USE page width 1728 pixels in 215 mm
Dec 15 15:20:11.14: [11591]: USE unlimited page length
Dec 15 15:20:11.14: [11591]: USE 3.85 line/mm
Dec 15 15:20:11.14: [11591]: USE 1-D MR
Dec 15 15:20:11.14: [11591]: <-- [24:AT+FDIS=0,3,0,2,0,0,0,4\r]
Dec 15 15:20:11.27: [11591]: --> [2:OK]
Dec 15 15:20:11.27: [11591]: <-- [7:AT+FDT\r]
Dec 15 15:20:17.13: [11591]: --> [21:+FDCS:0,3,0,2,0,0,0,4]
Dec 15 15:20:17.13: [11591]: --> [7:CONNECT]
Dec 15 15:20:17.13: [11591]: SEND wait for XON
Dec 15 15:20:17.13: [11591]: --> [1:]
Dec 15 15:20:17.13: [11591]: SEND begin page
Dec 15 15:20:17.13: [11591]: <-- data [1034]
Dec 15 15:20:17.13: [11591]: <-- data [1040]
Dec 15 15:20:17.13: [11591]: <-- data [1048]
Dec 15 15:20:17.13: [11591]: <-- data [1040]
Dec 15 15:20:19.13: [11591]: <-- data [1029]
Dec 15 15:20:19.13: [11591]: <-- data [1027]
Dec 15 15:20:19.13: [11591]: <-- data [1029]
Dec 15 15:20:19.13: [11591]: <-- data [1024]
Dec 15 15:20:20.52: [11591]: <-- data [1024]
Dec 15 15:20:22.28: [11591]: <-- data [1025]
Dec 15 15:20:25.52: [11591]: <-- data [1025]
Dec 15 15:20:25.52: [11591]: <-- data [1026]
Dec 15 15:20:27.06: [11591]: <-- data [1025]
Dec 15 15:20:29.54: [11591]: <-- data [1027]
Dec 15 15:20:29.54: [11591]: <-- data [1025]
Dec 15 15:20:31.94: [11591]: <-- data [1025]
Dec 15 15:20:31.94: [11591]: <-- data [1029]
Dec 15 15:20:31.94: [11591]: <-- data [1026]
Dec 15 15:20:33.94: [11591]: <-- data [1026]
Dec 15 15:20:36.30: [11591]: <-- data [1029]
Dec 15 15:20:36.30: [11591]: <-- data [1025]
Dec 15 15:20:36.30: [11591]: <-- data [1027]
Dec 15 15:20:38.62: [11591]: <-- data [1027]
Dec 15 15:20:38.62: [11591]: <-- data [1025]
Dec 15 15:20:40.46: [11591]: <-- data [1026]
Dec 15 15:20:42.85: [11591]: <-- data [1024]
Dec 15 15:20:42.85: [11591]: <-- data [1028]
Dec 15 15:20:42.85: [11591]: <-- data [1026]
Dec 15 15:20:44.71: [11591]: <-- data [1026]
Dec 15 15:20:47.23: [11591]: <-- data [1026]
Dec 15 15:20:47.26: [11591]: <-- data [1028]
Dec 15 15:20:47.26: [11591]: <-- data [1029]
Dec 15 15:20:49.17: [11591]: <-- data [1025]
Dec 15 15:20:51.63: [11591]: <-- data [1025]
Dec 15 15:20:51.63: [11591]: <-- data [1024]
Dec 15 15:20:51.63: [11591]: <-- data [1024]
Dec 15 15:20:54.09: [11591]: <-- data [1025]
Dec 15 15:20:54.09: [11591]: <-- data [803]
Dec 15 15:20:54.09: [11591]: SENT 38690 bytes of data
Dec 15 15:20:54.09: [11591]: <-- data [2]
Dec 15 15:20:54.09: [11591]: SEND end page
Dec 15 15:21:04.70: [11591]: --> [42:]
Dec 15 15:21:04.70: [11591]: --> [2:OK]
Dec 15 15:21:04.70: [11591]: SEND send EOP (no more pages or documents)
Dec 15 15:21:04.70: [11591]: <-- [9:AT+FET=2\r]
Dec 15 15:21:07.65: [11591]: --> [7:+FPTS:2]
Dec 15 15:21:07.65: [11591]: --> [2:OK]
Dec 15 15:21:07.65: [11591]: SEND recv RTN (retrain negative)
Dec 15 15:21:07.65: [11591]: <-- [7:AT+FDT\r]
Dec 15 15:21:13.54: [11591]: --> [21:+FDCS:0,3,0,2,0,0,0,4]
Dec 15 15:21:13.54: [11591]: --> [7:CONNECT]
Dec 15 15:21:13.54: [11591]: SEND wait for XON
Dec 15 15:21:13.54: [11591]: --> [1:]
Dec 15 15:21:13.54: [11591]: SEND begin page
Dec 15 15:21:13.54: [11591]: <-- data [1034]
Dec 15 15:21:13.54: [11591]: <-- data [1040]
Dec 15 15:21:13.54: [11591]: <-- data [1048]
Dec 15 15:21:13.55: [11591]: <-- data [1040]
Dec 15 15:21:15.54: [11591]: <-- data [1029]
Dec 15 15:21:15.54: [11591]: <-- data [1027]
Dec 15 15:21:15.54: [11591]: <-- data [1029]
Dec 15 15:21:15.55: [11591]: <-- data [1024]
Dec 15 15:21:16.95: [11591]: <-- data [1024]
Dec 15 15:21:18.69: [11591]: <-- data [1025]
Dec 15 15:21:21.93: [11591]: <-- data [1025]
Dec 15 15:21:21.93: [11591]: <-- data [1026]
Dec 15 15:21:23.47: [11591]: <-- data [1025]
Dec 15 15:21:25.95: [11591]: <-- data [1027]
Dec 15 15:21:25.95: [11591]: <-- data [1025]
Dec 15 15:21:28.34: [11591]: <-- data [1025]
Dec 15 15:21:28.34: [11591]: <-- data [1029]
Dec 15 15:21:28.35: [11591]: <-- data [1026]
Dec 15 15:21:30.34: [11591]: <-- data [1026]
Dec 15 15:21:32.71: [11591]: <-- data [1029]
Dec 15 15:21:32.71: [11591]: <-- data [1025]
Dec 15 15:21:32.71: [11591]: <-- data [1027]
Dec 15 15:21:35.03: [11591]: <-- data [1027]
Dec 15 15:21:35.03: [11591]: <-- data [1025]
Dec 15 15:21:36.87: [11591]: <-- data [1026]
Dec 15 15:21:39.26: [11591]: <-- data [1024]
Dec 15 15:21:39.26: [11591]: <-- data [1028]
Dec 15 15:21:39.26: [11591]: <-- data [1026]
Dec 15 15:21:41.12: [11591]: <-- data [1026]
Dec 15 15:21:43.64: [11591]: <-- data [1026]
Dec 15 15:21:43.64: [11591]: <-- data [1028]
Dec 15 15:21:43.64: [11591]: <-- data [1029]
Dec 15 15:21:45.58: [11591]: <-- data [1025]
Dec 15 15:21:48.04: [11591]: <-- data [1025]
Dec 15 15:21:48.04: [11591]: <-- data [1024]
Dec 15 15:21:48.04: [11591]: <-- data [1024]
Dec 15 15:21:50.50: [11591]: <-- data [1025]
Dec 15 15:21:50.50: [11591]: <-- data [803]
Dec 15 15:21:50.50: [11591]: SENT 38690 bytes of data
Dec 15 15:21:50.50: [11591]: <-- data [2]
Dec 15 15:21:50.50: [11591]: SEND end page
Dec 15 15:22:01.11: [11591]: --> [42:]
Dec 15 15:22:01.11: [11591]: --> [2:OK]
Dec 15 15:22:01.11: [11591]: SEND send EOP (no more pages or documents)
Dec 15 15:22:01.11: [11591]: <-- [9:AT+FET=2\r]
Dec 15 15:22:04.04: [11591]: --> [7:+FPTS:2]
Dec 15 15:22:04.04: [11591]: --> [2:OK]
Dec 15 15:22:04.04: [11591]: SEND recv RTN (retrain negative)
Dec 15 15:22:04.04: [11591]: <-- [7:AT+FDT\r]
Dec 15 15:22:09.93: [11591]: --> [21:+FDCS:0,3,0,2,0,0,0,4]
Dec 15 15:22:09.93: [11591]: --> [7:CONNECT]
Dec 15 15:22:09.93: [11591]: SEND wait for XON
Dec 15 15:22:09.93: [11591]: --> [1:]
Dec 15 15:22:09.93: [11591]: SEND begin page
Dec 15 15:22:09.94: [11591]: <-- data [1034]
Dec 15 15:22:09.94: [11591]: <-- data [1040]
Dec 15 15:22:09.94: [11591]: <-- data [1048]
Dec 15 15:22:09.94: [11591]: <-- data [1040]
Dec 15 15:22:11.94: [11591]: <-- data [1029]
Dec 15 15:22:11.94: [11591]: <-- data [1027]
Dec 15 15:22:11.94: [11591]: <-- data [1029]
Dec 15 15:22:11.94: [11591]: <-- data [1024]
Dec 15 15:22:13.34: [11591]: <-- data [1024]
Dec 15 15:22:15.08: [11591]: <-- data [1025]
Dec 15 15:22:18.32: [11591]: <-- data [1025]
Dec 15 15:22:18.53: [11591]: <-- data [1026]
Dec 15 15:22:19.86: [11591]: <-- data [1025]
Dec 15 15:22:22.34: [11591]: <-- data [1027]
Dec 15 15:22:22.34: [11591]: <-- data [1025]
Dec 15 15:22:24.73: [11591]: <-- data [1025]
Dec 15 15:22:24.74: [11591]: <-- data [1029]
Dec 15 15:22:24.74: [11591]: <-- data [1026]
Dec 15 15:22:26.74: [11591]: <-- data [1026]
Dec 15 15:22:29.10: [11591]: <-- data [1029]
Dec 15 15:22:29.10: [11591]: <-- data [1025]
Dec 15 15:22:29.10: [11591]: <-- data [1027]
Dec 15 15:22:31.42: [11591]: <-- data [1027]
Dec 15 15:22:31.42: [11591]: <-- data [1025]
Dec 15 15:22:33.26: [11591]: <-- data [1026]
Dec 15 15:22:35.65: [11591]: <-- data [1024]
Dec 15 15:22:35.65: [11591]: <-- data [1028]
Dec 15 15:22:35.65: [11591]: <-- data [1026]
Dec 15 15:22:37.51: [11591]: <-- data [1026]
Dec 15 15:22:37.71: [11591]: <-- data [1026]
Dec 15 15:22:40.03: [11591]: <-- data [1028]
Dec 15 15:22:40.03: [11591]: <-- data [1029]
Dec 15 15:22:41.97: [11591]: <-- data [1025]
Dec 15 15:22:44.43: [11591]: <-- data [1025]
Dec 15 15:22:44.43: [11591]: <-- data [1024]
Dec 15 15:22:44.43: [11591]: <-- data [1024]
Dec 15 15:22:46.89: [11591]: <-- data [1025]
Dec 15 15:22:46.89: [11591]: <-- data [803]
Dec 15 15:22:46.89: [11591]: SENT 38690 bytes of data
Dec 15 15:22:46.89: [11591]: <-- data [2]
Dec 15 15:22:46.89: [11591]: SEND end page
Dec 15 15:22:57.50: [11591]: --> [42:]
Dec 15 15:22:57.50: [11591]: --> [2:OK]
Dec 15 15:22:57.50: [11591]: SEND send EOP (no more pages or documents)
Dec 15 15:22:57.50: [11591]: <-- [9:AT+FET=2\r]
Dec 15 15:23:00.45: [11591]: --> [7:+FPTS:2]
Dec 15 15:23:00.45: [11591]: --> [2:OK]
Dec 15 15:23:00.45: [11591]: SEND recv RTN (retrain negative)
Dec 15 15:23:00.45: [11591]: <-- [6:AT+FK\r]
Dec 15 15:23:00.57: [11591]: --> [2:OK]
Dec 15 15:23:00.57: [11591]: <-- [5:ATH0\r]
Dec 15 15:23:00.88: [11591]: --> [2:OK]
Dec 15 15:23:00.88: [11591]: SESSION END
--
Thomas Beutin
Fon +49-30-444 29 31 Thomas.Beutin@laokoon.IN-Berlin.DE
Fax +49-30-446 41 52 http://laokoon.in-berlin.de/~beutin/