HylaFAX The world's most advanced open source fax server

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

[hylafax-users] REMOTE HANGUP: Unspecified Transmit Phase C error (code 40)



Hello,

i have the following problem with an "old" Modem runnning hylafax 4.2.1 (debian_sarge):

> REMOTE HANGUP: Unspecified Transmit Phase C error (code 40)

The error occurs not every fax, but sometimes.
Googleling arround there are very old postings vom 1997 oder 1999 dealing
with the Class2DDISCmd to set. But to set to what ?

Here is my config generated by faxaddmodem:
--
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2          # use class 2 interface
ModemRate:              19200           # fax send&recv is locked at 19.2
ModemFlowControl:       xonxoff         # default
#
ModemSoftFlowCmd:       AT&S1\G0\Q4\X1  # software flow control
ModemSetupDTRCmd:       AT&D2           # DTR off causes modem to reset
ModemSetupDCDCmd:       AT&C1           # DCD follows carrier
ModemSetupAACmd:        AT+FAA=1        # enable in current class
#
ModemSendFillOrder:     LSB2MSB         # as expected
ModemRecvFillOrder:     MSB2LSB         # opposite of what makes sense
#
ModemDialCmd:           ATDT%s          # T for tone dialing
#
ModemWaitForConnect:    yes             # wait for CONNECT on answer
#
Class2RecvDataTrigger:  "\022"          # DC2
Class2DDISCmd:          AT+FDIS         # set parameter before dialing
--

I already set it to Class2DDISCmd: "" but nothing helped - there are still
problem with some fax machines.
Here is the latest logfile:
--
Jun 30 12:43:19.49: [ 5478]: SESSION BEGIN 000000060 4958268392
Jun 30 12:43:19.49: [ 5478]: HylaFAX (tm) Version 4.2.1
Jun 30 12:43:19.49: [ 5478]: SEND FAX: JOB 14 DEST 058268392 COMMID 000000060 DEVICE '/dev/ttyS0'
Jun 30 12:43:19.49: [ 5478]: <-- [10:AT+FTBC=0\r]
Jun 30 12:43:19.82: [ 5478]: --> [5:ERROR]
Jun 30 12:43:19.82: [ 5478]: MODEM Command error
Jun 30 12:43:19.82: [ 5478]: <-- [10:AT+FBOR=0\r]
Jun 30 12:43:20.15: [ 5478]: --> [2:OK]
Jun 30 12:43:20.15: [ 5478]: <-- [13:AT+FPHCTO=30\r]
Jun 30 12:43:20.49: [ 5478]: --> [5:ERROR]
Jun 30 12:43:20.49: [ 5478]: MODEM Command error
Jun 30 12:43:20.49: [ 5478]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r]
Jun 30 12:43:20.82: [ 5478]: --> [2:OK]
Jun 30 12:43:20.82: [ 5478]: <-- [40:AT+FDIS=1,3,0,2,0,0,0,4=0,5,0,2,2,0,0,0\r]
Jun 30 12:43:21.17: [ 5478]: --> [2:OK]
Jun 30 12:43:21.17: [ 5478]: DIAL 058268392
Jun 30 12:43:21.17: [ 5478]: <-- [14:ATDT058268392\r]
Jun 30 12:43:37.07: [ 5478]: --> [3:CED]
Jun 30 12:43:43.22: [ 5478]: --> [5:+FCON]
Jun 30 12:43:43.22: [ 5478]: --> [112:+FNSF: 00 00 31 00 CE B8 80 80 11 85 0D DD 00 00 DD DD 00 00 DD DD 00 00 00 00 00 00 00 00 ED 22 B0 00 00 90 00 ]
Jun 30 12:43:43.22: [ 5478]: REMOTE NSF " 00 00 31 00 CE B8 80 80 11 85 0D DD 00 00 DD DD 00 00 DD DD 00 00 00 00 00 00 00 00 ED 22 B0 00 00 90 00"
Jun 30 12:43:43.22: [ 5478]: NSF remote fax equipment: Sharp/Olivetti Sharp UX-460
Jun 30 12:43:43.37: [ 5478]: --> [29:+FCSI: " +49 5826 8392"]
Jun 30 12:43:43.37: [ 5478]: REMOTE CSI "+49 5826 8392"
Jun 30 12:43:43.37: [ 5478]: --> [22:+FDIS: 1,3,0,2,0,0,0,4]
Jun 30 12:43:43.37: [ 5478]: --> [2:OK]
Jun 30 12:43:43.37: [ 5478]: REMOTE best rate 9600 bit/s
Jun 30 12:43:43.37: [ 5478]: REMOTE max A4 page width (215 mm)
Jun 30 12:43:43.37: [ 5478]: REMOTE max unlimited page length
Jun 30 12:43:43.37: [ 5478]: REMOTE best vres 7.7 line/mm
Jun 30 12:43:43.37: [ 5478]: REMOTE best format 1-D MH
Jun 30 12:43:43.37: [ 5478]: REMOTE best 20 ms, 10 ms/scanline
Jun 30 12:43:43.37: [ 5478]: USE 9600 bit/s
Jun 30 12:43:43.37: [ 5478]: USE 20 ms, 10 ms/scanline
Jun 30 12:43:43.37: [ 5478]: SEND file "docq/doc14.ps;40"
Jun 30 12:43:43.37: [ 5478]: USE A4 page width (215 mm)
Jun 30 12:43:43.37: [ 5478]: USE unlimited page length
Jun 30 12:43:43.37: [ 5478]: USE 3.85 line/mm
Jun 30 12:43:43.37: [ 5478]: USE 1-D MH
Jun 30 12:43:43.37: [ 5478]: <-- [24:AT+FDIS=0,3,0,2,0,0,0,4\r]
Jun 30 12:43:44.73: [ 5478]: --> [9:+FHNG: 40]
Jun 30 12:43:44.73: [ 5478]: REMOTE HANGUP: Unspecified Transmit Phase C error (code 40)
Jun 30 12:43:44.73: [ 5478]: MODEM Hang up
Jun 30 12:43:44.73: [ 5478]: <-- [5:ATH0\r]
Jun 30 12:43:44.73: [ 5478]: --> [2:OK]
Jun 30 12:43:44.74: [ 5478]: SESSION END
--


Doens anybody has a clue ?
Does anybody know what to fill in after:
Class2DDISCmd ?

In http://www.hylafax.org/content/Handbook:Advanced_Server_Configuration:Modem_Parameter_Usage_for_Outbound_Calls
I can read that the command must be set, and if not set it is a problem, but I cannot find any solution to
what command I should set it. faxaddmodem autoconfigures ist to AT+FDIS, but as the log says, there ist
eh +FHNG: 40 Error returning.
Does this returns from MY modem of from the remote fax machine ?
When I disable Class2DDISCmd with "" and restart hylafax, then the modem does not start to dial, so i think
my modem need this command.

Any help out there ?

The modem is an old: EXAR, Rockwell, Class2 .... very common I think and it runs normally ...

Regards,
Bernd


____________________ 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