HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problem sending fax with US Robotics 56k (COM)



Hi, I've this problem: 'DIS/DTC received 3 times;'
I've installed AvantFax on Hylafax and I have an US ROBOTICS 56k Fax
Ext. plugged on COM1 (/dev/ttyS0) and i've a Lenny Debian distro.

Log file error:
mar 23 12:40:54.23: [ 8662]: SESSION BEGIN 000000007 39574695038
mar 23 12:40:54.23: [ 8662]: HylaFAX (tm) Version 4.4.4
mar 23 12:40:54.23: [ 8662]: SEND FAX: JOB 3 DEST 0574695038 COMMID
000000007 DEVICE '/dev/ttyS0' FROM 'root <root@localhost>' USER admin
mar 23 12:40:54.23: [ 8662]: <-- [12:AT+FCLASS=1\r]
mar 23 12:40:54.36: [ 8662]: --> [2:OK]
mar 23 12:40:54.37: [ 8662]: DIAL 0574695038
mar 23 12:40:54.37: [ 8662]: <-- [15:ATDT0574695038\r]
mar 23 12:41:11.62: [ 8662]: --> [7:CONNECT]
mar 23 12:41:12.90: [ 8662]: --> [2:OK]
mar 23 12:41:12.90: [ 8662]: REMOTE CSI "TEX.NET"
mar 23 12:41:12.90: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:12.92: [ 8662]: --> [7:CONNECT]
mar 23 12:41:13.25: [ 8662]: --> [2:OK]
mar 23 12:41:13.25: [ 8662]: REMOTE best rate 14400 bit/s
mar 23 12:41:13.25: [ 8662]: REMOTE max A3 page width (303 mm)
mar 23 12:41:13.25: [ 8662]: REMOTE max unlimited page length
mar 23 12:41:13.25: [ 8662]: REMOTE best vres 7.7 line/mm
mar 23 12:41:13.25: [ 8662]: REMOTE format support: MH, MR
mar 23 12:41:13.25: [ 8662]: REMOTE best 0 ms/scanline
mar 23 12:41:13.25: [ 8662]: USE 14400 bit/s
mar 23 12:41:13.25: [ 8662]: SEND file "docq/doc3.pdf;40"
mar 23 12:41:13.25: [ 8662]: USE A4 page width (215 mm)
mar 23 12:41:13.25: [ 8662]: USE unlimited page length
mar 23 12:41:13.25: [ 8662]: USE 3.85 line/mm
mar 23 12:41:13.25: [ 8662]: USE 2-D MR
mar 23 12:41:13.25: [ 8662]: USE 0 ms/scanline
mar 23 12:41:13.25: [ 8662]: SEND training at v.17 14400 bit/s
mar 23 12:41:13.25: [ 8662]: DELAY 70 ms
mar 23 12:41:13.32: [ 8662]: <-- [9:AT+FTH=3\r]
mar 23 12:41:13.52: [ 8662]: --> [7:CONNECT]
mar 23 12:41:13.52: [ 8662]: <-- data [23]
mar 23 12:41:13.52: [ 8662]: <-- data [2]
mar 23 12:41:13.54: [ 8662]: --> [7:CONNECT]
mar 23 12:41:13.54: [ 8662]: <-- data [6]
mar 23 12:41:13.54: [ 8662]: <-- data [2]
mar 23 12:41:15.49: [ 8662]: --> [2:OK]
mar 23 12:41:15.49: [ 8662]: DELAY 70 ms
mar 23 12:41:15.56: [ 8662]: <-- [11:AT+FTM=145\r]
mar 23 12:41:17.04: [ 8662]: --> [7:CONNECT]
mar 23 12:41:17.04: [ 8662]: <-- data [1024]
mar 23 12:41:17.04: [ 8662]: <-- data [1024]
mar 23 12:41:17.04: [ 8662]: <-- data [652]
mar 23 12:41:17.04: [ 8662]: <-- data [2]
mar 23 12:41:18.57: [ 8662]: --> [2:OK]
mar 23 12:41:18.57: [ 8662]: <-- [9:AT+FRS=1\r]
mar 23 12:41:18.60: [ 8662]: --> [2:OK]
mar 23 12:41:18.60: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:19.62: [ 8662]: --> [7:CONNECT]
mar 23 12:41:20.92: [ 8662]: --> [2:OK]
mar 23 12:41:20.92: [ 8662]: REMOTE CSI "TEX.NET"
mar 23 12:41:20.92: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:20.94: [ 8662]: --> [7:CONNECT]
mar 23 12:41:21.26: [ 8662]: --> [2:OK]
mar 23 12:41:21.26: [ 8662]: SEND training at v.17 14400 bit/s
mar 23 12:41:21.26: [ 8662]: DELAY 70 ms
mar 23 12:41:21.34: [ 8662]: <-- [9:AT+FTH=3\r]
mar 23 12:41:21.53: [ 8662]: --> [7:CONNECT]
mar 23 12:41:21.53: [ 8662]: <-- data [23]
mar 23 12:41:21.53: [ 8662]: <-- data [2]
mar 23 12:41:21.56: [ 8662]: --> [7:CONNECT]
mar 23 12:41:21.56: [ 8662]: <-- data [6]
mar 23 12:41:21.56: [ 8662]: <-- data [2]
mar 23 12:41:23.51: [ 8662]: --> [2:OK]
mar 23 12:41:23.51: [ 8662]: DELAY 70 ms
mar 23 12:41:23.58: [ 8662]: <-- [11:AT+FTM=145\r]
mar 23 12:41:25.06: [ 8662]: --> [7:CONNECT]
mar 23 12:41:25.06: [ 8662]: <-- data [1024]
mar 23 12:41:25.06: [ 8662]: <-- data [1024]
mar 23 12:41:25.06: [ 8662]: <-- data [652]
mar 23 12:41:25.06: [ 8662]: <-- data [2]
mar 23 12:41:26.59: [ 8662]: --> [2:OK]
mar 23 12:41:26.59: [ 8662]: <-- [9:AT+FRS=1\r]
mar 23 12:41:26.61: [ 8662]: --> [2:OK]
mar 23 12:41:26.61: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:27.62: [ 8662]: --> [7:CONNECT]
mar 23 12:41:28.93: [ 8662]: --> [2:OK]
mar 23 12:41:28.93: [ 8662]: REMOTE CSI "TEX.NET"
mar 23 12:41:28.93: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:28.95: [ 8662]: --> [7:CONNECT]
mar 23 12:41:29.28: [ 8662]: --> [2:OK]
mar 23 12:41:29.28: [ 8662]: SEND training at v.17 14400 bit/s
mar 23 12:41:29.28: [ 8662]: DELAY 70 ms
mar 23 12:41:29.35: [ 8662]: <-- [9:AT+FTH=3\r]
mar 23 12:41:29.55: [ 8662]: --> [7:CONNECT]
mar 23 12:41:29.55: [ 8662]: <-- data [23]
mar 23 12:41:29.55: [ 8662]: <-- data [2]
mar 23 12:41:29.57: [ 8662]: --> [7:CONNECT]
mar 23 12:41:29.57: [ 8662]: <-- data [6]
mar 23 12:41:29.57: [ 8662]: <-- data [2]
mar 23 12:41:31.52: [ 8662]: --> [2:OK]
mar 23 12:41:31.52: [ 8662]: DELAY 70 ms
mar 23 12:41:31.60: [ 8662]: <-- [11:AT+FTM=145\r]
mar 23 12:41:33.08: [ 8662]: --> [7:CONNECT]
mar 23 12:41:33.08: [ 8662]: <-- data [1024]
mar 23 12:41:33.08: [ 8662]: <-- data [1024]
mar 23 12:41:33.08: [ 8662]: <-- data [652]
mar 23 12:41:33.08: [ 8662]: <-- data [2]
mar 23 12:41:34.60: [ 8662]: --> [2:OK]
mar 23 12:41:34.60: [ 8662]: <-- [9:AT+FRS=1\r]
mar 23 12:41:34.63: [ 8662]: --> [2:OK]
mar 23 12:41:34.63: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:35.62: [ 8662]: --> [7:CONNECT]
mar 23 12:41:36.91: [ 8662]: --> [2:OK]
mar 23 12:41:36.91: [ 8662]: REMOTE CSI "TEX.NET"
mar 23 12:41:36.91: [ 8662]: <-- [9:AT+FRH=3\r]
mar 23 12:41:36.92: [ 8662]: --> [7:CONNECT]
mar 23 12:41:37.28: [ 8662]: --> [2:OK]
mar 23 12:41:37.28: [ 8662]: DIS/DTC received 3 times; DCS not
recognized
mar 23 12:41:37.28: [ 8662]: DELAY 70 ms
mar 23 12:41:37.35: [ 8662]: <-- [9:AT+FTH=3\r]
mar 23 12:41:37.55: [ 8662]: --> [7:CONNECT]
mar 23 12:41:37.55: [ 8662]: <-- data [3]
mar 23 12:41:37.55: [ 8662]: <-- data [2]
mar 23 12:41:38.72: [ 8662]: --> [2:OK]
mar 23 12:41:39.72: [ 8662]: <-- [5:ATH0\r]
mar 23 12:41:39.96: [ 8662]: --> [2:OK]
mar 23 12:41:39.96: [ 8662]: SESSION END

