HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problems with Error "DIS/DTC received 3 times; DCS not recognized"



Hello Everyone

I see on the offical Handbook, that i shoul'd mail to this Mailing List,
when I have
a Faxing Error like "DCS sent 3 times without response".

I can reproduce this error if i try to send a fax via the faxfrontend,
or with another
programm to sending faxes.

Here is a short Snipped of the Logfile:
-- SNIP --

Your job to XXX failed because:

DIS/DTC received 3 times; DCS not recognized; Giving up after 3 attempts
to send same page


    ---- Transcript of session follows ----

Oct 18 16:30:54.55: [ 1338]: SESSION BEGIN 000000015 XDESTNUMX
Oct 18 16:30:54.55: [ 1338]: HylaFAX (tm) Version 4.3.3
Oct 18 16:30:54.55: [ 1338]: SEND FAX: JOB 4 DEST XDESTNUMX COMMID
000000015 DEVICE '/dev/ttyS1' FROM 'XX@XX' USER XX
Oct 18 16:30:54.55: [ 1338]: STATE CHANGE: RUNNING -> SENDING
Oct 18 16:30:54.55: [ 1338]: <-- [12:AT+FCLASS=1\r]
Oct 18 16:30:54.57: [ 1338]: --> [2:OK]
Oct 18 16:30:54.57: [ 1338]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
Oct 18 16:30:54.57: [ 1338]: DIAL XDESTNUMX
Oct 18 16:30:54.57: [ 1338]: <-- [15:ATDTXDESTNUMX\r]
Oct 18 16:31:05.13: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:06.55: [ 1338]: --> HDLC<23:FF C0 02 8C 2C D4 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 18 16:31:06.55: [ 1338]: --> [2:OK]
Oct 18 16:31:06.55: [ 1338]: REMOTE CSI "+41"
Oct 18 16:31:06.55: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:06.58: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:06.97: [ 1338]: --> HDLC<13:FF C8 01 00 72 1F 21 01 09 01
01 19 00>
Oct 18 16:31:06.98: [ 1338]: --> [2:OK]
Oct 18 16:31:06.98: [ 1338]: REMOTE best rate 9600 bit/s
Oct 18 16:31:06.98: [ 1338]: REMOTE max A4 page width (215 mm)
Oct 18 16:31:06.98: [ 1338]: REMOTE max unlimited page length
Oct 18 16:31:06.98: [ 1338]: REMOTE best vres 7.7 line/mm
Oct 18 16:31:06.98: [ 1338]: REMOTE format support: MH
Oct 18 16:31:06.98: [ 1338]: REMOTE supports T.30 Annex A, 256-byte ECM
Oct 18 16:31:06.98: [ 1338]: REMOTE best 0 ms/scanline
Oct 18 16:31:06.98: [ 1338]: USE 9600 bit/s
Oct 18 16:31:06.98: [ 1338]: USE error correction mode
Oct 18 16:31:06.98: [ 1338]: USE A4 page width (215 mm)
Oct 18 16:31:06.98: [ 1338]: USE unlimited page length
Oct 18 16:31:06.98: [ 1338]: USE 3.85 line/mm
Oct 18 16:31:06.98: [ 1338]: USE 1-D MH
Oct 18 16:31:06.98: [ 1338]: USE 0 ms/scanline
Oct 18 16:31:06.98: [ 1338]: SEND training at v.29 9600 bit/s
Oct 18 16:31:06.98: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:07.08: [ 1338]: --> [2:OK]
Oct 18 16:31:07.08: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:08.11: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:08.11: [ 1338]: <-- HDLC<23:FF C0 C2 76 A6 2E D6 A6 2E 96
16 C6 4E 82 96 36 16 2E A6 EA 04 04 04>
Oct 18 16:31:09.11: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:09.11: [ 1338]: <-- HDLC<7:FF C8 C1 00 60 1F 20>
Oct 18 16:31:09.44: [ 1338]: --> [2:OK]
Oct 18 16:31:09.44: [ 1338]: <-- [9:AT+FTS=7\r]
Oct 18 16:31:09.53: [ 1338]: --> [2:OK]
Oct 18 16:31:09.53: [ 1338]: MODEM set XON/XOFF/FLUSH: input
interpreted, output disabled
Oct 18 16:31:09.53: [ 1338]: <-- [10:AT+FTM=96\r]
Oct 18 16:31:10.14: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:11.63: [ 1338]: --> [2:OK]
Oct 18 16:31:11.63: [ 1338]: MODEM set XON/XOFF/DRAIN: input ignored,
output disabled
Oct 18 16:31:11.63: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:11.90: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:12.51: [ 1338]: --> HDLC<3:FF C8 21>
Oct 18 16:31:12.51: [ 1338]: --> [2:OK]
Oct 18 16:31:12.51: [ 1338]: HDLC frame too short (3 bytes)
Oct 18 16:31:12.51: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:12.61: [ 1338]: --> [2:OK]
Oct 18 16:31:12.61: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:13.64: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:13.64: [ 1338]: <-- HDLC<3:FF C8 D8>
Oct 18 16:31:13.86: [ 1338]: --> [2:OK]
Oct 18 16:31:13.86: [ 1338]: SEND send CRP (command repeat)
Oct 18 16:31:13.86: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:14.21: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:15.63: [ 1338]: --> HDLC<23:FF C0 02 8C 2C D4 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 18 16:31:15.63: [ 1338]: --> [2:OK]
Oct 18 16:31:15.63: [ 1338]: REMOTE CSI "+41"
Oct 18 16:31:15.63: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:15.66: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:16.05: [ 1338]: --> HDLC<13:FF C8 01 00 72 1F 21 01 09 01
01 19 00>
Oct 18 16:31:16.06: [ 1338]: --> [2:OK]
Oct 18 16:31:16.06: [ 1338]: SEND training at v.29 9600 bit/s
Oct 18 16:31:16.06: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:16.15: [ 1338]: --> [2:OK]
Oct 18 16:31:16.15: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:17.18: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:17.18: [ 1338]: <-- HDLC<23:FF C0 C2 76 A6 2E D6 A6 2E 96
16 C6 4E 82 96 36 16 2E A6 EA 04 04 04>
Oct 18 16:31:18.19: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:18.19: [ 1338]: <-- HDLC<7:FF C8 C1 00 60 1F 20>
Oct 18 16:31:18.52: [ 1338]: --> [2:OK]
Oct 18 16:31:18.52: [ 1338]: <-- [9:AT+FTS=7\r]
Oct 18 16:31:18.62: [ 1338]: --> [2:OK]
Oct 18 16:31:18.62: [ 1338]: MODEM set XON/XOFF/FLUSH: input
interpreted, output disabled
Oct 18 16:31:18.62: [ 1338]: <-- [10:AT+FTM=96\r]
Oct 18 16:31:19.22: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:20.71: [ 1338]: --> [2:OK]
Oct 18 16:31:20.71: [ 1338]: MODEM set XON/XOFF/DRAIN: input ignored,
output disabled
Oct 18 16:31:20.71: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:20.98: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:21.59: [ 1338]: --> HDLC<3:FF C8 21>
Oct 18 16:31:21.59: [ 1338]: --> [2:OK]
Oct 18 16:31:21.59: [ 1338]: HDLC frame too short (3 bytes)
Oct 18 16:31:21.59: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:21.69: [ 1338]: --> [2:OK]
Oct 18 16:31:21.69: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:22.72: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:22.72: [ 1338]: <-- HDLC<3:FF C8 D8>
Oct 18 16:31:22.94: [ 1338]: --> [2:OK]
Oct 18 16:31:22.94: [ 1338]: SEND send CRP (command repeat)
Oct 18 16:31:22.94: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:23.28: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:24.70: [ 1338]: --> HDLC<23:FF C0 02 8C 2C D4 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 18 16:31:24.70: [ 1338]: --> [2:OK]
Oct 18 16:31:24.70: [ 1338]: REMOTE CSI "+41"
Oct 18 16:31:24.70: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:24.73: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:25.13: [ 1338]: --> HDLC<13:FF C8 01 00 72 1F 21 01 09 01
01 19 00>
Oct 18 16:31:25.14: [ 1338]: --> [2:OK]
Oct 18 16:31:25.14: [ 1338]: SEND training at v.29 9600 bit/s
Oct 18 16:31:25.14: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:25.23: [ 1338]: --> [2:OK]
Oct 18 16:31:25.23: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:26.26: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:26.26: [ 1338]: <-- HDLC<23:FF C0 C2 76 A6 2E D6 A6 2E 96
16 C6 4E 82 96 36 16 2E A6 EA 04 04 04>
Oct 18 16:31:27.27: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:27.27: [ 1338]: <-- HDLC<7:FF C8 C1 00 60 1F 20>
Oct 18 16:31:27.60: [ 1338]: --> [2:OK]
Oct 18 16:31:27.60: [ 1338]: <-- [9:AT+FTS=7\r]
Oct 18 16:31:27.69: [ 1338]: --> [2:OK]
Oct 18 16:31:27.69: [ 1338]: MODEM set XON/XOFF/FLUSH: input
interpreted, output disabled
Oct 18 16:31:27.69: [ 1338]: <-- [10:AT+FTM=96\r]
Oct 18 16:31:28.30: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:29.79: [ 1338]: --> [2:OK]
Oct 18 16:31:29.79: [ 1338]: MODEM set XON/XOFF/DRAIN: input ignored,
output disabled
Oct 18 16:31:29.79: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:30.05: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:30.66: [ 1338]: --> HDLC<3:FF C8 21>
Oct 18 16:31:30.67: [ 1338]: --> [2:OK]
Oct 18 16:31:30.67: [ 1338]: HDLC frame too short (3 bytes)
Oct 18 16:31:30.67: [ 1338]: <-- [9:AT+FRS=7\r]
Oct 18 16:31:30.77: [ 1338]: --> [2:OK]
Oct 18 16:31:30.77: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:31.80: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:31.80: [ 1338]: <-- HDLC<3:FF C8 D8>
Oct 18 16:31:32.02: [ 1338]: --> [2:OK]
Oct 18 16:31:32.02: [ 1338]: SEND send CRP (command repeat)
Oct 18 16:31:32.02: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:32.36: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:33.78: [ 1338]: --> HDLC<23:FF C0 02 8C 2C D4 04 04 04 04
04 04 04 04 04 04 04 04 04 04 04 04 04>
Oct 18 16:31:33.78: [ 1338]: --> [2:OK]
Oct 18 16:31:33.78: [ 1338]: REMOTE CSI "+41"
Oct 18 16:31:33.78: [ 1338]: <-- [9:AT+FRH=3\r]
Oct 18 16:31:33.81: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:34.21: [ 1338]: --> HDLC<13:FF C8 01 00 72 1F 21 01 09 01
01 19 00>
Oct 18 16:31:34.21: [ 1338]: --> [2:OK]
Oct 18 16:31:34.21: [ 1338]: DIS/DTC received 3 times; DCS not recognized
Oct 18 16:31:34.21: [ 1338]: SEND: DIS/DTC received 3 times; DCS not
recognized; Giving up after 3 attempts to send same page
"docq/cover4;00", dirnum 0
Oct 18 16:31:34.21: [ 1338]: <-- [9:AT+FTH=3\r]
Oct 18 16:31:35.25: [ 1338]: --> [7:CONNECT]
Oct 18 16:31:35.25: [ 1338]: <-- HDLC<3:FF C8 DF>
Oct 18 16:31:35.46: [ 1338]: --> [2:OK]
Oct 18 16:31:35.46: [ 1338]: MODEM input buffering enabled
Oct 18 16:31:35.46: [ 1338]: <-- [5:ATH0\r]
Oct 18 16:31:35.60: [ 1338]: --> [2:OK]
Oct 18 16:31:35.60: [ 1338]: MODEM set DTR OFF
Oct 18 16:31:35.60: [ 1338]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Oct 18 16:31:35.60: [ 1338]: SESSION END
-- SNIP --

