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 Acorp external 56K modem [LONG]



hi!

 i have problems with an ACORP 56000 External Data/Fax/Modem.
i'm using the newest hylafax, and it faxes everything to some faxes, but
we've got problems with the other 50% of the faxes.

here is the log.

Jun 24 14:18:14.85: [ 6276]: SESSION BEGIN 00000105 361202
Jun 24 14:18:14.85: [ 6276]: HylaFAX (tm) Version 4.1.6
Jun 24 14:18:14.85: [ 6276]: SEND FAX: JOB 6 DEST 202 COMMID 00000105
DEVICE '/dev/ttyS1'
Jun 24 14:18:14.85: [ 6276]: DELAY 75 ms
Jun 24 14:18:14.93: [ 6276]: DELAY 2600 ms
Jun 24 14:18:18.54: [ 6276]: DELAY 10 ms
Jun 24 14:18:18.55: [ 6276]: <-- [4:ATZ\r]
Jun 24 14:18:18.73: [ 6276]: --> [2:OK]
Jun 24 14:18:18.73: [ 6276]: DELAY 3000 ms
Jun 24 14:18:21.73: [ 6276]: <-- [19:AT&F&D2&C1&K3S7=55\r]
Jun 24 14:18:21.84: [ 6276]: --> [18:AT&F&D2&C1&K3S7=55]
Jun 24 14:18:21.84: [ 6276]: --> [2:OK]
Jun 24 14:18:21.84: [ 6276]: <-- [5:ATE0\r]
Jun 24 14:18:21.94: [ 6276]: --> [4:ATE0]
Jun 24 14:18:21.94: [ 6276]: --> [2:OK]
Jun 24 14:18:21.94: [ 6276]: <-- [5:ATV1\r]
Jun 24 14:18:22.04: [ 6276]: --> [2:OK]
Jun 24 14:18:22.04: [ 6276]: <-- [5:ATQ0\r]
Jun 24 14:18:22.14: [ 6276]: --> [2:OK]
Jun 24 14:18:22.14: [ 6276]: <-- [7:ATS0=0\r]
Jun 24 14:18:22.25: [ 6276]: --> [2:OK]
Jun 24 14:18:22.25: [ 6276]: <-- [7:ATS8=2\r]
Jun 24 14:18:22.35: [ 6276]: --> [2:OK]
Jun 24 14:18:22.35: [ 6276]: <-- [8:ATS7=60\r]
Jun 24 14:18:22.45: [ 6276]: --> [2:OK]
Jun 24 14:18:22.46: [ 6276]: <-- [6:AT&K2\r]
Jun 24 14:18:22.56: [ 6276]: --> [2:OK]
Jun 24 14:18:22.56: [ 6276]: <-- [6:AT&D2\r]
Jun 24 14:18:22.65: [ 6276]: --> [2:OK]
Jun 24 14:18:22.66: [ 6276]: <-- [6:AT&C1\r]
Jun 24 14:18:22.75: [ 6276]: --> [2:OK]
Jun 24 14:18:22.76: [ 6276]: <-- [12:AT+FCLASS=1\r]
Jun 24 14:18:22.87: [ 6276]: --> [2:OK]
Jun 24 14:18:22.87: [ 6276]: <-- [7:ATL1M1\r]
Jun 24 14:18:22.96: [ 6276]: --> [2:OK]
Jun 24 14:18:22.97: [ 6276]: <-- [12:AT+FCLASS=1\r]
Jun 24 14:18:23.17: [ 6276]: --> [2:OK]
Jun 24 14:18:23.18: [ 6276]: DIAL 202
Jun 24 14:18:23.18: [ 6276]: <-- [17:AT+FCLASS=1DT202\r]
Jun 24 14:18:37.56: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:39.71: [ 6276]: --> [2:OK]
Jun 24 14:18:39.71: [ 6276]: REMOTE CSI "+36 (1) 319-7122"
Jun 24 14:18:39.71: [ 6276]: <-- [9:AT+FRH=3\r]
Jun 24 14:18:39.73: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:40.44: [ 6276]: --> [2:OK]
Jun 24 14:18:40.44: [ 6276]: REMOTE best rate 14400 bit/s
Jun 24 14:18:40.44: [ 6276]: REMOTE max page width 1728 pixels in 215 mm
Jun 24 14:18:40.44: [ 6276]: REMOTE max unlimited page length
Jun 24 14:18:40.44: [ 6276]: REMOTE best vres 7.7 line/mm
Jun 24 14:18:40.44: [ 6276]: REMOTE best format 1-D MR
Jun 24 14:18:40.44: [ 6276]: REMOTE best 0 ms/scanline
Jun 24 14:18:40.44: [ 6276]: USE 14400 bit/s
Jun 24 14:18:40.44: [ 6276]: USE 0 ms/scanline
Jun 24 14:18:40.44: [ 6276]: SEND file "docq/doc6.cover;00"
Jun 24 14:18:40.44: [ 6276]: USE page width 1728 pixels in 215 mm
Jun 24 14:18:40.44: [ 6276]: USE unlimited page length
Jun 24 14:18:40.44: [ 6276]: USE 3.85 line/mm
Jun 24 14:18:40.44: [ 6276]: USE 1-D MR
Jun 24 14:18:40.44: [ 6276]: SEND training at v.17 14400 bit/s
Jun 24 14:18:40.44: [ 6276]: <-- [9:AT+FTH=3\r]
Jun 24 14:18:40.49: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:40.49: [ 6276]: <-- data [23]
Jun 24 14:18:40.49: [ 6276]: <-- data [2]
Jun 24 14:18:40.52: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:40.52: [ 6276]: <-- data [6]
Jun 24 14:18:40.52: [ 6276]: <-- data [2]
Jun 24 14:18:42.69: [ 6276]: --> [2:OK]
Jun 24 14:18:42.69: [ 6276]: <-- [9:AT+FTS=7\r]
Jun 24 14:18:42.71: [ 6276]: --> [2:OK]
Jun 24 14:18:42.71: [ 6276]: <-- [11:AT+FTM=145\r]
Jun 24 14:18:44.39: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:44.39: [ 6276]: <-- data [1024]
Jun 24 14:18:44.39: [ 6276]: <-- data [1024]
Jun 24 14:18:44.39: [ 6276]: <-- data [652]
Jun 24 14:18:44.39: [ 6276]: <-- data [2]
Jun 24 14:18:45.94: [ 6276]: --> [2:OK]
Jun 24 14:18:45.94: [ 6276]: <-- [9:AT+FRH=3\r]
Jun 24 14:18:46.97: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:49.17: [ 6276]: --> [2:OK]
Jun 24 14:18:49.17: [ 6276]: TRAINING succeeded
Jun 24 14:18:49.17: [ 6276]: DELAY 75 ms
Jun 24 14:18:49.25: [ 6276]: <-- [11:AT+FTM=146\r]
Jun 24 14:18:49.75: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:49.75: [ 6276]: SEND begin page
Jun 24 14:18:49.75: [ 6276]: <-- data [1028]
Jun 24 14:18:49.75: [ 6276]: <-- data [1032]
Jun 24 14:18:49.75: [ 6276]: <-- data [1041]
Jun 24 14:18:49.75: [ 6276]: <-- data [1043]
Jun 24 14:18:51.75: [ 6276]: <-- data [1039]
Jun 24 14:18:51.75: [ 6276]: <-- data [1063]
Jun 24 14:18:51.75: [ 6276]: <-- data [1043]
Jun 24 14:18:51.75: [ 6276]: <-- data [1046]
Jun 24 14:18:53.75: [ 6276]: <-- data [1036]
Jun 24 14:18:53.75: [ 6276]: <-- data [1037]
Jun 24 14:18:53.75: [ 6276]: <-- data [1024]
Jun 24 14:18:53.75: [ 6276]: <-- data [196]
Jun 24 14:18:53.75: [ 6276]: SENT 11460 bytes of data
Jun 24 14:18:53.75: [ 6276]: SEND 1D RTC
Jun 24 14:18:53.75: [ 6276]: <-- data [29]
Jun 24 14:18:53.75: [ 6276]: <-- data [2]
Jun 24 14:18:53.75: [ 6276]: SEND end page
Jun 24 14:18:56.42: [ 6276]: --> [2:OK]
Jun 24 14:18:56.42: [ 6276]: <-- [9:AT+FTS=7\r]
Jun 24 14:18:56.44: [ 6276]: --> [2:OK]
Jun 24 14:18:56.44: [ 6276]: SEND send MPS (more pages, same document)
Jun 24 14:18:56.44: [ 6276]: <-- [9:AT+FTH=3\r]
Jun 24 14:18:56.49: [ 6276]: --> [7:CONNECT]
Jun 24 14:18:56.49: [ 6276]: <-- data [3]
Jun 24 14:18:56.49: [ 6276]: <-- data [2]
Jun 24 14:18:57.81: [ 6276]: --> [2:OK]
Jun 24 14:18:57.81: [ 6276]: <-- [9:AT+FRH=3\r]
Jun 24 14:19:00.91: [ 6276]: --> [0:]
Jun 24 14:19:00.91: [ 6276]: MODEM <Empty line>
Jun 24 14:19:00.91: [ 6276]: <-- data [1]
Jun 24 14:19:01.11: [ 6276]: MODEM <Timeout>
Jun 24 14:19:01.11: [ 6276]: SEND send MPS (more pages, same document)
Jun 24 14:19:01.11: [ 6276]: <-- [9:AT+FTH=3\r]
Jun 24 14:19:01.16: [ 6276]: --> [7:CONNECT]
Jun 24 14:19:01.16: [ 6276]: <-- data [3]
Jun 24 14:19:01.16: [ 6276]: <-- data [2]
Jun 24 14:19:02.48: [ 6276]: --> [2:OK]
Jun 24 14:19:02.48: [ 6276]: <-- [9:AT+FRH=3\r]
Jun 24 14:19:05.58: [ 6276]: --> [0:]
Jun 24 14:19:05.58: [ 6276]: MODEM <Empty line>
Jun 24 14:19:05.58: [ 6276]: <-- data [1]
Jun 24 14:19:05.78: [ 6276]: MODEM <Timeout>
Jun 24 14:19:05.78: [ 6276]: SEND send MPS (more pages, same document)
Jun 24 14:19:05.78: [ 6276]: <-- [9:AT+FTH=3\r]
Jun 24 14:19:05.83: [ 6276]: --> [7:CONNECT]
Jun 24 14:19:05.83: [ 6276]: <-- data [3]
Jun 24 14:19:05.83: [ 6276]: <-- data [2]
Jun 24 14:19:07.15: [ 6276]: --> [2:OK]
Jun 24 14:19:07.15: [ 6276]: <-- [9:AT+FRH=3\r]
Jun 24 14:19:10.25: [ 6276]: --> [0:]
Jun 24 14:19:10.25: [ 6276]: MODEM <Empty line>
Jun 24 14:19:10.25: [ 6276]: <-- data [1]
Jun 24 14:19:10.45: [ 6276]: MODEM <Timeout>
Jun 24 14:19:10.45: [ 6276]: No response to MPS or EOP repeated 3 tries
Jun 24 14:19:10.45: [ 6276]: SEND: No response to MPS or EOP repeated 3
tries; Giving up after 3 attempts to send same page "docq/doc6.cover;00",
dirnum 0
Jun 24 14:19:10.45: [ 6276]: <-- [9:AT+FTH=3\r]
Jun 24 14:19:10.50: [ 6276]: --> [7:CONNECT]
Jun 24 14:19:10.50: [ 6276]: <-- data [3]
Jun 24 14:19:10.50: [ 6276]: <-- data [2]
Jun 24 14:19:11.82: [ 6276]: --> [2:OK]
Jun 24 14:19:11.82: [ 6276]: <-- [5:ATH0\r]
Jun 24 14:19:12.25: [ 6276]: --> [10:NO CARRIER]
Jun 24 14:19:12.25: [ 6276]: MODEM No carrier
Jun 24 14:19:12.25: [ 6276]: SESSION END

