HylaFAX The world's most advanced open source fax server

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

Unspecified Receive Phase B error (code 70)



Hi folks,

I'm using a hylafax 4.0pl2 under linux 2.0.35.

I created a link /dev/faxmodem -> /dev/cua1 to my modem.

When starting the system, syslog reports :
---------- snip ----------------
Dec  7 12:57:55 router FaxQueuer[305]: HylaFAX (tm) Version 4.0pl2
Dec  7 12:57:55 router FaxQueuer[305]: Copyright (c) 1990-1996 Sam Leffler
Dec  7 12:57:55 router FaxQueuer[305]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.
Dec  7 12:57:56 router HylaFAX[307]: HylaFAX INET Protocol Server:
restarted.
Dec  7 12:57:56 router HylaFAX[307]: HylaFAX Old Protocol Server:
restarted.
Dec  7 12:57:56 router HylaFAX[307]: HylaFAX SNPP Protocol Server:
restarted.
Dec  7 12:58:01 router FaxGetty[320]: OPEN /dev/faxmodem
Dec  7 12:58:08 router FaxGetty[320]: MODEM ROCKWELL RC32ACL/V1.600-DS29F
Dec  7 12:58:15 router FaxGetty[320]: ANSWER: Can not lock modem device
                                 ???? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
????
Dec  7 12:58:19 router FaxSend[330]: MODEM ROCKWELL RC32ACL/V1.600-DS29F
---------- snip ----------------

Everything works fine ... especially sending a fax !

log/c000???? reports :
---------- snip ----------------
Dec 07 12:58:19.84: [  330]: SESSION BEGIN 00000002 4952114
Dec 07 12:58:19.84: [  330]: SEND FAX: JOB 1 DEST 14 COMMID 00000002
...
Dec 07 12:59:02.26: [  330]: SEND recv MCF (message confirmation)
Dec 07 12:59:02.26: [  330]: SEND FAX (00000002): FROM root@router TO 14
(page 1 of 1 sent in 0:19)
Dec 07 12:59:02.26: [  330]: SEND FAX (00000002): FROM root@router TO 14
(docq/doc1.ps;00 sent in 0:19)
Dec 07 12:59:02.26: [  330]: <-- [5:ATH0\r]
Dec 07 12:59:03.96: [  330]: --> [8:+FHNG: 0]
Dec 07 12:59:03.96: [  330]: REMOTE HANGUP: Normal and proper end of
connection (code 0)
Dec 07 12:59:04.98: [  330]: --> [2:OK]
Dec 07 12:59:04.98: [  330]: SESSION END
---------- snip ----------------

BUT - I'm not able to receive a fax....

log/c000???? reports :
---------- snip ----------------
Dec 07 16:18:03.30: [  320]: SESSION BEGIN 00000007 49521433902
Dec 07 16:18:03.30: [  320]: <-- [4:ATA\r]
Dec 07 16:18:12.41: [  320]: --> [3:FAX]
Dec 07 16:18:18.37: [  320]: --> [5:+FCON]
Dec 07 16:18:18.37: [  320]: ANSWER: FAX CONNECTION
Dec 07 16:18:18.37: [  320]: RECV FAX: begin
Dec 07 16:21:18.37: [  320]: REMOTE HANGUP: Unspecified Receive Phase B
error (code 70)
                                           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ????
Dec 07 16:21:18.37: [  320]: RECV FAX: Unspecified Receive Phase B error
Dec 07 16:21:18.37: [  320]: RECV FAX: end
Dec 07 16:21:18.37: [  320]: SESSION END
---------- snip ----------------

What have I to do, to get reveiving a fax working ???
Here's my config :

etc/config.faxmodem
---------- snip ----------------
CountryCode:		49
AreaCode:		521
FAXNumber:		+49.521.43390.2
LongDistancePrefix:	00
InternationalPrefix:	000
DialStringRules:	"etc/dialrules"
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-r -b -s %s %l"
LocalIdentifier:	"wrs datentechnik"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"Von %%l|%c|Seite %%p von %%t"
MaxRecvPages:		250
ModemType:		Class2		# use class 2 interface
ModemRate:		38400
ModemFlowControl:	rtscts		# default
ModemWaitForConnect:	yes		# wait for CONNECT on answer
#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&D2		# DTR off causes modem to reset
ModemSetupDCDCmd:	AT&C1		# DCD follows carrier
ModemSetupAACmd:	AT+FCLASS=0;+FAA=1 # enable in class 0
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
Class2RecvDataTrigger:	"\022"		# a la 2388-B
---------- snip ----------------


---
Sent through Global Message Exchange - http://www.gmx.net




Project hosted by iFAX Solutions