And here is the config.ttyS1 config (made with addfaxmodem):
-- SNIP --
#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:            41
AreaCode:               44
FAXNumber:              +41.44.XXXXXX
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          0xfff
SessionTracing:         0xfff
RecvFileMode:           0644
LogFileMode:            0600
DeviceMode:             0666
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-f -b -s %s %l"
LocalIdentifier:        Customer
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "Von %%l|%c|Seite %%P von %%T"
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:      xonxoff         # XON/XOFF flow control assumed
#
#ModemSetupDTRCmd:      AT&D2           # setup so DTR drop resets modem
#ModemSetupDCDCmd:      AT&C1           # setup so DCD follows carrier
#GettyArgs:             "-h %l dx_%s"   # modem must auto-detect fax/data
#
# We can append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:          ATDT%s          # T for tone dialing
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:                ""              # stuff to do when modem
is reset
#ModemAnswerCmd:                ATA             # use this to answer phone
#ModemNoFlowCmd:                AT&K            # disable flow control cmd
#ModemHardFlowCmd:      AT&K3           # hardware flow control cmd
#ModemSoftFlowCmd:      AT&K4           # software flow control cmd
#ModemNoAutoAnswerCmd:  ATS0=0          # disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:     "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:       ATE0            # disable command echo
#ModemVerboseResultsCmd:        ATV1            # enable verbose command
results
#ModemResultCodesCmd:   ATQ0            # enable result codes
#ModemOnHookCmd:                ATH0            # place phone on hook
(hangup)
#ModemSoftResetCmd:     ATZ             # do soft reset of modem
#ModemSoftResetCmdDelay:        3000    # pause after soft reset
#ModemWaitTimeCmd:      ATS7=60         # wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:        ATS8=2          # comma pause time is 2
seconds
#ModemRecvFillOrder:    LSB2MSB         # bit order of received facsimile
#ModemSendFillOrder:    LSB2MSB         # bit order modem expects for
transmit
#
Class1Cmd:              AT+FCLASS=1     # command to enter class 1
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait
before PPM
Class1TCFWaitCmd:       AT+FTS=7        # command to stop and wait
before TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait
before EOP
Class1SwitchingCmd:     AT+FRS=7        # silence between HDLC recv and
trans
Class1TrainingRecovery: 1500            # 1.5sec delay after training
failure
Class1RecvAbortOK:      200             # wait 200ms for abort response
Class1FrameOverhead:    4               # 4 byte overhead in recvd HDLC
frames
Class1RecvIdentTimer:   40000           # 35+5secs waiting for ident frames
Class1TCFMaxNonZero:    10              # max 10% of data may be non-zero
Class1TCFMinRun:        1000            # min run is 2/3rds of TCF duration
-- SNIP --

The Modem that we use is a a "Zyxel omni 56k". I hope someone can help me.

Greeetings
Roger Meier


____________________ 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