HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Send failed: No answer from remote
Hi,
I have a problem with sending faxes. I can receive faxes ok.
I have a E-Tech Fax modem E56K RVP (class 1).
I tried the e-tech config example, but that did not work for me.
The problem is the following:
1) the modem is initialized
2) then starts dialing
3) other end picks up, and tries to do the handshake
4) no response from my end
5) eventually other end gives up
6) I find in my logs "No answer from remote"
I have no idea where to start looking.
Session tracing is 0x4F, Server tracing=0x16f
Can I get some more/other information about the handshaking
process in specifying other values for either
session tracing or server tracing?
I assume it has something to do with how the modem is
initialized, but I do not have a clue what is causing
this.
Your responses will be appreciated.
Below are:
1) part of the config.modem file
2) log taken from syslog (removed some of the interpretation
that is already present in the "raw" answers from the modem)
3) session log
Thanx,
Hans Feringa
This is part of my ./etc/config.modem
#
#
# 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
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 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&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
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
#ModemSendFillOrder: MSB2LSB # 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
==================Session LOG=============================================================
Sep 14 22:17:09.10: [23395]: SESSION BEGIN 00000038 31756707735
Sep 14 22:17:09.10: [23395]: SEND FAX: JOB 8 DEST +31.75.6707735 COMMID 00000038
Sep 14 22:17:09.10: [23395]: MODEM set DTR OFF
Sep 14 22:17:09.10: [23395]: DELAY 2600 ms
Sep 14 22:17:11.71: [23395]: MODEM set DTR ON
Sep 14 22:17:11.71: [23395]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS
Sep 14 22:17:11.71: [23395]: MODEM flush i/o
Sep 14 22:17:11.71: [23395]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 14 22:17:11.73: [23395]: --> [2:OK]
Sep 14 22:17:11.73: [23395]: <-- [21:ATS8=2S7=60&K3&D2&C1\r]
Sep 14 22:17:11.76: [23395]: --> [2:OK]
Sep 14 22:17:11.76: [23395]: <-- [12:AT+FCLASS=1\r]
Sep 14 22:17:11.78: [23395]: --> [2:OK]
Sep 14 22:17:11.78: [23395]: <-- [7:ATL2M1\r]
Sep 14 22:17:11.80: [23395]: --> [2:OK]
Sep 14 22:17:11.80: [23395]: MODEM input buffering enabled
Sep 14 22:17:11.80: [23395]: <-- [12:AT+FCLASS=1\r]
Sep 14 22:17:11.92: [23395]: --> [2:OK]
Sep 14 22:17:11.94: [23395]: DIAL 0756707735
Sep 14 22:17:11.94: [23395]: <-- [16:ATDT0756707735@\r]
Sep 14 22:18:19.37: [23395]: --> [9:NO ANSWER]
Sep 14 22:18:19.37: [23395]: SEND FAILED: No answer from remote
Sep 14 22:18:19.37: [23395]: <-- [5:ATH0\r]
Sep 14 22:18:19.49: [23395]: --> [2:OK]
Sep 14 22:18:19.49: [23395]: MODEM set DTR OFF
Sep 14 22:18:19.49: [23395]: SESSION END
===================From SYSLOG============================================================
Sep 14 22:17:05 anansi FaxSend[23395]: MODEM set DTR OFF
Sep 14 22:17:05 anansi FaxSend[23395]: DELAY 2600 ms
Sep 14 22:17:07 anansi FaxSend[23395]: MODEM set DTR ON
Sep 14 22:17:07 anansi FaxSend[23395]: MODEM set baud rate: 19200 baud, input flow RTS/CTS, output flow RTS/CTS
Sep 14 22:17:07 anansi FaxSend[23395]: MODEM flush i/o
Sep 14 22:17:07 anansi FaxSend[23395]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 14 22:17:07 anansi FaxGetty[23323]: ANSWER: Can not lock modem device
Sep 14 22:17:07 anansi FaxGetty[23323]: STATE CHANGE: RUNNING -> LOCKWAIT (timeout 30)
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [21:ATS8=2S7=60&K3&D2&C1\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [12:AT+FCLASS=?\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [7:0,1,1.0]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: MODEM Supports "Data"
Sep 14 22:17:08 anansi FaxSend[23395]: MODEM Supports "Class 1"
Sep 14 22:17:08 anansi FaxSend[23395]: MODEM Supports "Class 2"
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [12:AT+FCLASS=1\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: MODEM: Mfr
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [9:AT+FTM=?\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [9:AT+FRM=?\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [12:AT+FCLASS=1\r]
Sep 14 22:17:08 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:08 anansi FaxSend[23395]: MODEM /
Sep 14 22:17:08 anansi FaxSend[23395]: <-- [7:ATL2M1\r]
Sep 14 22:17:09 anansi FaxSend[23395]: --> [2:OK]
Sep 14 22:17:09 anansi FaxSend[23395]: STATE CHANGE: BASE -> RUNNING
Sep 14 22:17:09 anansi FaxSend[23395]: MODEM input buffering disabled
Sep 14 22:17:09 anansi FaxSend[23395]: SEND FAX: JOB 8 DEST +31.75.6707735 COMMID 00000038
Sep 14 22:18:19 anansi FaxSend[23395]: SEND FAILED: No answer from remote