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 empty pages (elsa 56k internet)



Hi,

I am having trouble with the configuration of an elsa 56k internet
modem.
I use the elsa-config file from their website (v250), but it still does
not work out.

After the modem establishes a connection with the fax machine, it will
stop the connection after about 10 seconds, and an empty page will
appear on the external fax.

I am using SuSE 6.4 with all the Upgrades from the Suse site (tiff
3.4.0, libtiff 3.4.0, hylafax 4.1b135)


I added my modem log and conf.ttyS0

Any help and suggestions is/are welcome

Tilmann Kuemmel

Here is my modem log:

Aug 21 19:14:13.80: [  854]: SESSION BEGIN 00000011 492319309331
Aug 21 19:14:13.80: [  854]: SEND FAX: JOB 25 DEST 9309331 COMMID
00000011
Aug 21 19:14:13.80: [  854]: MODEM set DTR OFF
Aug 21 19:14:16.39: [  854]: MODEM set DTR ON
Aug 21 19:14:16.40: [  854]: MODEM set baud rate: 115200 baud, input
flow RTS/CTS, output flow RTS/CTS
Aug 21 19:14:16.40: [  854]: MODEM flush i/o
Aug 21 19:14:16.40: [  854]: <-- [16:ATX3E0V1Q0S0=0H\r]
Aug 21 19:14:16.48: [  854]: --> [2:OK]
Aug 21 19:14:16.48: [  854]: <-- [27:ATS8=2S7=60+IFC=2,2;&D2&C1\r]
Aug 21 19:14:16.58: [  854]: --> [2:OK]
Aug 21 19:14:16.58: [  854]: <-- [14:AT+FCLASS=2.0\r]
Aug 21 19:14:16.62: [  854]: --> [2:OK]
Aug 21 19:14:16.62: [  854]: <-- [9:AT+FLO=2\r]
Aug 21 19:14:16.66: [  854]: --> [2:OK]
Aug 21 19:14:16.66: [  854]: <-- [9:AT+FPP=0\r]
Aug 21 19:14:16.70: [  854]: --> [2:OK]
Aug 21 19:14:16.70: [  854]: <-- [9:AT+FBO=0\r]
Aug 21 19:14:16.74: [  854]: --> [2:OK]
Aug 21 19:14:16.74: [  854]: <-- [10:AT+FCT=30\r]
Aug 21 19:14:16.78: [  854]: --> [2:OK]
Aug 21 19:14:16.78: [  854]: <-- [15:AT+FNR=1,1,1,1\r]
Aug 21 19:14:16.83: [  854]: --> [2:OK]
Aug 21 19:14:16.83: [  854]: <-- [7:AT+FAP\r]
Aug 21 19:14:16.87: [  854]: --> [5:ERROR]
Aug 21 19:14:16.87: [  854]: MODEM Command error
Aug 21 19:14:16.87: [  854]: <-- [9:AT+FIE=0\r]
Aug 21 19:14:16.91: [  854]: --> [2:OK]
Aug 21 19:14:16.91: [  854]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Aug 21 19:14:16.95: [  854]: --> [2:OK]
Aug 21 19:14:16.95: [  854]: <-- [7:ATL3M1\r]
Aug 21 19:14:17.00: [  854]: --> [2:OK]
Aug 21 19:14:17.00: [  854]: MODEM input buffering enabled
Aug 21 19:14:17.01: [  854]: <-- [14:AT+FCLASS=2.0\r]
Aug 21 19:14:17.15: [  854]: --> [2:OK]
Aug 21 19:14:17.15: [  854]: <-- [9:AT+FLO=2\r]
Aug 21 19:14:17.29: [  854]: --> [2:OK]
Aug 21 19:14:17.29: [  854]: <-- [9:AT+FPP=0\r]
Aug 21 19:14:17.43: [  854]: --> [2:OK]
Aug 21 19:14:17.43: [  854]: <-- [9:AT+FBO=0\r]
Aug 21 19:14:17.57: [  854]: --> [2:OK]
Aug 21 19:14:17.57: [  854]: <-- [10:AT+FCT=30\r]
Aug 21 19:14:17.71: [  854]: --> [2:OK]
Aug 21 19:14:17.71: [  854]: <-- [15:AT+FNR=1,1,1,1\r]
Aug 21 19:14:17.85: [  854]: --> [2:OK]
Aug 21 19:14:17.85: [  854]: <-- [7:AT+FAP\r]
Aug 21 19:14:17.99: [  854]: --> [5:ERROR]
Aug 21 19:14:17.99: [  854]: MODEM Command error
Aug 21 19:14:17.99: [  854]: <-- [9:AT+FIE=0\r]
Aug 21 19:14:18.13: [  854]: --> [2:OK]
Aug 21 19:14:18.13: [  854]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Aug 21 19:14:18.27: [  854]: --> [2:OK]
Aug 21 19:14:18.27: [  854]: <-- [17:AT+FLI="+49.241"\r]
Aug 21 19:14:18.41: [  854]: --> [2:OK]
Aug 21 19:14:18.42: [  854]: <-- [13:ATDTW9309331\r]
Aug 21 19:14:38.67: [  854]: --> [4:+FCO]
Aug 21 19:14:40.88: [  854]: --> [29:+FNF: AD 00 36 40 80 C4 01 E4]
Aug 21 19:14:40.88: [  854]: --> [27:+FCI:"       0231 930 9331"]
Aug 21 19:14:40.88: [  854]: --> [22:+FIS:1,3,0,2,1,1,0,4,0]
Aug 21 19:14:40.88: [  854]: --> [2:OK]
Aug 21 19:14:40.89: [  854]: <-- [23:AT+FIS=0,3,0,2,0,0,0,4\r]
Aug 21 19:14:41.03: [  854]: --> [2:OK]
Aug 21 19:14:41.03: [  854]: <-- [7:AT+FDT\r]
Aug 21 19:14:46.63: [  854]: --> [22:+FCS:0,3,0,2,0,0,0,5,0]
Aug 21 19:14:46.94: [  854]: --> [7:CONNECT]
Aug 21 19:14:46.95: [  854]: <-- data [923]
Aug 21 19:14:46.95: [  854]: <-- data [9]
Aug 21 19:14:46.95: [  854]: <-- data [2]
Aug 21 19:14:54.02: [  854]: --> [7:+FHS:00]
Aug 21 19:14:54.03: [  854]: <-- [4:ATH\r]
Aug 21 19:14:54.03: [  854]: --> [2:OK]
Aug 21 19:14:54.03: [  854]: MODEM set DTR OFF
Aug 21 19:14:54.03: [  854]: SESSION END

