HylaFAX The world's most advanced open source fax server

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

Strange problem : modem capabilities not reported to fax machines



Hi, I have got the following strange problem :

I have an Hylafax 4.1beta2 on Linux 2.2.14 with a Zyxel 2864i
I forced in config.ttyS0 the capabilities of my modem with :

Class2DCCQueryCmd:      "!(0-1),(0-5),(0-2),(0-2),(0-1),(0-1),(0),(0-7)" 

So far so good, please note the ECM ( error correction mode ) capability
enabled.

Now, if someone send a fax to me, for example with sendfax, he see the
following capabilities reported :

Apr 03 21:39:02.65: [ 1990]: REMOTE best rate 14400 bit/s
Apr 03 21:39:02.65: [ 1990]: REMOTE max page width 2432 pixels in 303 mm
Apr 03 21:39:02.65: [ 1990]: REMOTE max unlimited page length
Apr 03 21:39:02.65: [ 1990]: REMOTE best vres 7.7 line/mm
Apr 03 21:39:02.65: [ 1990]: REMOTE best format 2-D MR
Apr 03 21:39:02.65: [ 1990]: REMOTE best 0 ms/scanline   

But if I send a fax to a fax machine with ECM enabled I see this result :

Mar 16 09:22:35.82: [  903]: REMOTE best rate 9600 bit/s
Mar 16 09:22:35.82: [  903]: REMOTE max page width 1728 pixels in 215 mm
Mar 16 09:22:35.82: [  903]: REMOTE max unlimited page length
Mar 16 09:22:35.82: [  903]: REMOTE best vres 7.7 line/mm
Mar 16 09:22:35.82: [  903]: REMOTE best format 2-D MR
Mar 16 09:22:35.82: [  903]: REMOTE supports T.30 Annex A, ECM
Mar 16 09:22:35.82: [  903]: REMOTE best 10 ms, 5 ms/scanline   

Note that in this case ECM is reported.

Because my fax doesn't report ECM ( tough I thik I enabled it ) the remote
machine doesn't use it and I get many errors ( poor line quality, I'm in Italy )

Why on the earth hylafax doesn't report all my capabilities ? Is it a problem
with +FIS or FCC ? 

Please help me !

My config file is the following ( cutted out uninteresting parts ) :

MaxConsecutiveBadLines: 4
PercentGoodLines:       100

Class2CQCmd:            "AT+FCQ=2,2"
Class2DCCCmd:          "AT+FCC=1,5,2,2,1,1,0,0\012 AT+FCC"
Class2DCCQueryCmd:      "!(0-1),(0-5),(0-2),(0-2),(0-1),(0-1),(0),(0-7)"

PollLockWait:           10
PollModemWait:          10

ModemType:              Class2.0
ModemRate:              38400
ModemFlowControl:       rtscts

ModemNoFlowCmd:         AT&H0
ModemHardFlowCmd:       AT&H3
ModemSoftFlowCmd:       AT&H4

ModemSetupAACmd:        AT+FAA=1

Class2RecvDataTrigger:  "\022"
Class2APQueryCmd:       ""

ModemDialCmd:           ATDT%s
ModemSetVolumeCmd:      "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"  




Project hosted by iFAX Solutions