HylaFAX The world's most advanced open source fax server

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

[hylafax-users] MODEM Command Error



I am seeing certain repeatable MODEM COMMAND Errors in my logs coming
from certain senders when receiving faxes. In reference to this post
"http://www.hylafax.org/archive/2006-05/msg00262.php"; it seemed to me
something worth reporting. Below is the log session and after it is my
config.ttySx file. I am using the generic Class 1 config. Though I
have this feeling I'd need some USR specific class1 config ? not too
sure about that. In the referenced post it was said that this is an
issue when hylafax communicates to the modem.

Hylafax+ 5.1.2
US Robotics 56k external modem USR5631

May 07 12:34:18.57: [31707]: SESSION BEGIN 000000316 +961xxxxxxxxx
May 07 12:34:18.57: [31707]: HylaFAX (tm) Version 5.1.2
May 07 12:34:18.57: [31707]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
May 07 12:34:18.57: [31707]: <-- [4:ATA\r]
May 07 12:34:24.55: [31707]: --> [7:CONNECT]
May 07 12:34:24.55: [31707]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS5'
May 07 12:34:24.55: [31707]: STATE CHANGE: ANSWERING -> RECEIVING
May 07 12:34:24.55: [31707]: RECV FAX: begin
May 07 12:34:24.55: [31707]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 AC  74 8C 74 4C>
May 07 12:34:24.55: [31707]: <-- data [32]
May 07 12:34:24.55: [31707]: <-- data [2]
May 07 12:34:26.57: [31707]: --> [7:CONNECT]
May 07 12:34:26.57: [31707]: <-- HDLC<23:FF C0 02 4E A6 6E 4E A6 CA 04
1E 86 62 04 B2 F2 32 42 04 04 04 04 04>
May 07 12:34:26.57: [31707]: <-- data [23]
May 07 12:34:26.57: [31707]: <-- data [2]
May 07 12:34:27.40: [31707]: --> [7:CONNECT]
May 07 12:34:27.40: [31707]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 1E>
May 07 12:34:27.40: [31707]: <-- data [13]
May 07 12:34:27.40: [31707]: <-- data [2]
May 07 12:34:28.03: [31707]: --> [2:OK]
May 07 12:34:28.03: [31707]: <-- [9:AT+FRH=3\r]
May 07 12:34:35.04: [31707]: --> [0:]
May 07 12:34:35.04: [31707]: MODEM <Empty line>
May 07 12:34:35.04: [31707]: MODEM TIMEOUT: waiting for v.21 carrier
May 07 12:34:35.04: [31707]: <-- data [1]
May 07 12:34:35.10: [31707]: --> [2:OK]
May 07 12:34:35.10: [31707]: <-- [9:AT+FRS=7\r]
May 07 12:34:35.25: [31707]: --> [2:OK]
May 07 12:34:35.25: [31707]: <-- [9:AT+FTH=3\r]
May 07 12:34:35.32: [31707]: --> [7:CONNECT]
May 07 12:34:35.32: [31707]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 AC  74 8C 74 4C>
May 07 12:34:35.32: [31707]: <-- data [32]
May 07 12:34:35.32: [31707]: <-- data [2]
May 07 12:34:37.35: [31707]: --> [7:CONNECT]
May 07 12:34:37.35: [31707]: <-- HDLC<23:FF C0 02 4E A6 6E 4E A6 CA 04
1E 86 62 04 B2 F2 32 42 04 04 04 04 04>
May 07 12:34:37.35: [31707]: <-- data [23]
May 07 12:34:37.35: [31707]: <-- data [2]
May 07 12:34:38.17: [31707]: --> [7:CONNECT]
May 07 12:34:38.17: [31707]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 1E>
May 07 12:34:38.17: [31707]: <-- data [13]
May 07 12:34:38.17: [31707]: <-- data [2]
May 07 12:34:38.81: [31707]: --> [2:OK]
May 07 12:34:38.81: [31707]: <-- [9:AT+FRH=3\r]
May 07 12:34:39.46: [31707]: --> [7:CONNECT]
May 07 12:34:40.88: [31707]: --> HDLC<25:FF C0 C2 1C 2C AC 8C 1C 6C 04
8C 04 8C 6C 9C 04 04 04 04 04 04 04 04 C8 56>
May 07 12:34:40.89: [31707]: --> [2:OK]
May 07 12:34:40.89: [31707]: REMOTE TSI "961 x xxxxxx"
May 07 12:34:40.89: [31707]: <-- [9:AT+FRH=3\r]
May 07 12:34:40.94: [31707]: --> [7:CONNECT]
May 07 12:34:41.20: [31707]: --> HDLC<9:FF C8 C1 00 61 1F 22 3A ED>
May 07 12:34:41.21: [31707]: --> [2:OK]
May 07 12:34:41.21: [31707]: REMOTE wants 9600 bit/s
May 07 12:34:41.21: [31707]: REMOTE wants A4 page width (215 mm)
May 07 12:34:41.21: [31707]: REMOTE wants unlimited page length
May 07 12:34:41.21: [31707]: REMOTE wants 3.85 line/mm
May 07 12:34:41.21: [31707]: REMOTE wants 2-D MMR
May 07 12:34:41.21: [31707]: REMOTE wants T.30 Annex A, 256-byte ECM
May 07 12:34:41.21: [31707]: RECV training at v.29 9600 bit/s
May 07 12:34:41.21: [31707]: MODEM set XON/XOFF/DRAIN: input ignored,
output generated
May 07 12:34:41.21: [31707]: <-- [10:AT+FRM=96\r]
May 07 12:34:41.79: [31707]: --> [7:CONNECT]
May 07 12:34:46.30: [31707]: MODEM TIMEOUT: receiving TCF
May 07 12:34:46.30: [31707]: <-- data [1]
May 07 12:34:46.37: [31707]: --> [2:]
May 07 12:34:46.37: [31707]: --> [2:OK]
May 07 12:34:46.37: [31707]: MODEM set XON/XOFF/DRAIN: input ignored,
output disabled
May 07 12:34:46.37: [31707]: <-- [9:AT+FRS=7\r]
May 07 12:35:04.31: [31707]: --> [10:NO CARRIER]
May 07 12:35:04.31: [31707]: MODEM No carrier
May 07 12:35:04.31: [31707]: Failure to receive silence.
May 07 12:35:04.31: [31707]: <-- [9:AT+FRH=3\r]
May 07 12:35:04.36: [31707]: --> [5:ERROR]
May 07 12:35:04.36: [31707]: MODEM Command error
May 07 12:35:04.36: [31707]: RECV FAX: RSPREC error/got EOT
May 07 12:35:04.36: [31707]: RECV FAX: end
May 07 12:35:04.36: [31707]: SESSION END
-------
#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:            961
AreaCode:               01
FAXNumber:              123124
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         0xFFF
RecvFileMode:           0644
LogFileMode:            0640
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Company Fax Server"
LogFacility:            local0
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           999
#
#
# 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:             "-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:          ATDT%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:                ""              # 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     # command to enter class 1
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait before PPM
Class1TCFWaitCmd:       AT+FTS=7        # command to stop and wait before TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait before EOP
Class1SwitchingCmd:     AT+FRS=7        # silence between HDLC recv and trans
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
--
"Nothing is impossible for the person that doesn't have to do it"
"The probability of anything happening is in inverse ratio to its desirability"
"If I were a roman statue, I'd be made alabastard"
--
George H
george.dma@xxxxxxxxx

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




Project hosted by iFAX Solutions