HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problems with



Hello,

I've got two Multitech Multimodem ZBA fax modems on two different
servers running hylafax. When I try to send a fax to any of them, the
transmission aborts with errors and the modem hangs -> faxgetty
remains in the state "Waiting for modem to come ready" until I re-plug
the modem.

I configured the modems using the "faxaddmodem" script. Is there
something I have to do manually to make it work? Where else could be
the problem?

This is a log from such a transmission:

Mar 14 12:14:28.85: [ 3739]: SESSION BEGIN 000000028 4313680123
Mar 14 12:14:28.85: [ 3739]: HylaFAX (tm) Version 4.3.1
Mar 14 12:14:28.85: [ 3739]: <-- [4:ATA\r]
Mar 14 12:14:41.97: [ 3739]: --> [4:+FCO]
Mar 14 12:14:41.97: [ 3739]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Mar 14 12:14:41.97: [ 3739]: RECV FAX: begin
Mar 14 12:14:42.01: [ 3739]: --> [27:+FTI:"hfaxee.enerbility.co"]
Mar 14 12:14:42.01: [ 3739]: REMOTE TSI "hfaxee.enerbility.co"
Mar 14 12:14:42.35: [ 3739]: --> [22:+FCS:1,0,0,2,3,1,0,0,0]
Mar 14 12:14:42.35: [ 3739]: REMOTE wants 2400 bit/s
Mar 14 12:14:42.35: [ 3739]: REMOTE wants A4 page width (215 mm)
Mar 14 12:14:42.35: [ 3739]: REMOTE wants unlimited page length
Mar 14 12:14:42.35: [ 3739]: REMOTE wants 7.7 line/mm
Mar 14 12:14:42.35: [ 3739]: REMOTE wants 2-D MMR
Mar 14 12:14:42.35: [ 3739]: REMOTE wants T.30 Annex A, 256-byte ECM
Mar 14 12:14:42.35: [ 3739]: --> [2:OK]
Mar 14 12:14:42.35: [ 3739]: <-- [7:AT+FDR\r]
Mar 14 12:14:47.67: [ 3739]: --> [7:CONNECT]
Mar 14 12:14:47.67: [ 3739]: RECV: begin page
Mar 14 12:14:47.67: [ 3739]: RECV: send trigger 022
Mar 14 12:14:47.67: [ 3739]: <-- data [1]
Mar 14 12:14:47.67: [ 3739]: Copy quality checking performed by modem
Mar 14 12:19:31.04: [ 3739]: <-- data [1]
Mar 14 12:19:31.04: [ 3739]: RECV: Missing EOL after 5 seconds
Mar 14 12:19:31.05: [ 3739]: REMOTE HANGUP: Missing EOL after 5
seconds (section 3.2/T.4) (code 91)
Mar 14 12:19:31.05: [ 3739]: RECV FAX (000000028):
recvq/fax000000024.tif from hfaxee.enerbility.co, route to
<unspecified>, 0 pages in 4:49
Mar 14 12:19:31.05: [ 3739]: RECV FAX: Missing EOL after 5 seconds
(section 3.2/T.4)
Mar 14 12:19:31.05: [ 3739]: <-- [7:AT+FKS\r]
Mar 14 12:20:01.05: [ 3739]: MODEM <Timeout>
Mar 14 12:20:01.05: [ 3739]: RECV FAX (000000028): session with
hfaxee.enerbility.co terminated abnormally: Missing EOL after 5
seconds (section 3.2/T.4)
Mar 14 12:20:01.05: [ 3739]: RECV FAX: bin/faxrcvd
"recvq/fax000000024.tif" "ttyS0" "000000028" "Missing EOL after 5
seconds (section 3.2/T.4)"
Mar 14 12:20:01.06: [ 3739]: RECV FAX: end
Mar 14 12:20:01.06: [ 3739]: SESSION END


This is my config for both modems (generated by faxaddmodem):

# $Id: lucent,v 1.22 2005/12/05 15:48:54 darren Exp $
# ...
#
CountryCode:            43
AreaCode:               1
FAXNumber:              +43.1.3680123
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "production.enerbility.com"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#

ModemType:              Class2.1        # use this to supply a hint
#ModemFlowControl:      rtscts          # many firmwares have broken
software flow control
#Class1TMConnectDelay:  400             # counteract quick CONNECT response

# If your line supports Caller-ID, you may want to uncomment this...
# ModemResetCmds:       AT+VCID=1
# CallIDPattern:        "NMBR="
# CallIDPattern:        "NAME="

# Or with the MT5634ZBA-DID you'll probably need something like...
# ModemReadyCmds:       AT*DS1*DD0*DF1*DN4      # enable DTMF-DID,
wink-start, 4 digits
# CallIDPattern:        "DTMF"          # format of AT*DF1
# CallIDAnswerLength:   4               # four DTMF-DID digits then ATA
#
# Configuration parameters for Class 2.1 modems.
#
Class2Cmd:              AT+FCLASS=2.1   # command to enter class 2.1
Class2BORCmd:           AT+FBO=0        # bit order for phase B/C/D (direct)
Class2CQCmd:            ""              # commands to enable copy quality proc.
Class2AbortCmd:         AT+FKS          # abort session command
Class2CQQueryCmd:       AT+FCQ=?        # query for copy quality capabilities
Class2DCCQueryCmd:      AT+FCC=?        # query for modem capabilities
Class2TBCCmd:           AT+FPP=0        # setup stream mode
Class2CRCmd:            AT+FCR=1        # enable capability to receive
Class2PHCTOCmd:         AT+FCT=30       # set phase C timeout parameter
Class2BUGCmd:           AT+FBU=1        # enable HDLC frame tracing
Class2LIDCmd:           AT+FLI          # set local identifier command
Class2DCCCmd:           AT+FCC          # set modem capabilities command
Class2DISCmd:           AT+FIS          # set session parameters command
Class2DDISCmd:          ""              # disable pre-dial DIS command hack
Class2CIGCmd:           AT+FPI          # set polling identifier command
Class2NRCmd:            AT+FNR=1,1,1,1  # setup status reporting command
Class2PIECmd:           AT+FIE=0        # disable interrupt-enable command
Class2PTSCmd:           AT+FPS          # set post-page status command
Class2SPLCmd:           AT+FSP          # set polling indicator command
Class2NFLOCmd:          AT+FLO=0        # set no flow control command
Class2SFLOCmd:          AT+FLO=1        # set software flow control command
Class2HFLOCmd:          AT+FLO=2        # set hardware flow control command

Thanks!

-- 
Stefan Unterhofer

enerbility software gmbh
Hackhofergasse 18
AT-1190 Vienna


____________________ 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