HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Unspecified Phase D error
Lee Howard wrote:
It was already done when that log was taken, also i didint mention
before the version is HylaFAX (tm) Version 4.2.0beta1
/etc/hylafax# grep Class2ECMType *
config.ttyds01:Class2ECMType: 2.0 # follows Class 2.0
spec, not Class 2
config.ttyds02:Class2ECMType: 2.0 # follows Class 2.0
spec, not Class 2
config.ttyds03:Class2ECMType: 2.0 # follows Class 2.0
spec, not Class 2
config.ttyds04:Class2ECMType: 2.0 # follows Class 2.0
spec, not Class 2
Can you please increase ServerTracing to 0xFFF in the modem config
file, restart faxgetty for one of the ports, and then post the
FaxGetty log entries from your server log (/var/log/messages,
probably). This will tell us what's going on as far as this goes.
Thanks.
Lee.
Hello,
Here i post you what i think you asked for and something more, just
in case, many thanks Lee. :)
Pablo Alcubilla
This is what i get in a session file from /var/spool/hylafax/log
Jun 10 13:07:11.71: [ 2473]: SESSION BEGIN 000008793 34916590850
Jun 10 13:07:11.71: [ 2473]: HylaFAX (tm) Version 4.2.0beta1
Jun 10 13:07:11.71: [ 2473]: <-- [4:ATA\r]
Jun 10 13:07:23.85: [ 2473]: --> [5:+FCON]
Jun 10 13:07:23.85: [ 2473]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyds01'
Jun 10 13:07:23.85: [ 2473]: STATE CHANGE: ANSWERING -> RECEIVING
Jun 10 13:07:23.85: [ 2473]: MODEM input buffering enabled
Jun 10 13:07:23.85: [ 2473]: RECV FAX: begin
Jun 10 13:07:23.85: [ 2473]: --> [26:+FTSI: XXXXXXXXX]
Jun 10 13:07:23.85: [ 2473]: REMOTE TSI "XXXXXXXXX"
Jun 10 13:07:23.85: [ 2473]: --> [22:+FDCS: 1,5,0,0,0,0,0,0]
Jun 10 13:07:23.85: [ 2473]: REMOTE wants 14400 bit/s
Jun 10 13:07:23.85: [ 2473]: REMOTE wants A4 page width (215 mm)
Jun 10 13:07:23.85: [ 2473]: REMOTE wants A4 page length (297 mm)
Jun 10 13:07:23.85: [ 2473]: REMOTE wants 7.7 line/mm
Jun 10 13:07:23.85: [ 2473]: REMOTE wants 1-D MH
Jun 10 13:07:23.85: [ 2473]: --> [2:OK]
Jun 10 13:07:23.85: [ 2473]: <-- [7:AT+FDR\r]
Jun 10 13:07:23.95: [ 2473]: --> [5:+FCFR]
Jun 10 13:07:23.95: [ 2473]: --> [22:+FDCS: 1,5,0,0,0,0,0,0]
Jun 10 13:07:23.95: [ 2473]: REMOTE wants 14400 bit/s
Jun 10 13:07:23.95: [ 2473]: REMOTE wants A4 page width (215 mm)
Jun 10 13:07:23.95: [ 2473]: REMOTE wants A4 page length (297 mm)
Jun 10 13:07:23.95: [ 2473]: REMOTE wants 7.7 line/mm
Jun 10 13:07:23.95: [ 2473]: REMOTE wants 1-D MH
Jun 10 13:07:23.95: [ 2473]: --> [7:CONNECT]
Jun 10 13:07:23.95: [ 2473]: RECV: begin page
Jun 10 13:07:23.95: [ 2473]: RECV: send trigger 021
Jun 10 13:07:23.95: [ 2473]: <-- data [1]
Jun 10 13:07:23.95: [ 2473]: Copy quality checking performed by host
Jun 10 13:07:46.84: [ 2473]: RECV: 2155 total lines, 0 bad lines, 0
consecutive bad lines
Jun 10 13:07:46.84: [ 2473]: --> [13:+FPTS: 1,2156]
Jun 10 13:07:46.84: [ 2473]: --> [7:+FET: 0]
Jun 10 13:07:46.84: [ 2473]: RECV recv MPS (more pages, same document)
Jun 10 13:07:46.84: [ 2473]: --> [2:OK]
Jun 10 13:07:46.84: [ 2473]: RECV send MCF (message confirmation)
Jun 10 13:07:46.84: [ 2473]: RECV FAX (000008793): from XXXXXXXXX, page
1 in 0:23, A4, 7.7 line/mm, 1-D MH, 14400 bit/s
Jun 10 13:07:46.84: [ 2473]: <-- [7:AT+FDR\r]
Jun 10 13:07:46.94: [ 2473]: --> [7:CONNECT]
Jun 10 13:07:46.94: [ 2473]: RECV: begin page
Jun 10 13:07:46.94: [ 2473]: RECV: send trigger 021
Jun 10 13:07:46.94: [ 2473]: <-- data [1]
Jun 10 13:07:46.94: [ 2473]: Copy quality checking performed by host
Jun 10 13:08:09.66: [ 2473]: RECV: 0 total lines, 0 bad lines, 0
consecutive bad lines
Jun 10 13:08:09.66: [ 2473]: --> [10:+FPTS: 2,0]
Jun 10 13:08:09.66: [ 2473]: --> [7:+FET: 2]
Jun 10 13:08:09.66: [ 2473]: RECV recv EOP (no more pages or documents)
Jun 10 13:08:09.66: [ 2473]: --> [2:OK]
Jun 10 13:08:09.66: [ 2473]: RECV send RTN (retrain negative)
Jun 10 13:08:09.66: [ 2473]: <-- [10:AT+FPTS=2\r]
Jun 10 13:08:09.76: [ 2473]: --> [2:OK]
Jun 10 13:08:09.76: [ 2473]: <-- [7:AT+FDR\r]
Jun 10 13:08:21.42: [ 2473]: --> [10:+FHNG: 100]
Jun 10 13:08:21.42: [ 2473]: REMOTE HANGUP: Unspecified Phase D error
(code 100)
Jun 10 13:08:21.42: [ 2473]: RECV keeping unconfirmed page
Jun 10 13:08:21.42: [ 2473]: RECV FAX (000008793): from XXXXXXXXX, page
2 in 0:35, A4, 7.7 line/mm, 1-D MH, 14400 bit/s
Jun 10 13:08:21.42: [ 2473]: RECV FAX (000008793):
recvq/fax000001833.tif from XXXXXXXXX, route to <unspecified>, 2 pages
in 0:58
Jun 10 13:08:21.42: [ 2473]: RECV FAX: Unspecified Phase D error
Jun 10 13:08:21.42: [ 2473]: RECV FAX (000008793): session with
XXXXXXXXX terminated abnormally: Unspecified Phase D error
Jun 10 13:08:21.42: [ 2473]: RECV FAX: /usr/local/bin/faxrcvd.XXXXXXXXX
"recvq/fax000001833.tif" "ttyds01" "000008793" "Unspecified Phase D
error" "914024115 DAD: 916590850" "914024115 DAD: 916590850"
Jun 10 13:08:21.42: [ 2473]: RECV FAX: end
Jun 10 13:08:21.42: [ 2473]: SESSION END
--------------------------------------------------------------------------------
The full config file
--------------------------------------------------------------------------------
# $Id: eicon-2,v 1.2 2004/03/05 02:29:32 lhoward Exp $
#
# prototype config file for the Eicon Diva ISDN Modem
#
#
#
CountryCode: 34
AreaCode: ""
FAXNumber: "916590850"
LongDistancePrefix: ""
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: "0xFFFFF"
SessionTracing: "0xFFFFF"
RecvFileMode: 0666
LogFileMode: 0666
DeviceMode: 0666
RingsBeforeAnswer: 3
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "TESTING"
LogFacility: local5
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
QualifyCID: /etc/hylafax/cid
MaxRecvPages: 25
ModemType: Class2
ModemRate: 57600 # on boards supporting V.34-fax,
ModemFlowControl: rtscts
ModemNoFlowCmd: AT&K0
ModemSoftFlowCmd: AT&K4
ModemHardFlowCmd: AT&K3
Class2APQueryCmd: ""
Class2SPLCmd: ""
Class2TBCCmd: ""
Class2ECMType: 2.0 # follows Class 2.0 spec, not Class 2
Class2UseHex: yes
FaxRcvdCmd: "/usr/local/bin/faxrcvd.bitmailer"
RingExtended: "RING "
CIDNumber: "RING CID: "
CIDName: "RING CID: "
ModemResetCmds: AT&F#CID=5\V1S0=2+iQ=a1
Class2Cmd: AT+FCLASS=2 # command to enter class 2
Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct)
Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv
Class2CQCmd: "" # commands to enable copy
quality proc.
Class2AbortCmd: AT+FK # abort session command
Class2CQQueryCmd: AT+FCQ=? # query for copy quality
capabilities
Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities
Class2TBCCmd: AT+FTBC=0 # setup stream mode
Class2CRCmd: AT+FCR=1 # enable capability to receive
Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter
Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing
Class2LIDCmd: AT+FLID # set local identifier command
Class2DCCCmd: AT+FDCC # set modem capabilities command
Class2DISCmd: AT+FDIS # set session parameters command
Class2DDISCmd: "" # disable pre-dial DIS command hack
Class2CIGCmd: AT+FCIG # set polling identifier command
Class2PTSCmd: AT+FPTS # set post-page status command
Class2SPLCmd: AT+FSPL # set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger: "" # character sent to modem to
start recv
Class2XmitWaitForXON: yes # if true, wait for XON before send
--------------------------------------------------------------------------------
And the setup communication log from the local5.* facility
--------------------------------------------------------------------------------
Jun 10 07:07:43 mail1 FaxGetty[20334]: MODEM set baud rate: 57600 baud,
input flow RTS/CTS, output flow RTS/CTS
Jun 10 07:07:43 mail1 FaxGetty[20334]: DELAY 10 ms
Jun 10 07:07:43 mail1 FaxGetty[20334]: MODEM flush i/o
Jun 10 07:07:43 mail1 FaxGetty[20334]: <-- [4:ATZ\r]
Jun 10 07:07:43 mail1 FaxGetty[20334]: --> [3:ATZ]
Jun 10 07:07:43 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:43 mail1 FaxGetty[20334]: DELAY 3000 ms
Jun 10 07:07:46 mail1 FaxGetty[20334]: MODEM flush i/o
Jun 10 07:07:46 mail1 FaxGetty[20334]: <-- [24:AT&F#CID=5\V1S0=2+IQ=A1\r]
Jun 10 07:07:46 mail1 FaxGetty[20334]: --> [23:AT&F#CID=5\V1S0=2+IQ=A1]
Jun 10 07:07:46 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:46 mail1 FaxGetty[20334]: <-- [7:ATS0=0\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [6:ATS0=0]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [5:ATE0\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [4:ATE0]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [5:ATV1\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [5:ATQ0\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [7:ATS8=2\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [8:ATS7=60\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [6:AT&K3\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [12:AT+FCLASS=?\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [5:0,1,2]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: MODEM Supports "Data"
Jun 10 07:07:47 mail1 FaxGetty[20334]: MODEM Supports "Class 1"
Jun 10 07:07:47 mail1 FaxGetty[20334]: MODEM Supports "Class 2"
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [12:AT+FCLASS=2\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [9:AT+FMFR?\r]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [22:Eicon Technology Corp.]
Jun 10 07:07:47 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:47 mail1 FaxGetty[20334]: MODEM: Mfr Eicon Technology Corp.
Jun 10 07:07:47 mail1 FaxGetty[20334]: <-- [9:AT+FMDL?\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [20:DIVA Unix ISDN Modem]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [9:AT+FREV?\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [11:Version 1.0]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM: Model DIVA Unix ISDN Modem
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM: Revision Version 1.0
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [10:AT+FDCC=?\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: -->
[35:(0-7),(0-D),(0-2),(0-2),0,(0-2),0,0]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 3.85 line/mm
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 7.7 line/mm
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 15.4 line/mm
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports R16 x 15.4 line/mm
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 2400 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 4800 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 7200 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 9600 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 12000 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 14400 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 16800 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 19200 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 21600 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 24000 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 26400 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 28800 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 31200 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 33600 bit/s
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports A4 page width (215 mm)
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports B4 page width (255 mm)
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports A3 page width (303 mm)
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports A4 page length
(297 mm)
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports B4 page length
(364 mm)
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports unlimited page length
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 1-D MH
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports no ECM
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports T.30 Annex A,
64-byte ECM
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports T.30 Annex A,
256-byte ECM
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports T.30 Annex C, half
duplex ECM
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports 0 ms/scanline
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [9:AT+FCQ=?\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Supports no copy quality
checking
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [10:AT+FSPL=?\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [5:ERROR]
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [12:AT+FCLASS=2\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [10:AT+FTBC=0\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [5:ERROR]
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Command error
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [10:AT+FBOR=0\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [13:AT+FPHCTO=30\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [5:ERROR]
Jun 10 07:07:48 mail1 FaxGetty[20334]: MODEM Command error
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [10:AT+FBUG=1\r]
Jun 10 07:07:48 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:48 mail1 FaxGetty[20334]: <-- [24:AT+FDCC=7,D,2,2,0,2,0,0\r]
Jun 10 07:07:49 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:49 mail1 FaxGetty[20334]: MODEM EICON TECHNOLOGY CORP. DIVA
Unix ISDN Modem/Version 1.0
Jun 10 07:07:49 mail1 FaxGetty[20334]: <-- [5:ATM0\r]
Jun 10 07:07:49 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:49 mail1 FaxGetty[20334]: <-- [10:AT+FREL=1\r]
Jun 10 07:07:49 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:49 mail1 FaxGetty[20334]: <-- [9:AT+FCR=1\r]
Jun 10 07:07:49 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:49 mail1 FaxGetty[20334]: <-- [20:AT+FLID="DANOSA E1"\r]
Jun 10 07:07:49 mail1 FaxGetty[20334]: --> [2:OK]
Jun 10 07:07:49 mail1 FaxGetty[20334]: STATE CHANGE: ANSWERING ->
RUNNING (timeout 30)
Jun 10 07:07:49 mail1 FaxGetty[20334]: MODEM input buffering disabled
--------------------------------------------------------------------------------
____________________ 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*