HylaFAX The world's most advanced open source fax server

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

Still problems with 4.0 and Rackmount Zyxel..



Thanx to Matthias Apitz for the

hint with '@'. I took that our from the dialrules file,
and at least now the modem talks to the faxmachine.
The '@' seems to work fine on the standalone ZyXel though
(I have used that for years on a nother server..)

Also for the ATS7=120...

But now I constantly get unspecified transmit errors (code 20) in phase B..

Note: I also tried adding 
	Class2DDISCmd:           AT+FDIS
but it didn't help..

It seems something to do with the encoding selection, but not being a fax-guru
I don' understand this..

Can anyone help??

here is the session log:

	Apr 15 15:22:38.14: [17350]: SESSION BEGIN 00000020 654753273
	Apr 15 15:22:38.14: [17350]: SEND FAX: JOB 10 DEST 4753273 COMMID 00000020
	Apr 15 15:22:38.14: [17350]: DELAY 2600 ms
	Apr 15 15:22:40.75: [17350]: <-- [44:AT&B1&N0&S0*F0S18=2S38.3=1S39=0E0V1Q0S0=0H0\r]
	Apr 15 15:22:40.97: [17350]: --> [2:OK]
	Apr 15 15:22:40.97: [17350]: <-- [22:ATS8=2S7=120&H3&D2&C1\r]
	Apr 15 15:22:40.99: [17350]: --> [2:OK]
	Apr 15 15:22:40.99: [17350]: <-- [14:AT+FCLASS=2.0\r]
	Apr 15 15:22:41.12: [17350]: --> [2:OK]
	Apr 15 15:22:41.12: [17350]: <-- [9:AT+FLO=2\r]
	Apr 15 15:22:41.13: [17350]: --> [2:OK]
	Apr 15 15:22:41.13: [17350]: <-- [9:AT+FPP=0\r]
	Apr 15 15:22:41.14: [17350]: --> [2:OK]
	Apr 15 15:22:41.14: [17350]: <-- [9:AT+FBO=0\r]
	Apr 15 15:22:41.15: [17350]: --> [2:OK]
	Apr 15 15:22:41.15: [17350]: <-- [10:AT+FCT=30\r]
	Apr 15 15:22:41.16: [17350]: --> [2:OK]
	Apr 15 15:22:41.16: [17350]: <-- [15:AT+FNR=1,1,1,1\r]
	Apr 15 15:22:41.17: [17350]: --> [2:OK]
	Apr 15 15:22:41.17: [17350]: <-- [9:AT+FIE=0\r]
	Apr 15 15:22:41.18: [17350]: --> [2:OK]
	Apr 15 15:22:41.18: [17350]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
	Apr 15 15:22:41.20: [17350]: --> [2:OK]
	Apr 15 15:22:41.20: [17350]: <-- [7:ATM1L5\r]
	Apr 15 15:22:41.21: [17350]: --> [2:OK]
	Apr 15 15:22:41.21: [17350]: <-- [14:AT+FCLASS=2.0\r]
	Apr 15 15:22:41.44: [17350]: --> [2:OK]
	Apr 15 15:22:41.44: [17350]: <-- [9:AT+FLO=2\r]
	Apr 15 15:22:41.55: [17350]: --> [2:OK]
	Apr 15 15:22:41.55: [17350]: <-- [9:AT+FPP=0\r]
	Apr 15 15:22:41.66: [17350]: --> [2:OK]
	Apr 15 15:22:41.66: [17350]: <-- [9:AT+FBO=0\r]
	Apr 15 15:22:41.77: [17350]: --> [2:OK]
	Apr 15 15:22:41.77: [17350]: <-- [10:AT+FCT=30\r]
	Apr 15 15:22:41.88: [17350]: --> [2:OK]
	Apr 15 15:22:41.88: [17350]: <-- [15:AT+FNR=1,1,1,1\r]
	Apr 15 15:22:41.99: [17350]: --> [2:OK]
	Apr 15 15:22:41.99: [17350]: <-- [9:AT+FIE=0\r]
	Apr 15 15:22:42.10: [17350]: --> [2:OK]
	Apr 15 15:22:42.10: [17350]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
	Apr 15 15:22:42.22: [17350]: --> [2:OK]
	Apr 15 15:22:42.22: [17350]: <-- [17:AT+FLI="SingNet"\r]
	Apr 15 15:22:42.34: [17350]: --> [2:OK]
	Apr 15 15:22:42.35: [17350]: DIAL 4753273
	Apr 15 15:22:42.35: [17350]: <-- [12:ATDT4753273\r]
	Apr 15 15:22:58.79: [17350]: --> [4:+FCO]
	Apr 15 15:22:58.79: [17350]: --> [18:+FNF:BC 53 01 60  ]
	Apr 15 15:22:58.79: [17350]: REMOTE NSF "BC 53 01 60"
	Apr 15 15:22:58.79: [17350]: --> [26:+FCI:                     ]
	Apr 15 15:22:58.79: [17350]: REMOTE CSI ""
	Apr 15 15:22:58.79: [17350]: --> [20:+FIS:1,3,0,2,1,0,0,0]
	Apr 15 15:22:58.79: [17350]: --> [2:OK]
	Apr 15 15:22:58.79: [17350]: REMOTE best rate 9600 bit/s
	Apr 15 15:22:58.79: [17350]: REMOTE max page width 1728 pixels in 215 mm
	Apr 15 15:22:58.79: [17350]: REMOTE max unlimited page length 
	Apr 15 15:22:58.79: [17350]: REMOTE best vres 7.7 line/mm
	Apr 15 15:22:58.79: [17350]: REMOTE best format 2-D MR
	Apr 15 15:22:58.79: [17350]: REMOTE best 0 ms/scanline
	Apr 15 15:22:58.79: [17350]: USE 9600 bit/s
	Apr 15 15:22:58.79: [17350]: USE 0 ms/scanline
	Apr 15 15:22:58.79: [17350]: SEND file "docq/doc10.cover;30"
	Apr 15 15:22:58.79: [17350]: USE page width 1728 pixels in 215 mm
	Apr 15 15:22:58.79: [17350]: USE unlimited page length 
	Apr 15 15:22:58.79: [17350]: USE 3.85 line/mm
	Apr 15 15:22:58.79: [17350]: USE 1-D MR
	Apr 15 15:22:58.79: [17350]: <-- [23:AT+FIS=0,3,0,2,0,0,0,0\r]
	Apr 15 15:23:05.96: [17350]: --> [7:+FHS:20]
	Apr 15 15:23:05.96: [17350]: REMOTE HANGUP: Unspecified Transmit Phase B error (code 20)
	Apr 15 15:23:05.96: [17350]: --> [2:OK]
	Apr 15 15:23:05.96: [17350]: <-- [7:AT+FDT\r]
	Apr 15 15:23:06.36: [17350]: --> [10:NO CARRIER]
	Apr 15 15:23:06.36: [17350]: MODEM No carrier
	Apr 15 15:23:06.36: [17350]: SEND: Unspecified Transmit Phase B error; Giving up after 3 attempts to send same page "docq/doc10.cover;30", dir
	num 0
	Apr 15 15:23:06.36: [17350]: <-- [5:ATH0\r]
	Apr 15 15:23:06.67: [17350]: --> [2:OK]
	Apr 15 15:23:06.67: [17350]: SESSION END


