HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] problems with Acorp external 56K modem [LONG]



On Tue, 24 Jun 2003, Lee Howard wrote:

> > > Does the remote actually get the page?
> >
> > nope :(
>
> Then you probably need to increase Class1SendMsgDelay...
>
> Class1SendMsgDelay:    150
>
> Also possible is the need to apply:
>
> http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=419
>
> and set
>
> Class1TMConnectDelay:  400

Same after patching:

Jun 24 19:58:35.36: [13171]: SESSION BEGIN 00000157 361202
Jun 24 19:58:35.36: [13171]: HylaFAX (tm) Version 4.1.6
Jun 24 19:58:35.36: [13171]: SEND FAX: JOB 20 DEST 202 COMMID 00000157
DEVICE '/dev/ttyS1'
Jun 24 19:58:35.36: [13171]: DELAY 75 ms
Jun 24 19:58:35.44: [13171]: DELAY 2600 ms
Jun 24 19:58:39.05: [13171]: DELAY 10 ms
Jun 24 19:58:39.06: [13171]: <-- [4:ATZ\r]
Jun 24 19:58:39.23: [13171]: --> [2:OK]
Jun 24 19:58:39.23: [13171]: DELAY 3000 ms
Jun 24 19:58:42.23: [13171]: <-- [5:AT&F\r]
Jun 24 19:58:42.33: [13171]: --> [4:AT&F]
Jun 24 19:58:42.33: [13171]: --> [2:OK]
Jun 24 19:58:42.33: [13171]: <-- [5:ATE0\r]
Jun 24 19:58:42.43: [13171]: --> [4:ATE0]
Jun 24 19:58:42.43: [13171]: --> [2:OK]
Jun 24 19:58:42.43: [13171]: <-- [5:ATV1\r]
Jun 24 19:58:42.53: [13171]: --> [2:OK]
Jun 24 19:58:42.53: [13171]: <-- [5:ATQ0\r]
Jun 24 19:58:42.63: [13171]: --> [2:OK]
Jun 24 19:58:42.63: [13171]: <-- [7:ATS0=0\r]
Jun 24 19:58:42.73: [13171]: --> [2:OK]
Jun 24 19:58:42.73: [13171]: <-- [7:ATS8=2\r]
Jun 24 19:58:42.83: [13171]: --> [2:OK]
Jun 24 19:58:42.83: [13171]: <-- [8:ATS7=60\r]
Jun 24 19:58:42.93: [13171]: --> [2:OK]
Jun 24 19:58:42.93: [13171]: <-- [6:AT&D2\r]
Jun 24 19:58:43.03: [13171]: --> [2:OK]
Jun 24 19:58:43.03: [13171]: <-- [6:AT&C1\r]
Jun 24 19:58:43.13: [13171]: --> [2:OK]
Jun 24 19:58:43.13: [13171]: <-- [19:AT+FCLASS=1+VCID=2\r]
Jun 24 19:58:43.26: [13171]: --> [2:OK]
Jun 24 19:58:43.26: [13171]: <-- [7:ATL1M1\r]
Jun 24 19:58:43.36: [13171]: --> [2:OK]
Jun 24 19:58:43.36: [13171]: <-- [19:AT+FCLASS=1+VCID=2\r]
Jun 24 19:58:43.59: [13171]: --> [2:OK]
Jun 24 19:58:43.59: [13171]: DIAL 202
Jun 24 19:58:43.59: [13171]: <-- [10:ATX1DT202\r]
Jun 24 19:59:01.16: [13171]: --> [7:CONNECT]
Jun 24 19:59:03.35: [13171]: --> [2:OK]
Jun 24 19:59:03.35: [13171]: REMOTE CSI "+36 (1) 319-7122"
Jun 24 19:59:03.35: [13171]: <-- [9:AT+FRH=3\r]
Jun 24 19:59:03.36: [13171]: --> [7:CONNECT]
Jun 24 19:59:04.09: [13171]: --> [2:OK]
Jun 24 19:59:04.09: [13171]: REMOTE best rate 14400 bit/s
Jun 24 19:59:04.09: [13171]: REMOTE max page width 1728 pixels in 215 mm
Jun 24 19:59:04.09: [13171]: REMOTE max unlimited page length
Jun 24 19:59:04.09: [13171]: REMOTE best vres 7.7 line/mm
Jun 24 19:59:04.09: [13171]: REMOTE best format 1-D MR
Jun 24 19:59:04.09: [13171]: REMOTE best 0 ms/scanline
Jun 24 19:59:04.09: [13171]: USE 14400 bit/s
Jun 24 19:59:04.09: [13171]: USE 0 ms/scanline
Jun 24 19:59:04.09: [13171]: SEND file "docq/doc26.ps;01"
Jun 24 19:59:04.09: [13171]: USE page width 1728 pixels in 215 mm
Jun 24 19:59:04.09: [13171]: USE unlimited page length
Jun 24 19:59:04.09: [13171]: USE 7.7 line/mm
Jun 24 19:59:04.09: [13171]: USE 1-D MR
Jun 24 19:59:04.09: [13171]: SEND training at v.17 14400 bit/s
Jun 24 19:59:04.09: [13171]: <-- [9:AT+FTH=3\r]
Jun 24 19:59:04.14: [13171]: --> [7:CONNECT]
Jun 24 19:59:04.14: [13171]: <-- data [23]
Jun 24 19:59:04.14: [13171]: <-- data [2]
Jun 24 19:59:04.16: [13171]: --> [7:CONNECT]
Jun 24 19:59:04.16: [13171]: <-- data [6]
Jun 24 19:59:04.16: [13171]: <-- data [2]
Jun 24 19:59:06.33: [13171]: --> [2:OK]
Jun 24 19:59:06.33: [13171]: <-- [9:AT+FTS=9\r]
Jun 24 19:59:06.34: [13171]: --> [2:OK]
Jun 24 19:59:06.34: [13171]: <-- [11:AT+FTM=145\r]
Jun 24 19:59:08.01: [13171]: --> [7:CONNECT]
Jun 24 19:59:08.01: [13171]: DELAY 400 ms
Jun 24 19:59:08.41: [13171]: <-- data [1024]
Jun 24 19:59:08.41: [13171]: <-- data [1024]
Jun 24 19:59:08.41: [13171]: <-- data [652]
Jun 24 19:59:08.41: [13171]: <-- data [2]
Jun 24 19:59:09.96: [13171]: --> [2:OK]
Jun 24 19:59:09.96: [13171]: <-- [9:AT+FRH=3\r]
Jun 24 19:59:10.83: [13171]: --> [7:CONNECT]
Jun 24 19:59:13.04: [13171]: --> [2:OK]
Jun 24 19:59:13.04: [13171]: TRAINING succeeded
Jun 24 19:59:13.04: [13171]: DELAY 150 ms
Jun 24 19:59:13.19: [13171]: <-- [11:AT+FTM=146\r]
Jun 24 19:59:13.68: [13171]: --> [7:CONNECT]
Jun 24 19:59:13.68: [13171]: DELAY 400 ms
Jun 24 19:59:14.08: [13171]: SEND begin page
Jun 24 19:59:14.08: [13171]: <-- data [1029]
Jun 24 19:59:14.08: [13171]: <-- data [1025]
Jun 24 19:59:14.08: [13171]: <-- data [1024]
Jun 24 19:59:14.08: [13171]: <-- data [1024]
Jun 24 19:59:14.08: [13171]: <-- data [1024]
Jun 24 19:59:15.08: [13171]: <-- data [1024]
Jun 24 19:59:15.08: [13171]: <-- data [1024]
Jun 24 19:59:15.08: [13171]: <-- data [1024]
Jun 24 19:59:16.08: [13171]: <-- data [1024]
Jun 24 19:59:16.08: [13171]: <-- data [1028]
Jun 24 19:59:16.08: [13171]: <-- data [1030]
Jun 24 19:59:16.08: [13171]: <-- data [506]
Jun 24 19:59:16.08: [13171]: SENT 11769 bytes of data
Jun 24 19:59:16.08: [13171]: SEND 1D RTC
Jun 24 19:59:16.08: [13171]: <-- data [29]
Jun 24 19:59:17.08: [13171]: <-- data [2]
Jun 24 19:59:17.08: [13171]: SEND end page
Jun 24 19:59:20.92: [13171]: --> [2:OK]
Jun 24 19:59:20.92: [13171]: <-- [9:AT+FTS=9\r]
Jun 24 19:59:20.93: [13171]: --> [2:OK]
Jun 24 19:59:20.93: [13171]: SEND send EOP (no more pages or documents)
Jun 24 19:59:20.93: [13171]: <-- [9:AT+FTH=3\r]
Jun 24 19:59:20.98: [13171]: --> [7:CONNECT]
Jun 24 19:59:20.98: [13171]: <-- data [3]
Jun 24 19:59:20.98: [13171]: <-- data [2]
Jun 24 19:59:22.29: [13171]: --> [2:OK]
Jun 24 19:59:22.29: [13171]: <-- [9:AT+FRH=3\r]
Jun 24 19:59:25.39: [13171]: --> [0:]
Jun 24 19:59:25.39: [13171]: MODEM <Empty line>
Jun 24 19:59:25.39: [13171]: <-- data [1]
Jun 24 19:59:25.59: [13171]: MODEM <Timeout>
Jun 24 19:59:25.59: [13171]: SEND send EOP (no more pages or documents)
Jun 24 19:59:25.59: [13171]: <-- [9:AT+FTH=3\r]
Jun 24 19:59:25.64: [13171]: --> [7:CONNECT]
Jun 24 19:59:25.64: [13171]: <-- data [3]
Jun 24 19:59:25.64: [13171]: <-- data [2]
Jun 24 19:59:26.95: [13171]: --> [2:OK]
Jun 24 19:59:26.95: [13171]: <-- [9:AT+FRH=3\r]
Jun 24 19:59:30.05: [13171]: --> [0:]
Jun 24 19:59:30.05: [13171]: MODEM <Empty line>
Jun 24 19:59:30.05: [13171]: <-- data [1]
Jun 24 19:59:30.25: [13171]: MODEM <Timeout>
Jun 24 19:59:30.25: [13171]: SEND send EOP (no more pages or documents)
Jun 24 19:59:30.25: [13171]: <-- [9:AT+FTH=3\r]
Jun 24 19:59:30.30: [13171]: --> [7:CONNECT]
Jun 24 19:59:30.30: [13171]: <-- data [3]
Jun 24 19:59:30.30: [13171]: <-- data [2]
Jun 24 19:59:31.61: [13171]: --> [2:OK]
Jun 24 19:59:31.61: [13171]: <-- [9:AT+FRH=3\r]
Jun 24 19:59:34.71: [13171]: --> [0:]
Jun 24 19:59:34.71: [13171]: MODEM <Empty line>
Jun 24 19:59:34.71: [13171]: <-- data [1]
Jun 24 19:59:34.91: [13171]: MODEM <Timeout>
Jun 24 19:59:34.91: [13171]: No response to MPS or EOP repeated 3 tries
Jun 24 19:59:34.91: [13171]: <-- [9:AT+FTH=3\r]
Jun 24 19:59:34.96: [13171]: --> [7:CONNECT]
Jun 24 19:59:34.96: [13171]: <-- data [3]
Jun 24 19:59:34.96: [13171]: <-- data [2]
Jun 24 19:59:36.27: [13171]: --> [2:OK]
Jun 24 19:59:36.27: [13171]: <-- [5:ATH0\r]
Jun 24 19:59:36.70: [13171]: --> [10:NO CARRIER]
Jun 24 19:59:36.70: [13171]: MODEM No carrier
Jun 24 19:59:36.70: [13171]: SESSION END

pek:/var/spool/hylafax# cat etc/config.ttyS1
CountryCode:            36              # USA
LongDistancePrefix:     06
InternationalPrefix:    00
AreaCode:               1
DialStringRules:        etc/dialrules
FAXNumber:              +36.1.3192122
LocalIdentifier:        "R-mediaLine"   # default is canonical FAXNumber
ServerTracing:          1               # log server-related operations
SessionTracing:         11              # log server-related operations
RecvFileMode:           0600            # recvd facsimile are not public
LogFileMode:            0600            # private log files
DeviceMode:             0600            # device is accessible only to
uucp/fax
#QualifyTSI:            etc/tsi         # accept facsimile from anyone
SpeakerVolume:          low             # machine's are already too loud
RingsBeforeAnswer:      10              # answer on first ring
TagLineFont:            etc/lutRS18.pcf # tag line font
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxBadCalls:            5               # max 5 consecutive bad calls
PostScriptTimeout:      300             # 5 minute timeout on PostScript
jobs
#MaxSendPages:          25              # max pages in an outbound job
MaxRecvPages:           25              # max pages in an inbound job
#ContCoverPage:         etc/cover.templ # enable continuation cover pages
#DestControls:          etc/destcontrols # destination-specific controls
#MaxConcurrentJobs:     1               # serialize jobs to the same dest
TimeOfDay:              "Any"           # outbound jobs any day, any time
# END-SERVER
#
# 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:              38400           # 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 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:           ATX1DT%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:         "AT&F"          # 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+VCID=2      # command to enter class 1
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait before
PPM
Class1TCFWaitCmd:       AT+FTS=9        # command to stop and wait before
TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait before
EOP
Class1MsgRecvHackCmd:   ""      # command to avoid +FCERROR before image
Class1TCFResponseDelay: 75              # 75ms delay between recv TCF &
response
Class1SendMsgDelay:     150             # 75ms delay after training
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
Class1TMConnectDelay:  400


-- 
dp

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions