Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 11:50:55 -0400
From:      David Banning <David@www3.pacific-pages.com>
To:        bsd <questions@freebsd.org>, hylafax-users@hylafax.org
Subject:   usr modem - dials but won't connect
Message-ID:  <399AB85F.9E382524@www3.pacific-pages.com>

next in thread | raw e-mail | index | archive | help
I am using hylafax with Freebsd 4.0 stable
I've got a usr faxmodem internal
It always dials, sometimes trasmits successfully, but
mostly it does not send - receiving machine gives up
Here is my trace log and config;


Aug 16 11:26:34.30: [ 4068]: SESSION BEGIN 00000052 14152523608
Aug 16 11:26:34.31: [ 4068]: SEND FAX: JOB 22 DEST 2523608 COMMID
00000052
Aug 16 11:26:34.31: [ 4068]: MODEM set DTR OFF
Aug 16 11:26:34.31: [ 4068]: DELAY 2600 ms
Aug 16 11:26:36.91: [ 4068]: MODEM set DTR ON
Aug 16 11:26:36.91: [ 4068]: MODEM set baud rate: 19200 baud, input flow
XON/XOF
F, output flow XON/XOFF
Aug 16 11:26:36.91: [ 4068]: MODEM flush i/o
Aug 16 11:26:36.91: [ 4068]: <-- [15:ATE0V1Q0S0=0H0\r]
Aug 16 11:26:37.05: [ 4068]: --> [2:OK]
Aug 16 11:26:37.05: [ 4068]: <-- [21:ATS8=2S7=60&H2&D2&C1\r]
Aug 16 11:26:37.19: [ 4068]: --> [2:OK]
Aug 16 11:26:37.19: [ 4068]: <-- [12:AT+FCLASS=1\r]
Aug 16 11:26:37.32: [ 4068]: --> [2:OK]
Aug 16 11:26:37.32: [ 4068]: <-- [5:ATM0\r]
Aug 16 11:26:37.45: [ 4068]: --> [2:OK]
Aug 16 11:26:37.45: [ 4068]: MODEM input buffering enabled
Aug 16 11:26:37.46: [ 4068]: <-- [12:AT+FCLASS=1\r]
Aug 16 11:26:37.70: [ 4068]: --> [2:OK]
Aug 16 11:26:37.70: [ 4068]: MODEM set XON/XOFF/FLUSH: input ignored,
output dis
abled
Aug 16 11:26:37.71: [ 4068]: DIAL 2523608
Aug 16 11:26:37.71: [ 4068]: <-- [13:ATDT2523608@\r]
Aug 16 11:27:33.53: [ 4068]: --> [9:NO ANSWER]
Aug 16 11:27:33.53: [ 4068]: SEND FAILED: No answer from remote
Aug 16 11:27:33.53: [ 4068]: <-- [5:ATH0\r]
Aug 16 11:27:33.77: [ 4068]: --> [2:OK]
Aug 16 11:27:33.77: [ 4068]: MODEM set DTR OFF
Aug 16 11:27:33.77: [ 4068]: SESSION END

and config;

CountryCode:            1
AreaCode:               415
FAXNumber:              +1.999.555.1212
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          527
SessionTracing:         527
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
#GettyArgs:             "std.%s"
GettyArgs:              "-h %l dx_%s"   # modem must auto-detect
fax/data
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%p of %%t"
QualifyTSI:             etc/tsi
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:             "std.%s"
GettyArgs:              "-h %l dx_%s"   # modem must auto-detect
fax/data
#
# 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@         # T for tone dialing, @ for
silence
#
# 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&H0   # disable flow control cmd
ModemHardFlowCmd:       AT&H1           # hardware flow control cmd
ModemSoftFlowCmd:       AT&H2           # 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
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
Class1TCFResponseDelay: 75              # 75ms delay between recv TCF &
response
Class1SendPPMDelay:     75              # 75ms delay before sending PPM
Class1SendTCFDelay:     75              # 75ms delay between sending DCS
& TCF
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



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?399AB85F.9E382524>