/etc/hylafax/*.ttyS0
# $Id: usr-xon,v 1.11 2005/11/29 21:28:57 lhoward Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software
and
# its documentation for any purpose is hereby granted without fee,
provided
# that (i) the above copyright notices and this permission notice appear
in
# all copies of the software and related documentation, and (ii) the
names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control.
#
#
CountryCode:            39
AreaCode:               0574
FAXNumber:              +390574632137
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      5
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class1          # use class 1 interface
ModemRate:              19200           # rate for DCE-DTE communication
ModemFlowControl:       xonxoff         # software flow control
#
ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
(or not)
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
ModemResultCodesCmd:    ATQ0X4          # enable result codes
#
ModemMfrQueryCmd:       !USR
ModemModelQueryCmd:     ATI3
ModemRevQueryCmd:       ATI7            # XXX returns a multi-line
result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd:          AT&H0&I0&R1     # setup modem for no flow
control
Class1HFLOCmd:          AT&H1&I0&R2     # setup modem for hardware flow
control
Class1SFLOCmd:          ""              # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:  AT+FRS=1        # wait after sending TCF for
response
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd:        AT+FCLASS=0     # leave modem idling in class 0
ModemAnswerCmd:         AT+FCLASS=1A    # answer in Class 1
#
# When using AT+FRS=n we see USR modems reset themselves in the middle
of sessions
# this is not good.  So, we seem to work-around that problem by not
using the
# command.  Unfortunately, this isn't an ideal thing.
#
#Class1SwitchingCmd:    "<delay\0727>"
#included by me
#Class1PPMWaitCmd:       "<delay:7>"
#Class1TCFWaitCmd:       "<delay:7>"
#Class1EOPWaitCmd:       "<delay:9>"
#Class1SwitchingCmd:     "<delay:7>"


#
## AvantFAX
#
FaxRcvdCmd:     bin/faxrcvd.php
DynamicConfig:  bin/dynconf.php
UseJobTSI:      true




____________________ 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