When it starts, it seems like working, but later it drops the carrier. and
i don't know why. we tried the modem in a fax machine with windows, and
there it worked. we tried those init strings, but the problem remained the
same.

Here is the config:

CountryCode:		36
AreaCode:		1
FAXNumber:		+36.1.319.xxxx
LongDistancePrefix:	06
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		low
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"R-mediaLine"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		25
Use2D:        yes
#
#
# 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:	rtscts		# RTS/CTS flow control assumed
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
# 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:		AT+FCLASS=1DT%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:		AT+FCLASS=1
ModemResetCmds:		AT&F&D2&C1&K3S7=55
ModemAnswerCmd:		ATA		# use this to answer phone
#ModemNoFlowCmd:		AT&K		# disable flow control cmd
#ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K2		# 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&F&D2&C1&K&S7=55+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
Class1MsgRecvHackCmd:   ""      # command to avoid +FCERROR before image
Class1TCFResponseDelay: 75              # 75ms delay between recv TCF & response
Class1SendMsgDelay:     75              # 75ms delay after training
Class1SwitchingCmd:     AT+FRS=7        # silence between HDLC recv and trans
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
Class1NFLOCmd:AT&H0&I0&R1		# setup modem for no flow control
#Class1HFLOCmd:AT&H1&I0&R2		# setup modem for hardware flow control
#Class1SFLOCmd:""			# modem does this automatically
#ModemWaitForConnect: yes