and my conf.ttyS0 file:

#
# Class 2.0 modem configuration for ELSA Modems with V.250 command set.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:            49
AreaCode:               231
FAXNumber:              +49.231.123456
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          13
SessionTracing:         13
RecvFileMode:           0644
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          HIGH
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "+49.241"
LogFacility:            local7
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "Von %%l|%c|Seite %%p von %%t"
PercentGoodLines:       80
MaxConsecutiveBadLines: 20
MaxRecvPages:           250
ModemPriority:          200
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2.0        # use this to supply a hint
ModemRate:              115200          # max rate for DCE-DTE
communication
ModemFlowControl:       rtscts          # XON/XOFF flow control assumed
ModemSetupDTRCmd:       AT&D2           # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
(or not)
#
# We normally 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:           ATDTW%s
#
# 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:         ATX3            # stuff to do when modem is
reset
ModemAnswerCmd:         ATA             # use this to answer phone
ModemNoFlowCmd:         AT+IFC=0,0;
ModemHardFlowCmd:       AT+IFC=2,2;
ModemSoftFlowCmd:       AT+IFC=1,1;
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:         ATH             # place phone on hook (hangup)
ModemSoftResetCmd:      ATZ             # do soft reset of modem
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
#
# Configuration parameters for Class 2.0 modems.
#
Class2Cmd:              AT+FCLASS=2.0   # command to enter class 2.0
Class2BORCmd:           AT+FBO=0        # bit order for phase B/C/D
(direct)
Class2CQCmd:            ""              # commands to enable copy
quality proc.
Class2AbortCmd:         AT+FKS          # abort session command
Class2CQQueryCmd:       AT+FCQ=?        # query for copy quality
capabilities
Class2DCCQueryCmd:      AT+FCC=?        # query for modem capabilities
Class2TBCCmd:           AT+FPP=0        # setup stream mode
Class2CRCmd:            AT+FCR=1        # enable capability to receive
Class2PHCTOCmd:         AT+FCT=30       # set phase C timeout parameter
Class2BUGCmd:           AT+FBU=1        # enable HDLC frame tracing
Class2LIDCmd:           AT+FLI          # set local identifier command
Class2DCCCmd:           AT+FCC          # set modem capabilities command
Class2DISCmd:           AT+FIS          # set session parameters command
Class2DDISCmd:          ""              # disable pre-dial DIS command
hack
Class2CIGCmd:           AT+FPI          # set polling identifier command
Class2NRCmd:            AT+FNR=1,1,1,1  # setup status reporting command
Class2PIECmd:           AT+FIE=0        # disable interrupt-enable
command
Class2PTSCmd:           AT+FPS          # set post-page status command
Class2SPLCmd:           AT+FSP          # set polling indicator command
Class2NFLOCmd:          AT+FLO=0        # set no flow control command
Class2SFLOCmd:          AT+FLO=1        # set software flow control
command
Class2HFLOCmd:          AT+FLO=2        # set hardware flow control
command
Aug 21 19:14:13.80: [  854]: SESSION BEGIN 00000011 492319309331
Aug 21 19:14:13.80: [  854]: SEND FAX: JOB 25 DEST 9309331 COMMID 00000011
Aug 21 19:14:13.80: [  854]: MODEM set DTR OFF
Aug 21 19:14:16.39: [  854]: MODEM set DTR ON
Aug 21 19:14:16.40: [  854]: MODEM set baud rate: 115200 baud, input flow RTS/CTS, output flow RTS/CTS
Aug 21 19:14:16.40: [  854]: MODEM flush i/o
Aug 21 19:14:16.40: [  854]: <-- [16:ATX3E0V1Q0S0=0H\r]
Aug 21 19:14:16.48: [  854]: --> [2:OK]
Aug 21 19:14:16.48: [  854]: <-- [27:ATS8=2S7=60+IFC=2,2;&D2&C1\r]
Aug 21 19:14:16.58: [  854]: --> [2:OK]
Aug 21 19:14:16.58: [  854]: <-- [14:AT+FCLASS=2.0\r]
Aug 21 19:14:16.62: [  854]: --> [2:OK]
Aug 21 19:14:16.62: [  854]: <-- [9:AT+FLO=2\r]
Aug 21 19:14:16.66: [  854]: --> [2:OK]
Aug 21 19:14:16.66: [  854]: <-- [9:AT+FPP=0\r]
Aug 21 19:14:16.70: [  854]: --> [2:OK]
Aug 21 19:14:16.70: [  854]: <-- [9:AT+FBO=0\r]
Aug 21 19:14:16.74: [  854]: --> [2:OK]
Aug 21 19:14:16.74: [  854]: <-- [10:AT+FCT=30\r]
Aug 21 19:14:16.78: [  854]: --> [2:OK]
Aug 21 19:14:16.78: [  854]: <-- [15:AT+FNR=1,1,1,1\r]
Aug 21 19:14:16.83: [  854]: --> [2:OK]
Aug 21 19:14:16.83: [  854]: <-- [7:AT+FAP\r]
Aug 21 19:14:16.87: [  854]: --> [5:ERROR]
Aug 21 19:14:16.87: [  854]: MODEM Command error
Aug 21 19:14:16.87: [  854]: <-- [9:AT+FIE=0\r]
Aug 21 19:14:16.91: [  854]: --> [2:OK]
Aug 21 19:14:16.91: [  854]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Aug 21 19:14:16.95: [  854]: --> [2:OK]
Aug 21 19:14:16.95: [  854]: <-- [7:ATL3M1\r]
Aug 21 19:14:17.00: [  854]: --> [2:OK]
Aug 21 19:14:17.00: [  854]: MODEM input buffering enabled
Aug 21 19:14:17.01: [  854]: <-- [14:AT+FCLASS=2.0\r]
Aug 21 19:14:17.15: [  854]: --> [2:OK]
Aug 21 19:14:17.15: [  854]: <-- [9:AT+FLO=2\r]
Aug 21 19:14:17.29: [  854]: --> [2:OK]
Aug 21 19:14:17.29: [  854]: <-- [9:AT+FPP=0\r]
Aug 21 19:14:17.43: [  854]: --> [2:OK]
Aug 21 19:14:17.43: [  854]: <-- [9:AT+FBO=0\r]
Aug 21 19:14:17.57: [  854]: --> [2:OK]
Aug 21 19:14:17.57: [  854]: <-- [10:AT+FCT=30\r]
Aug 21 19:14:17.71: [  854]: --> [2:OK]
Aug 21 19:14:17.71: [  854]: <-- [15:AT+FNR=1,1,1,1\r]
Aug 21 19:14:17.85: [  854]: --> [2:OK]
Aug 21 19:14:17.85: [  854]: <-- [7:AT+FAP\r]
Aug 21 19:14:17.99: [  854]: --> [5:ERROR]
Aug 21 19:14:17.99: [  854]: MODEM Command error
Aug 21 19:14:17.99: [  854]: <-- [9:AT+FIE=0\r]
Aug 21 19:14:18.13: [  854]: --> [2:OK]
Aug 21 19:14:18.13: [  854]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Aug 21 19:14:18.27: [  854]: --> [2:OK]
Aug 21 19:14:18.27: [  854]: <-- [17:AT+FLI="+49.241"\r]
Aug 21 19:14:18.41: [  854]: --> [2:OK]
Aug 21 19:14:18.42: [  854]: <-- [13:ATDTW9309331\r]
Aug 21 19:14:38.67: [  854]: --> [4:+FCO]
Aug 21 19:14:40.88: [  854]: --> [29:+FNF: AD 00 36 40 80 C4 01 E4]
Aug 21 19:14:40.88: [  854]: --> [27:+FCI:"       0231 930 9331"]
Aug 21 19:14:40.88: [  854]: --> [22:+FIS:1,3,0,2,1,1,0,4,0]
Aug 21 19:14:40.88: [  854]: --> [2:OK]
Aug 21 19:14:40.89: [  854]: <-- [23:AT+FIS=0,3,0,2,0,0,0,4\r]
Aug 21 19:14:41.03: [  854]: --> [2:OK]
Aug 21 19:14:41.03: [  854]: <-- [7:AT+FDT\r]
Aug 21 19:14:46.63: [  854]: --> [22:+FCS:0,3,0,2,0,0,0,5,0]
Aug 21 19:14:46.94: [  854]: --> [7:CONNECT]
Aug 21 19:14:46.95: [  854]: <-- data [923]
Aug 21 19:14:46.95: [  854]: <-- data [9]
Aug 21 19:14:46.95: [  854]: <-- data [2]
Aug 21 19:14:54.02: [  854]: --> [7:+FHS:00]
Aug 21 19:14:54.03: [  854]: <-- [4:ATH\r]
Aug 21 19:14:54.03: [  854]: --> [2:OK]
Aug 21 19:14:54.03: [  854]: MODEM set DTR OFF
Aug 21 19:14:54.03: [  854]: SESSION END



Project hosted by iFAX Solutions