HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Document was encoded with 2DMR, but modem does not support this data format
I have been using Hylafax on and off (after fixing the Phase B error
for my Sporster 56K modem) for a while (outgoing only)... Today, I tried
to send a FAX and it failed with the error:
Document was encoded with 2DMR, but modem does not support this data format
I have sent FAXes to that machine before from Hylafax and I didn't have
any problem. Why is there a problem now?
BTW, I am using Hylafax v4.0pl1 on Solaris 2.6 (the binary version
from SGI's ftp site for hylafax-sparc-sunos5.5-v4.0pl1-pkg)...
Here is the complete fax log transcript:
Jul 20 11:28:32.38: [ 9599]: SESSION BEGIN 00000045 19494435354
Jul 20 11:28:32.39: [ 9599]: SEND FAX: JOB 22 DEST 4435354 COMMID 00000045
Jul 20 11:28:32.40: [ 9599]: DELAY 2600 ms
Jul 20 11:28:35.02: [ 9599]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Jul 20 11:28:35.16: [ 9599]: --> [16:ATE0V1Q0X4S0=0H0]
Jul 20 11:28:35.16: [ 9599]: --> [2:OK]
Jul 20 11:28:35.16: [ 9599]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Jul 20 11:28:35.31: [ 9599]: --> [2:OK]
Jul 20 11:28:35.31: [ 9599]: <-- [14:AT+FCLASS=2.0\r]
Jul 20 11:28:35.45: [ 9599]: --> [2:OK]
Jul 20 11:28:35.45: [ 9599]: <-- [9:AT+FLO=2\r]
Jul 20 11:28:35.59: [ 9599]: --> [2:OK]
Jul 20 11:28:35.59: [ 9599]: <-- [9:AT+FPP=0\r]
Jul 20 11:28:35.73: [ 9599]: --> [2:OK]
Jul 20 11:28:35.73: [ 9599]: <-- [9:AT+FBO=0\r]
Jul 20 11:28:35.87: [ 9599]: --> [2:OK]
Jul 20 11:28:35.87: [ 9599]: <-- [10:AT+FCT=30\r]
Jul 20 11:28:36.01: [ 9599]: --> [2:OK]
Jul 20 11:28:36.01: [ 9599]: <-- [15:AT+FNR=1,1,1,0\r]
Jul 20 11:28:36.15: [ 9599]: --> [2:OK]
Jul 20 11:28:36.15: [ 9599]: <-- [9:AT+FIE=0\r]
Jul 20 11:28:36.29: [ 9599]: --> [2:OK]
Jul 20 11:28:36.29: [ 9599]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jul 20 11:28:36.43: [ 9599]: --> [2:OK]
Jul 20 11:28:36.43: [ 9599]: <-- [5:ATM0\r]
Jul 20 11:28:36.57: [ 9599]: --> [2:OK]
Jul 20 11:28:36.59: [ 9599]: <-- [14:AT+FCLASS=2.0\r]
Jul 20 11:28:36.83: [ 9599]: --> [2:OK]
Jul 20 11:28:36.83: [ 9599]: <-- [9:AT+FLO=2\r]
Jul 20 11:28:37.07: [ 9599]: --> [2:OK]
Jul 20 11:28:37.07: [ 9599]: <-- [9:AT+FPP=0\r]
Jul 20 11:28:37.31: [ 9599]: --> [2:OK]
Jul 20 11:28:37.31: [ 9599]: <-- [9:AT+FBO=0\r]
Jul 20 11:28:37.55: [ 9599]: --> [2:OK]
Jul 20 11:28:37.55: [ 9599]: <-- [10:AT+FCT=30\r]
Jul 20 11:28:37.79: [ 9599]: --> [2:OK]
Jul 20 11:28:37.79: [ 9599]: <-- [15:AT+FNR=1,1,1,0\r]
Jul 20 11:28:38.04: [ 9599]: --> [2:OK]
Jul 20 11:28:38.04: [ 9599]: <-- [9:AT+FIE=0\r]
Jul 20 11:28:38.28: [ 9599]: --> [2:OK]
Jul 20 11:28:38.28: [ 9599]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jul 20 11:28:38.52: [ 9599]: --> [2:OK]
Jul 20 11:28:38.52: [ 9599]: <-- [30:AT+FLI="UniSolutions Associa"\r]
Jul 20 11:28:38.77: [ 9599]: --> [2:OK]
Jul 20 11:28:38.78: [ 9599]: DIAL 4435354
Jul 20 11:28:38.78: [ 9599]: <-- [12:ATDT4435354\r]
Jul 20 11:28:53.11: [ 9599]: --> [4:+FCO]
Jul 20 11:28:55.57: [ 9599]: --> [27:+FCI:" 7144435354"]
Jul 20 11:28:55.57: [ 9599]: REMOTE CSI "7144435354"
Jul 20 11:28:55.57: [ 9599]: --> [20:+FIS:1,5,0,2,1,0,0,3]
Jul 20 11:28:55.57: [ 9599]: --> [2:OK]
Jul 20 11:28:55.57: [ 9599]: REMOTE best rate 14400 bit/s
Jul 20 11:28:55.58: [ 9599]: REMOTE max page width 1728 pixels in 215 mm
Jul 20 11:28:55.58: [ 9599]: REMOTE max unlimited page length
Jul 20 11:28:55.58: [ 9599]: REMOTE best vres 7.7 line/mm
Jul 20 11:28:55.58: [ 9599]: REMOTE best format 2-D MR
Jul 20 11:28:55.58: [ 9599]: REMOTE best 10 ms/scanline
Jul 20 11:28:55.58: [ 9599]: USE 14400 bit/s
Jul 20 11:28:55.58: [ 9599]: USE 10 ms/scanline
Jul 20 11:28:55.59: [ 9599]: SEND file "docq/doc36.ps;71"
Jul 20 11:28:55.60: [ 9599]: Document was encoded with 2DMR, but modem does not support this data format
Jul 20 11:28:55.61: [ 9599]: <-- [5:ATH0\r]
Jul 20 11:28:55.85: [ 9599]: --> [2:OK]
Jul 20 11:28:55.86: [ 9599]: SESSION END
BTW, looking at earlier logs, I noticed that although the remote machine said
2-D MR was best, Hylafax was using 1-D MR...
The log from a month ago showed:
Jun 26 13:42:46.07: [21078]: REMOTE best rate 14400 bit/s
Jun 26 13:42:46.08: [21078]: REMOTE max page width 1728 pixels in 215 mm
Jun 26 13:42:46.08: [21078]: REMOTE max unlimited page length
Jun 26 13:42:46.08: [21078]: REMOTE best vres 7.7 line/mm
Jun 26 13:42:46.08: [21078]: REMOTE best format 2-D MR
Jun 26 13:42:46.08: [21078]: REMOTE best 10 ms/scanline
Jun 26 13:42:46.08: [21078]: USE 14400 bit/s
Jun 26 13:42:46.08: [21078]: USE 10 ms/scanline
Jun 26 13:42:46.09: [21078]: SEND file "docq/doc33.ps;31"
Jun 26 13:42:46.16: [21078]: USE page width 1728 pixels in 215 mm
Jun 26 13:42:46.16: [21078]: USE unlimited page length
Jun 26 13:42:46.16: [21078]: USE 7.7 line/mm
Jun 26 13:42:46.17: [21078]: USE 1-D MR
Jun 26 13:42:46.17: [21078]: <-- [23:AT+FIS=1,5,0,2,0,0,0,3\r]
Jun 26 13:42:46.41: [21078]: --> [2:OK]
Jun 26 13:42:46.41: [21078]: <-- [7:AT+FDT\r]
Jun 26 13:42:46.69: [21078]: --> [20:+FCS:1,5,0,2,0,0,0,3]
Jun 26 13:42:53.47: [21078]: --> [7:CONNECT]
Jun 26 13:42:53.47: [21078]: SEND begin page
And here is the config file for the modem (unchanged)
#
# Configuration for using the Class 2.0 command interface
# with a USR v.34 Courier or Sporster modem.
#
# RTS/CTS flow control is used default.
#
#
CountryCode: 1
AreaCode: 949
FAXNumber: +1.949.443.5354
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: "etc/dialrules"
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "UniSolutions Associates"
ClocalAsRoot: yes
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2.0 # use class 2.0 interface
ModemRate: 38400 # DCE-DTE communication rate
ModemFlowControl: rtscts # XON/XOFF flow control assumed
#
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemResultCodesCmd: ATQ0X4 # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
# the modem is left idling in Class 2.0
#
ModemSetupAACmd: AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd: AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd: !(0),(0) # override modem response
#
# this should fix the phase B error...
#
#Class2NRCmd: AT+FNR=3D1,1,1,0 # setup status reporting
Class2NRCmd: AT+FNR=1,1,1,0 # setup status reporting command
--Haral Tsitsivas, UniSolutions Associates (http://www.unisol.com/)
System Accounting and Chargeback, Backup and Restore, System Administration
Voice: (949) 488-3960, Fax: (949) 443-5354, E-mail: haral@unisol.com