I tried several types of flow control, maybe i made some mistake.

and finally, probemodem's output:

Probing for best speed to talk to modem: 38400 OK.

This looks like a Class 1 modem.

ATI0    RESULT = "OK"   RESPONSE = "TP560 Data/Fax/Voice 56K Modem"
ATI1    RESULT = "OK"   RESPONSE = "External Controller Ver3.00,
CheckSum=B394"
ATI2    RESULT = "OK"   RESPONSE = "TEST OK!"
ATI3    RESULT = "OK"   RESPONSE = "TP560 Data/Fax/Voice 56K Modem"
ATI4    RESULT = "OK"   RESPONSE = "DSP Ver3.00 CheckSum=7643"
ATI5    RESULT = "OK"   RESPONSE = "CTR21 Complex Impedence"
ATI6    RESULT = "OK"   RESPONSE = "1"
ATI7    RESULT = "OK"   RESPONSE = "Controller Ver3.00 Date:Dec 05 18:02
2001"
ATI8    RESULT = "OK"   RESPONSE = "DSP Ver3.00 Date:Nov 02 14:11 2001"
ATI9    RESULT = "OK"   RESPONSE = "Software Speakerphone"

Class 1 stuff...

AT+FCLASS=?     RESULT = "OK"   RESPONSE = "0,1,8"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FJUNK=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FJUNK?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAE=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAE? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTH=?        RESULT = "OK"   RESPONSE = "3"
AT+FRH=?        RESULT = "OK"   RESPONSE = "3"
AT+FTM=?        RESULT = "OK"   RESPONSE =
"24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=?        RESULT = "OK"   RESPONSE =
"24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FRS=?        RESULT = "ERROR"        RESPONSE = "ERROR"


it would be great if you can help me. i'm getting mad. :~~>

-- 
dp

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




Project hosted by iFAX Solutions