Hylafax Mailing List Archives

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

Re: [hylafax-users] Unspecified Transmit Phase B error (code20 )



Hi,
first off all, your session-trace does not match the posted config-file.
(the dialstring from trace has a @-sign appended, the ModemDialcmd not)
are you shure hylafax uses the correct file?
second if you have characters like \ in your commands, (like AT\Q3)
put the complete string in quotationmarks (like "AT\Q3")

the rest of the file is identical to our config with the same modem.
( we have the @-sign at the end of ModemDialCmd, works fine)
hope it helps
Christoph

Rolf Rocke schrieb:
> 
> Hello,
> Problem: Cannot send a fax , receive fax is O.K.
> OS: SuseLinux 6.4
> Hylafax: Version 4.1 beta2
> Modem: Elsa Microlink 28,8 TQV
> Config.modem file original from Elsa
> 
> After synchronistion with companion modem connection breaks down.
> 
> Error.log:
> 
> Nov 03 11:29:51.83: [ 1007]: SESSION BEGIN 00000039 492171xxxxxxx
> Nov 03 11:29:51.83: [ 1007]: SEND FAX: JOB 30 DEST xxxxxxx COMMID
> 00000039
> Nov 03 11:29:51.83: [ 1007]: MODEM set DTR OFF
> Nov 03 11:29:51.83: [ 1007]: DELAY 2600 ms
> Nov 03 11:29:54.43: [ 1007]: MODEM set DTR ON
> Nov 03 11:29:54.43: [ 1007]: MODEM set baud rate: 115200 baud, input
> flow RTS/CTS, output flow RTS/CTS
> Nov 03 11:29:54.43: [ 1007]: MODEM flush i/o
> Nov 03 11:29:54.43: [ 1007]: <-- [14:ATE0V1Q0S0=0H\r]
> Nov 03 11:29:54.44: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.44: [ 1007]: <-- [21:ATS8=2S7=60\Q3&D2&C1\r]
> Nov 03 11:29:54.45: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.45: [ 1007]: <-- [14:AT+FCLASS=2.0\r]
> Nov 03 11:29:54.46: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.46: [ 1007]: <-- [9:AT+FLO=2\r]
> Nov 03 11:29:54.47: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.47: [ 1007]: <-- [9:AT+FPP=0\r]
> Nov 03 11:29:54.48: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.48: [ 1007]: <-- [9:AT+FBO=0\r]
> Nov 03 11:29:54.49: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.49: [ 1007]: <-- [10:AT+FCT=30\r]
> Nov 03 11:29:54.50: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.50: [ 1007]: <-- [15:AT+FNR=1,1,1,1\r]
> Nov 03 11:29:54.51: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.51: [ 1007]: <-- [9:AT+FIE=0\r]
> Nov 03 11:29:54.52: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.52: [ 1007]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
> Nov 03 11:29:54.53: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.53: [ 1007]: <-- [7:ATL1M1\r]
> Nov 03 11:29:54.54: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.54: [ 1007]: MODEM input buffering enabled
> Nov 03 11:29:54.54: [ 1007]: <-- [14:AT+FCLASS=2.0\r]
> Nov 03 11:29:54.65: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.65: [ 1007]: <-- [9:AT+FLO=2\r]
> Nov 03 11:29:54.76: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.76: [ 1007]: <-- [9:AT+FPP=0\r]
> Nov 03 11:29:54.87: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.87: [ 1007]: <-- [9:AT+FBO=0\r]
> Nov 03 11:29:54.98: [ 1007]: --> [2:OK]
> Nov 03 11:29:54.98: [ 1007]: <-- [10:AT+FCT=30\r]
> Nov 03 11:29:55.09: [ 1007]: --> [2:OK]
> Nov 03 11:29:55.09: [ 1007]: <-- [15:AT+FNR=1,1,1,1\r]
> Nov 03 11:29:55.20: [ 1007]: --> [2:OK]
> Nov 03 11:29:55.20: [ 1007]: <-- [9:AT+FIE=0\r]
> Nov 03 11:29:55.31: [ 1007]: --> [2:OK]
> Nov 03 11:29:55.31: [ 1007]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
> Nov 03 11:29:55.42: [ 1007]: --> [2:OK]
> Nov 03 11:29:55.42: [ 1007]: <-- [29:AT+FLI="Rolf Rocke"\r]
> Nov 03 11:29:55.53: [ 1007]: --> [2:OK]
> Nov 03 11:29:55.53: [ 1007]: DIAL xxxxxxx
> Nov 03 11:29:55.53: [ 1007]: <-- [13:ATDTxxxxxxx@\r]
> Nov 03 11:30:10.83: [ 1007]: --> [4:+FCO]
> Nov 03 11:30:12.18: [ 1007]: --> [27:+FCI:"      +49 2171 xxxxx"]
> Nov 03 11:30:12.18: [ 1007]: REMOTE CSI "+49 2171 xxxxx"
> Nov 03 11:30:12.18: [ 1007]: --> [20:+FIS:1,5,0,2,0,0,0,0]
> Nov 03 11:30:12.18: [ 1007]: --> [2:OK]
> Nov 03 11:30:12.18: [ 1007]: REMOTE best rate 14400 bit/s
> Nov 03 11:30:12.18: [ 1007]: REMOTE max page width 1728 pixels in 215 mm
> 
> Nov 03 11:30:12.18: [ 1007]: REMOTE max unlimited page length
> Nov 03 11:30:12.18: [ 1007]: REMOTE best vres 7.7 line/mm
> Nov 03 11:30:12.18: [ 1007]: REMOTE best format 1-D MR
> Nov 03 11:30:12.18: [ 1007]: REMOTE best 0 ms/scanline
> Nov 03 11:30:12.18: [ 1007]: USE 14400 bit/s
> Nov 03 11:30:12.18: [ 1007]: USE 0 ms/scanline
> Nov 03 11:30:12.18: [ 1007]: <-- [4:ATH\r]
> Nov 03 11:30:13.79: [ 1007]: --> [7:+FHS:20]
> Nov 03 11:30:13.79: [ 1007]: REMOTE HANGUP: Unspecified Transmit Phase B
> 
> error (code 20)
> Nov 03 11:30:14.95: [ 1007]: --> [2:OK]
> Nov 03 11:30:14.95: [ 1007]: MODEM set DTR OFF
> Nov 03 11:30:14.95: [ 1007]: SESSION END
> 
> Config.modem:
> 
> # Class 2.0 modem configuration for ELSA 33.6 TQV.
> #
> # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
> #
> CountryCode:            49
> AreaCode:               2171
> FAXNumber:              +49.2171.xxxxxxx
> LongDistancePrefix:     0
> InternationalPrefix:    00
> DialStringRules:        etc/dialrules
> ServerTracing:          527
> SessionTracing:         527
> RecvFileMode:           0644
> LogFileMode:            0600
> DeviceMode:             0666
> RingsBeforeAnswer:      1
> SpeakerVolume:          LOW
> GettyArgs:              "-r -b -s %s %l"
> LocalIdentifier:        "Rolf Rocke"
> # LogFacility:            local7
> TagLineFont:            etc/lutRS18.pcf
> TagLineFormat:          "Von %%l|%c|Seite %%p von %%t"
> PercentGoodLines:       80
> MaxConsecutiveBadLines: 20
> MaxRecvPages:           25
> 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:           ATDT%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\Q0
> ModemHardFlowCmd:       AT\Q3
> ModemSoftFlowCmd:       AT\Q1
> 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
> 
> many thanks ins advance
> Rolf Rocke
> 
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services