and here the config file:

	CountryCode:            65
	AreaCode:               ""
	FAXNumber:              +65.4767112
	LongDistancePrefix:     02
	InternationalPrefix:    001
	DialStringRules:        "etc/dialrules"
	ServerTracing:          11
	SessionTracing:         11
	RecvFileMode:           0600
	LogFileMode:            0600
	DeviceMode:             0600
	RingsBeforeAnswer:      1
	SpeakerVolume:          medium
	GettyArgs:              "-h %l dx_%s"
	LocalIdentifier:        SingNet
	TagLineFont:            etc/lutRS18.pcf
	TagLineFormat:          "From %%l|%c|Page %%p of %%t"
	NoCarrierRetrys:        3
	MaxRecvPages:           25
	#
	#
	# Modem-related stuff: should reflect modem command interface
	# and hardware connection/cabling (e.g. flow control).
	#
	ModemType:              Class2.0        # use class 2.0 interface
	ModemRate:              38400           # 38.4 works fine
	ModemFlowControl:       rtscts          # default
	#
	ModemNoFlowCmd:         AT&H0           # disable flow control
	ModemHardFlowCmd:       AT&H3           # hardware flow control
	ModemSoftFlowCmd:       AT&H4           # software flow control
	ModemSetupDTRCmd:       AT&D2           # DTR off causes modem to hang up
	ModemSetupDCDCmd:       AT&C1           # DCD tracks carrier
	#
	ModemSetupAACmd:        AT+FAA=1        # enable in current class
	#
	# Additional reset commands:
	#
	# &B1     DTE-DCE rate is fixed at DTE setting
	# &N0     Auto-negotiate highest possible DCE-DCE link rate
	# &S0     DSR always on
	# *F0     Deny remote configuration
	# S18=2   Receive at 38400
	# S38.3=1 DCD on/off sequence follows UNIX standard; also
	#         fix receiving baud rate at S18 value
	# S39=0   (avoid Class 2 compatibility hacks)
	# 
	ModemResetCmds:         AT&B1&N0&S0*F0S18=2S38.3=1S39=0
	#
	ModemWaitTimeCmd:       ATS7=120
	ModemDialCmd:           ATDT%s          # no '@' 'cuz then busy not recognized
	NoCarrierRetrys:        3               # retry 3 times on no carrier
	#
	ModemSetVolumeCmd:      "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
	#
	# Caller ID configuration setup.
	#
	#QualifyCID:            etc/cid         # CID access control list file
	#CIDNumber:             "CALLER NUMBER: " # pattern string for phone number info
	#CIDName:               "CALLER NAME: " # pattern string for identity info
	#
	PagerSetupCmds:         AT&K0&N15       # use V.22 at 1200 bps (PageNet)
	#
	# Rev 6.1x firmware have a bug in the ECM support so
	# explicitly disable it's use.  To re-enable its use just
	# comment out the following line.
	#
	Class2DCCQueryCmd:      "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"
	#Class2DDISCmd:           AT+FDIS

This is under Hylafax 4.0pl1, on Linux 2.0.29 with a Zyxel Rackmounted Modem

AT+FMDL?, AT+FREV? and AT+FMFR? all return:
	U1496R+  V 6.14 

Any help is appreciated..

Mathias Koerber	  | Tel: +65 / 471 9820    |   mathias@staff.singnet.com.sg
SingNet NOC	  | Fax: +65 / 475 3273    |            mathias@koerber.org
Q'town Tel. Exch. | PGP: Keyid: 768/25E082BD, finger mathias@singnet.com.sg
2 Stirling Rd     |      1A 8B FC D4 93 F1 9A FC BD 98 A3 1A 0E 73 01 65
S'pore 148943     | Disclaimer: I speak only for myself
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht, was Leiden schafft *




Project hosted by iFAX Solutions