Hylafax Mailing List Archives

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

[hylafax-users] COMREC invalid response received



Hello,

I?m having problems with Hylafax 4.2beta2 on Suse 7.0.  For some reason, I often get an error like:

?REMOTE HANGUP: COMREC invalid response received (code 102)? for a class 2 modem

or

?RECV FAX (00011271): session with 32 2 3600072 terminated abnormally: COMREC received DCN? on a class 1 modem.

In a test, I sent 3 faxes from the _same_ fax device, and the second resulted in a COMREC invalid response error (however I never got an error message back to my fax device).  What does this error actually mean?

The system has 4 modems installed (2 internal class 2, 2 external class 1) which seem to be working properly (no irq conflicts) and I can send at-commands to all devices using ?cu?.  We are only having this problem since we moved to another location.  However, phone lines has been tested by our phone provider and they don?t see a quality problem over there.  (Because I often get rejected faxes due to too many bad lines).  About 2 faxes on 10 is having problems (and we get dozens of them every day).

During tests, only 1 of the modems was used at a time, but all modems seem to have problems.  Sometimes this COMREC problem, sometimes ?RECV FAX (00011265): session with 32 15 454753 terminated abnormally: T.30 T2 timeout, expected page not received?

For my class 2 modems, Hylafax sets 
?ModemSetupAACmd:        AT+FAA=1+FCLASS=0 # enable in current class?
by default... shouldn?t this be FCLASS=2?

Any help would be much appreciated!
Regards,

Frido Roose
System engineer


=== The log of an unsuccessful transmission on a class 2 modem: ===

Oct 29 14:49:06.74: [ 9282]: SESSION BEGIN 00011276 3215454546
Oct 29 14:49:06.74: [ 9282]: <-- [4:ATA\r]
Oct 29 14:49:07.97: [ 9282]: --> [3:FAX]
Oct 29 14:49:07.97: [ 9282]: MODEM set baud rate: 19200 baud (flow control unchanged)
Oct 29 14:49:07.97: [ 9282]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Oct 29 14:49:07.97: [ 9282]: ANSWER: FAX CONNECTION
Oct 29 14:49:07.97: [ 9282]: MODEM input buffering enabled
Oct 29 14:49:07.97: [ 9282]: RECV FAX: begin
Oct 29 14:49:13.88: [ 9282]: --> [5:+FCON]
Oct 29 14:49:15.48: [ 9282]: --> [29:+FTSI: "        32 15 454381?]
Oct 29 14:49:15.48: [ 9282]: REMOTE TSI "32 15 454381?
Oct 29 14:49:15.88: [ 9282]: --> [22:+FDCS: 0,5,0,2,0,0,0,1]
Oct 29 14:49:15.88: [ 9282]: REMOTE wants 14400 bit/s
Oct 29 14:49:15.88: [ 9282]: REMOTE wants page width 1728 pixels in 215 mm
Oct 29 14:49:15.88: [ 9282]: REMOTE wants unlimited page length
Oct 29 14:49:15.88: [ 9282]: REMOTE wants 3.85 line/mm
Oct 29 14:49:15.88: [ 9282]: REMOTE wants 1-D MR
Oct 29 14:49:15.88: [ 9282]: --> [2:OK]
Oct 29 14:49:15.88: [ 9282]: <-- [7:AT+FDR\r]
Oct 29 14:49:18.84: [ 9282]: --> [5:+FCFR]
Oct 29 14:49:21.29: [ 9282]: --> [22:+FDCS: 0,5,0,2,0,0,0,1]
Oct 29 14:49:21.29: [ 9282]: REMOTE wants 14400 bit/s
Oct 29 14:49:21.29: [ 9282]: REMOTE wants page width 1728 pixels in 215 mm
Oct 29 14:49:21.29: [ 9282]: REMOTE wants unlimited page length
Oct 29 14:49:21.29: [ 9282]: REMOTE wants 3.85 line/mm
Oct 29 14:49:21.29: [ 9282]: REMOTE wants 1-D MR
Oct 29 14:49:21.29: [ 9282]: --> [7:CONNECT]
Oct 29 14:49:21.29: [ 9282]: RECV: begin page
Oct 29 14:49:21.29: [ 9282]: MODEM set XON/XOFF/FLUSH: input ignored, output generated
Oct 29 14:49:21.29: [ 9282]: RECV: send trigger 021
Oct 29 14:49:21.29: [ 9282]: <-- data [1]
Oct 29 14:49:41.43: [ 9282]: RECV: 495 total lines, 0 bad lines, 0 consecutive bad lines
Oct 29 14:49:41.43: [ 9282]: MODEM set XON/XOFF/DRAIN: input interpreted, output disabled
Oct 29 14:49:41.43: [ 9282]: --> [17:+FPTS: 1,2219,0,0]
Oct 29 14:49:52.94: [ 9282]: --> [10:+FHNG: 102]
Oct 29 14:49:52.94: [ 9282]: REMOTE HANGUP: COMREC invalid response received (code 102)
Oct 29 14:49:54.76: [ 9282]: --> [2:OK]
Oct 29 14:49:54.76: [ 9282]: RECV FAX (00011276): recvq/fax10768.tif from 32 15 454381, route to <unspecified>, 0 pages in 0:47
Oct 29 14:49:54.76: [ 9282]: RECV FAX: COMREC invalid response received
Oct 29 14:49:54.76: [ 9282]: RECV FAX (00011276): session with 32 15 454381 terminated abnormally: COMREC invalid response received
Oct 29 14:49:54.76: [ 9282]: RECV FAX: bin/faxrcvd ?recvq/fax10768.tif? ?modem3" "00011276" ?COMREC invalid response received"
Oct 29 14:49:54.94: [ 9282]: RECV FAX: end
Oct 29 14:49:54.94: [ 9282]: SESSION END



=== Configuration file of modem (internal Rockwell AC/K56) ===

CountryCode:            32
AreaCode:               15
FAXNumber:              ?+32 15 454501?
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          527
SessionTracing:         527
RecvFileMode:           0666
LogFileMode:            0666
DeviceMode:             0666
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              ?-h %l dx_%s"
LocalIdentifier:        ?KETELS FAX2?
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          ?From %%l|%c|Page %%p of %%t"
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class2          # use class 2 interface
ModemRate:              38400
ModemFlowControl:       rtscts          # default
#
#ModemResetCmds:        AT&F2           # what you want for a Supra
ModemNoFlowCmd:         AT&K            # disable flow control cmd
ModemHardFlowCmd:       AT&K3           # hardware flow control cmd
ModemSoftFlowCmd:       AT&K4           # software flow control cmd
ModemSetupDTRCmd:       AT&D3           # DTR off causes modem to reset
#ModemSetupDTRCmd:      AT&D2S25=1S38=0 # Dynalink 1414VE needs this
ModemSetupDCDCmd:       AT&C1           # DCD follows carrier
ModemSetupAACmd:        AT+FAA=1+FCLASS=0 # enable in current class
#
ModemSendFillOrder:     LSB2MSB         # as expected
ModemRecvFillOrder:     MSB2LSB         # opposite of what makes sense
#
ModemAnswerFaxBeginCmd: ?<19200><xon>?  # modem switches on fax receive
#
# Caller ID configuration setup for Supra.
#
#QualifyCID:            etc/cid         # CID access control list file
#CIDNumber:             ?NMBR = "       # pattern string for phone number info
#CIDName:               ?NAME = "       # pattern string for identity info


-----------------------------------------------------
Mail.be, Free WebMail and Virtual Office
http://www.mail.be



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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services