HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Multitech MT1932ZDX Class1 config



I am trying to troubleshoot some transmission errors we've been having to
some numbers, No response to EOP repeated 3 times; Giving up after 3
attempts to send same page, No answer (T.30 T1 timeout); too many attempts
to dial, and No carrier detected. As part of this I have been trying to
configure the modem, a Multitech MT1932ZDX, as Class1. When I do this and
try to send a fax, faxstat reports "Modem ttyS0 (1.952.593.9787):Waiting for
modem to come free", continuously, and no transmission is attempted. I
turned up the server tracing and appended some output from my log that
appears to indicate the issue, but I'm not sure what it means. Which brings
me to my questions:

1.Is trying Class1 a good direction to take in trying to troubleshoot these
issues?
2 Is there something wrong with the my config file (also appended)? I am
assuming this would be the issue, and I would appreciate any tips.
I tried running faxaddmodem to see if I could use that to add it as Class1,
but it just goes with Class2.
3.I think I know what the EOP error constitutes, but what is the T.30 T1
timeout? And does No carrier detected mean no dial tone detected?

Thanks,

Josh



#tail -f /var/log/messages
Oct 12 11:02:23 faxbuffalowildwings FaxGetty[9820]: MODEM Command error
Oct 12 11:02:23 faxbuffalowildwings FaxGetty[9820]: MODEM set DTR OFF
Oct 12 11:02:23 faxbuffalowildwings FaxGetty[9820]: /dev/ttyS0: Can not
initialize modem.
Oct 12 11:02:53 faxbuffalowildwings FaxGetty[9820]: MODEM set DTR OFF
Oct 12 11:02:53 faxbuffalowildwings FaxGetty[9820]: DELAY 75 ms
Oct 12 11:02:53 faxbuffalowildwings FaxGetty[9820]: MODEM set DTR ON
Oct 12 11:02:53 faxbuffalowildwings FaxGetty[9820]: DELAY 2600 ms
Oct 12 11:02:55 faxbuffalowildwings FaxGetty[9820]: MODEM set baud rate:
19200 baud, input flow XON/XOFF, output flow XON/XOFF
Oct 12 11:02:55 faxbuffalowildwings FaxGetty[9820]: MODEM flush i/o
Oct 12 11:02:55 faxbuffalowildwings FaxGetty[9820]: <-- [4:ATZ\r]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: <-- [5:ATE0\r]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: --> [4:ATE0]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: <-- [5:ATV1\r]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:56 faxbuffalowildwings FaxGetty[9820]: <-- [5:ATQ0\r]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: <-- [7:ATS0=0\r]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: <-- [7:ATS8=2\r]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:57 faxbuffalowildwings FaxGetty[9820]: <-- [8:ATS7=60\r]
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: --> [2:OK]
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: <-- [6:AT&K4\r]
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: --> [5:ERROR]
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: MODEM Command error
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: MODEM set DTR OFF
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: DELAY 75 ms
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: MODEM set DTR ON
Oct 12 11:02:58 faxbuffalowildwings FaxGetty[9820]: DELAY 2600 ms

################################Config File###########################3
#
CountryCode:            1
AreaCode:               952
FAXNumber:              1.952.593.9787
LongDistancePrefix:     1
AreaCode:               952
FAXNumber:              1.952.593.9787
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules.ttyS0
ServerTracing:          1
SessionTracing:         0xFFF
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "BUFFALO WILD WINGS"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
############################################################################
####
#
#      Stuff to config modem as Class2
#
############################################################################
####
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
#ModemType:              Class2          # use class 2 interface
#ModemRate:              38400           # lock rate for DCE-DTE
communication
#ModemFlowControl:       rtscts          # default
#
#ModemHardFlowCmd:       AT&E4           # hardware flow control
#ModemSoftFlowCmd:       AT&E5           # software flow control
#ModemSetupDTRCmd:       AT&D3           # setup so DTR drop resets modem
#ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier (or
not)
#ModemSetupAACmd:        AT+FAA=1        # enable adaptive-answer in class 2
#
# NB: some models get confused by the @
#
#ModemDialCmd:           ATDT9%s@                # T for tone dialing, @ for
silence
#
#Class2RecvDataTrigger:  "\022"          # character sent to modem to start
recv
############################################################################
####
#
#      Stuff to config modem as Class1
#
############################################################################
####
#
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:             "-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:          ATDT9%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
#
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
Class1SwitchingDelay:   150             # 150ms delay in switching
transmission direction
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




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





Project hosted by iFAX Solutions