From owner-freebsd-questions Wed Aug 16 9: 0:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www3.pacific-pages.com (www3.pacific-pages.com [192.41.48.219]) by hub.freebsd.org (Postfix) with ESMTP id CAF3837BF37 for ; Wed, 16 Aug 2000 08:59:48 -0700 (PDT) (envelope-from David@www3.pacific-pages.com) Received: from www3.pacific-pages.com ([216.191.73.61]) by www3.pacific-pages.com (8.8.5) id JAA29247; Wed, 16 Aug 2000 09:56:42 -0600 (MDT) Message-ID: <399AB85F.9E382524@www3.pacific-pages.com> Date: Wed, 16 Aug 2000 11:50:55 -0400 From: David Banning Reply-To: David@SkytrackerCanada.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: bsd , hylafax-users@hylafax.org Subject: usr modem - dials but won't connect Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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