HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Send fax problem (copy 2 or 3 times)



I install hylafax-server on debian, i already install the latest version hylafax-server from "apt-get install" source.
So, kernel version: 2.6.18-4-686; Debian version: 4.0; HylaFAX-Client version: 4.3.1-7; ; HylaFAX-Server version: 4.3.1-7


So, this problem already happen several times..
1st.. i got report from my friend at office that he tried send fax to other fax number at office (we have 2 fax machine) and the fax is copied 3 times.. then i tried cleaning HylaFAX use this commands:
/etc/init.d/hylafax stop
cd /var/spool/hylafax/
rm archive/* docq/* log/* recvq/* sendq/* tmp/*
/etc/init.d/hylafax start


then the problem is gone...

but after few days.. the problem happen again, the fax copy 3 times.. i worry those client that we sent the fax will angry to us.

faxserver:/etc/hylafax# cat config
LogFacility:            daemon
CountryCode:            62
AreaCode:               21
LongDistancePrefix:     0
InternationalPrefix:    001
DialStringRules:        etc/dialrules
ServerTracing:          1

faxserver:/etc/hylafax# cat /etc/hylafax/config.sav
#ContCoverPage:         "etc/cover.templ"
#DestControls:          "etc/destctrls"
#DialStringRules:       "etc/dialrules"
#QualifyCID:            "etc/cid"
#QualifyTSI:            "etc/tsi"
#ServerTracing:         0x08501
InternationalPrefix:    00

faxserver:/etc/hylafax# cat /etc/hylafax/config.ttyS0
CountryCode: 62
AreaCode: 21
FAXNumber: +62.21.63858428
LongDistancePrefix: 0
InternationalPrefix: 001
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0666
RingsBeforeAnswer: 0
SpeakerVolume: high
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Global AyoWisata"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxConsecutiveBadLines: 3
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: 19200 # 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)
#
ModemMfrQueryCmd: !Rockwell
ModemModelQueryCmd: !RC288DPi
ModemRevQueryCmd: ATI3 # product information
#
ModemDialCmd: ATDT%s # T for tone dialing



So, i tried send a page (read: 1 page) with fax, but the receiver get 2 same page :-(


I found this at:
/var/spool/hylafax/log/c000000171
Sep 06 12:21:52.63: [21789]: SESSION BEGIN 000000166 622163858427
Sep 06 12:21:52.63: [21789]: HylaFAX (tm) Version 4.3.1
Sep 06 12:21:52.63: [21789]: SEND FAX: JOB 126 DEST 63858427 COMMID 000000166 DEVICE '/dev/ttyS0' FROM 'yudi <yudiw@xxxxxxxxxxxxxx>' USER yudi
Sep 06 12:21:52.63: [21789]: <-- [12:AT+FCLASS=1\r]
Sep 06 12:21:52.65: [21789]: --> [2:OK]
Sep 06 12:21:52.65: [21789]: DIAL 63858427
Sep 06 12:21:52.65: [21789]: <-- [13:ATDT63858427\r]
Sep 06 12:22:14.81: [21789]: --> [7:CONNECT]
Sep 06 12:22:16.76: [21789]: --> [2:OK]
Sep 06 12:22:16.77: [21789]: REMOTE NSF "00 00 0E 00 00 00 96 0F 01 03 00 10 05 02 95 C8 08 01 49 02 47 4C 4F 42 41 4C 20 54 4F 55 52 2F 4A 41 4B 41 03"
Sep 06 12:22:16.77: [21789]: NSF remote fax equipment: Panasonic KX-F230/KX-FT21
Sep 06 12:22:16.77: [21789]: NSF remote station ID: "GLOBAL TOUR/JAKA"
Sep 06 12:22:16.77: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:22:16.78: [21789]: --> [7:CONNECT]
Sep 06 12:22:17.52: [21789]: --> [2:OK]
Sep 06 12:22:17.52: [21789]: REMOTE CSI "62 21 63858427"
Sep 06 12:22:17.52: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:22:17.53: [21789]: --> [7:CONNECT]
Sep 06 12:22:17.88: [21789]: --> [2:OK]
Sep 06 12:22:17.89: [21789]: REMOTE best rate 9600 bit/s
Sep 06 12:22:17.89: [21789]: REMOTE max A4 page width (215 mm)
Sep 06 12:22:17.89: [21789]: REMOTE max unlimited page length
Sep 06 12:22:17.89: [21789]: REMOTE best vres 15.4 line/mm
Sep 06 12:22:17.89: [21789]: REMOTE format support: MH, MR
Sep 06 12:22:17.89: [21789]: REMOTE best 20 ms, 10 ms/scanline
Sep 06 12:22:17.89: [21789]: USE 9600 bit/s
Sep 06 12:22:17.89: [21789]: SEND file "docq/doc126.ps;41"
Sep 06 12:22:17.89: [21789]: USE A4 page width (215 mm)
Sep 06 12:22:17.89: [21789]: USE unlimited page length
Sep 06 12:22:17.89: [21789]: USE 7.7 line/mm
Sep 06 12:22:17.89: [21789]: USE 2-D MR
Sep 06 12:22:17.89: [21789]: USE 10 ms/scanline
Sep 06 12:22:17.89: [21789]: SEND training at v.29 9600 bit/s
Sep 06 12:22:17.89: [21789]: <-- [9:AT+FRS=7\r]
Sep 06 12:22:18.01: [21789]: --> [2:OK]
Sep 06 12:22:18.01: [21789]: <-- [9:AT+FTH=3\r]
Sep 06 12:22:18.05: [21789]: --> [7:CONNECT]
Sep 06 12:22:18.05: [21789]: <-- data [23]
Sep 06 12:22:18.05: [21789]: <-- data [2]
Sep 06 12:22:19.84: [21789]: --> [7:CONNECT]
Sep 06 12:22:19.84: [21789]: <-- data [6]
Sep 06 12:22:19.84: [21789]: <-- data [2]
Sep 06 12:22:20.25: [21789]: --> [2:OK]
Sep 06 12:22:20.25: [21789]: <-- [9:AT+FTS=7\r]
Sep 06 12:22:20.34: [21789]: --> [2:OK]
Sep 06 12:22:20.34: [21789]: <-- [10:AT+FTM=96\r]
Sep 06 12:22:20.38: [21789]: --> [7:CONNECT]
Sep 06 12:22:20.38: [21789]: <-- data [1024]
Sep 06 12:22:20.38: [21789]: <-- data [776]
Sep 06 12:22:20.38: [21789]: <-- data [2]
Sep 06 12:22:22.33: [21789]: --> [2:OK]
Sep 06 12:22:22.33: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:22:23.59: [21789]: --> [7:CONNECT]
Sep 06 12:22:24.59: [21789]: --> [2:OK]
Sep 06 12:22:24.59: [21789]: TRAINING succeeded
Sep 06 12:22:24.59: [21789]: <-- [9:AT+FRS=7\r]
Sep 06 12:22:24.70: [21789]: --> [2:OK]
Sep 06 12:22:24.70: [21789]: <-- [10:AT+FTM=96\r]
Sep 06 12:22:24.74: [21789]: --> [7:CONNECT]
Sep 06 12:22:24.74: [21789]: SEND begin page
Sep 06 12:22:24.74: [21789]: <-- data [74]
Sep 06 12:22:24.74: [21789]: SENT 74 bytes of data
Sep 06 12:22:24.74: [21789]: <-- data [54]
Sep 06 12:22:24.74: [21789]: SENT 53 bytes of data
Sep 06 12:22:24.74: [21789]: <-- data [46]
Sep 06 12:22:24.74: [21789]: SENT 46 bytes of data
Sep 06 12:22:24.74: [21789]: <-- data [47]
Sep 06 12:22:24.74: [21789]: SENT 47 bytes of data
Sep 06 12:22:24.74: [21789]: <-- data [81]
Sep 06 12:22:24.74: [21789]: SENT 81 bytes of data
Sep 06 12:22:24.74: [21789]: <-- data [66]
--cut--
Sep 06 12:24:00.71: [21789]: SENT 72 bytes of data
Sep 06 12:24:00.72: [21789]: <-- data [72]
Sep 06 12:24:00.72: [21789]: SENT 72 bytes of data
Sep 06 12:24:00.72: [21789]: <-- data [72]
Sep 06 12:24:00.72: [21789]: SENT 72 bytes of data
Sep 06 12:24:00.72: [21789]: <-- data [72]
Sep 06 12:24:01.63: [21789]: SENT 72 bytes of data
Sep 06 12:24:01.63: [21789]: <-- data [72]
Sep 06 12:24:01.63: [21789]: SENT 72 bytes of data
Sep 06 12:24:01.63: [21789]: <-- data [48]
Sep 06 12:24:01.63: [21789]: SENT 48 bytes of data
Sep 06 12:24:01.63: [21789]: SEND 2D RTC
Sep 06 12:24:01.63: [21789]: <-- data [30]
Sep 06 12:24:01.63: [21789]: <-- data [2]
Sep 06 12:24:01.63: [21789]: SEND end page
Sep 06 12:24:04.97: [21789]: --> [2:OK]
Sep 06 12:24:04.97: [21789]: <-- [9:AT+FTS=9\r]
Sep 06 12:24:05.08: [21789]: --> [2:OK]
Sep 06 12:24:05.08: [21789]: SEND send EOP (no more pages or documents)
Sep 06 12:24:05.08: [21789]: <-- [9:AT+FTH=3\r]
Sep 06 12:24:05.12: [21789]: --> [7:CONNECT]
Sep 06 12:24:05.12: [21789]: <-- data [3]
Sep 06 12:24:05.12: [21789]: <-- data [2]
Sep 06 12:24:06.41: [21789]: --> [2:OK]
Sep 06 12:24:06.41: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:24:07.18: [21789]: --> [7:CONNECT]
Sep 06 12:24:08.21: [21789]: --> [2:OK]
Sep 06 12:24:08.21: [21789]: SEND recv RTN (retrain negative)
Sep 06 12:24:08.21: [21789]: SEND training at v.29 7200 bit/s
Sep 06 12:24:08.21: [21789]: <-- [9:AT+FRS=7\r]
Sep 06 12:24:08.32: [21789]: --> [2:OK]
Sep 06 12:24:08.32: [21789]: <-- [9:AT+FTH=3\r]
Sep 06 12:24:08.36: [21789]: --> [7:CONNECT]
Sep 06 12:24:08.36: [21789]: <-- data [23]
Sep 06 12:24:08.36: [21789]: <-- data [2]
Sep 06 12:24:10.14: [21789]: --> [7:CONNECT]
Sep 06 12:24:10.14: [21789]: <-- data [6]
Sep 06 12:24:10.14: [21789]: <-- data [2]
Sep 06 12:24:10.56: [21789]: --> [2:OK]
Sep 06 12:24:10.56: [21789]: <-- [9:AT+FTS=7\r]
Sep 06 12:24:10.65: [21789]: --> [2:OK]
Sep 06 12:24:10.65: [21789]: <-- [10:AT+FTM=72\r]
Sep 06 12:24:10.69: [21789]: --> [7:CONNECT]
Sep 06 12:24:10.69: [21789]: <-- data [1024]
Sep 06 12:24:10.69: [21789]: <-- data [326]
Sep 06 12:24:10.69: [21789]: <-- data [2]
Sep 06 12:24:12.65: [21789]: --> [2:OK]
Sep 06 12:24:12.65: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:24:13.90: [21789]: --> [7:CONNECT]
Sep 06 12:24:14.90: [21789]: --> [2:OK]
Sep 06 12:24:14.90: [21789]: TRAINING succeeded
Sep 06 12:24:14.90: [21789]: <-- [9:AT+FRS=7\r]
Sep 06 12:24:15.01: [21789]: --> [2:OK]
Sep 06 12:24:15.01: [21789]: <-- [10:AT+FTM=72\r]
Sep 06 12:24:15.05: [21789]: --> [7:CONNECT]
Sep 06 12:24:15.05: [21789]: SEND begin page
Sep 06 12:24:15.06: [21789]: <-- data [56]
Sep 06 12:24:15.06: [21789]: SENT 56 bytes of data
Sep 06 12:24:15.06: [21789]: <-- data [51]
Sep 06 12:24:15.06: [21789]: SENT 50 bytes of data
Sep 06 12:24:15.06: [21789]: <-- data [46]
Sep 06 12:24:15.06: [21789]: SENT 46 bytes of data
Sep 06 12:24:15.06: [21789]: <-- data [47]
Sep 06 12:24:15.06: [21789]: SENT 47 bytes of data
Sep 06 12:24:15.06: [21789]: <-- data [42]
Sep 06 12:24:15.06: [21789]: SENT 42 bytes of data
Sep 06 12:24:15.06: [21789]: <-- data [39]
--cut--
Sep 06 12:26:20.89: [21789]: SENT 54 bytes of data
Sep 06 12:26:20.89: [21789]: <-- data [54]
Sep 06 12:26:20.89: [21789]: SENT 54 bytes of data
Sep 06 12:26:20.89: [21789]: <-- data [54]
Sep 06 12:26:20.89: [21789]: SENT 54 bytes of data
Sep 06 12:26:20.89: [21789]: <-- data [54]
Sep 06 12:26:20.89: [21789]: SENT 54 bytes of data
Sep 06 12:26:20.89: [21789]: <-- data [54]
Sep 06 12:26:20.89: [21789]: SENT 54 bytes of data
Sep 06 12:26:20.90: [21789]: <-- data [45]
Sep 06 12:26:21.74: [21789]: SENT 45 bytes of data
Sep 06 12:26:21.74: [21789]: SEND 2D RTC
Sep 06 12:26:21.74: [21789]: <-- data [30]
Sep 06 12:26:21.74: [21789]: <-- data [2]
Sep 06 12:26:21.75: [21789]: SEND end page
Sep 06 12:26:26.42: [21789]: --> [2:OK]
Sep 06 12:26:26.42: [21789]: <-- [9:AT+FTS=9\r]
Sep 06 12:26:26.53: [21789]: --> [2:OK]
Sep 06 12:26:26.53: [21789]: SEND send EOP (no more pages or documents)
Sep 06 12:26:26.53: [21789]: <-- [9:AT+FTH=3\r]
Sep 06 12:26:26.57: [21789]: --> [7:CONNECT]
Sep 06 12:26:26.57: [21789]: <-- data [3]
Sep 06 12:26:26.57: [21789]: <-- data [2]
Sep 06 12:26:27.86: [21789]: --> [2:OK]
Sep 06 12:26:27.86: [21789]: <-- [9:AT+FRH=3\r]
Sep 06 12:26:28.68: [21789]: --> [7:CONNECT]
Sep 06 12:26:29.67: [21789]: --> [2:OK]
Sep 06 12:26:29.67: [21789]: SEND recv MCF (message confirmation)
Sep 06 12:26:29.68: [21789]: SEND FAX (000000166): FROM yudiw@xxxxxxxxxxxxxx TO 63858427 (page 1 of 1 sent in 4:12)
Sep 06 12:26:29.68: [21789]: <-- [9:AT+FRS=7\r]
Sep 06 12:26:29.78: [21789]: --> [2:OK]
Sep 06 12:26:29.79: [21789]: SEND FAX (000000166): FROM yudiw@xxxxxxxxxxxxxx TO 63858427 (docq/doc126.ps;41 sent in 4:12)
Sep 06 12:26:30.68: [21789]: <-- [9:AT+FTH=3\r]
Sep 06 12:26:30.72: [21789]: --> [7:CONNECT]
Sep 06 12:26:30.72: [21789]: <-- data [3]
Sep 06 12:26:30.72: [21789]: <-- data [2]
Sep 06 12:26:32.02: [21789]: --> [2:OK]
Sep 06 12:26:32.02: [21789]: <-- [5:ATH0\r]
Sep 06 12:26:32.93: [21789]: --> [2:OK]
Sep 06 12:26:32.93: [21789]: SESSION END




and i want to ask you other problem :)
My friend tried send fax, but i found this error in log...
well, in windows he use WinprintHylaFAX and it return Fax Queue with number..
is this mean he fail send the fax?


faxserver:/etc/hylafax# cat /var/spool/hylafax/log/c000000171
Sep 06 12:52:08.05: [22145]: SESSION BEGIN 000000171 62215399372
Sep 06 12:52:08.05: [22145]: HylaFAX (tm) Version 4.3.1
Sep 06 12:52:08.05: [22145]: SEND FAX: JOB 128 DEST 5399372 COMMID 000000171 DEVICE '/dev/ttyS0' FROM 'sales01 <agung@xxxxxxxxxxxxx>' USER sales01
Sep 06 12:52:08.05: [22145]: <-- [12:AT+FCLASS=1\r]
Sep 06 12:52:08.07: [22145]: --> [2:OK]
Sep 06 12:52:08.07: [22145]: DIAL 5399372
Sep 06 12:52:08.07: [22145]: <-- [12:ATDT5399372\r]
Sep 06 12:53:12.80: [22145]: --> [10:NO CARRIER]
Sep 06 12:53:12.80: [22145]: SEND FAILED: JOB 128 DEST 5399372 ERR No carrier detected
Sep 06 12:53:12.80: [22145]: <-- [5:ATH0\r]
Sep 06 12:53:12.81: [22145]: --> [2:OK]
Sep 06 12:53:12.81: [22145]: SESSION END




thanks for your help :)
Yudi


____________________ 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