HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Receiving some faxes, but not others



Quoting "Michael J. Pedersen" <pedermj@xxxxxxxxxxx>:

> I've got a similar setup, and had similar problems.
> Answer: Remove and re-add the modem, but tell HylaFAX to
> use Class1 for it. Trust me, the result is MUCH better.

Well, it's an improvement. First, I removed the fax by deleting the
configuration file (config.ttyS0) and restarting hylafax. Then I used
the faxaddmodem script to re-add the modem; it selected Class1 for me.

So far, the result is that hylafax is communicating with those faxes
that it had previously been having problems with, but now the resulting
TIF files aren't legible: all they show is a collection of vertical lines.

Any idea how tis might be corrected?

Following are a copy of my hylafax log with a typical log entry for the
above behaviour, plus a copy of my current modem configuration file.

=================

Aug 20 14:05:53 chi FaxGetty[20107]: STATE CHANGE: RUNNING -> LISTENING
Aug 20 14:05:54 chi FaxGetty[20107]: STATE CHANGE: LISTENING -> ANSWERING
Aug 20 14:05:59 chi FaxGetty[20107]: ANSWER: FAX CONNECTION  DEVICE
'/dev/ttyS0'
Aug 20 14:06:24 chi FaxGetty[20107]: RECV FAX (00000082): from +31 118
642202, page 1 in 0:17, INF, 3.85 line/mm, 2-D MR, 14400 bit/s
Aug 20 14:06:24 chi FaxGetty[20107]: RECV FAX (00000082):
recvq/fax00038.tif from +31 118 642222, route to <unspecified>, 1 pages
in 0:25
Aug 20 14:06:26 chi FaxGetty[20107]: RECV FAX: bin/faxrcvd
"recvq/fax00038.tif" "ttyS0" "00000082" "" "" ""
Aug 20 14:06:38 chi FaxGetty[20107]: MODEM USR 00:00:00/Configuration
Profile... Product type           Netherlands External MSK Options     
          HST,V32bis,Terbo,V.FC,V34+ Fax Options            Class
1/Class 2.0 Clock Freq             20.16Mhz Eprom                  256k
Ram                    32k Supervisor date        11/14/95 DSP date    
          07/05/95 Supervisor rev         031-6.2.2 DSP rev            
   1.2.2
Aug 20 14:06:39 chi FaxGetty[20107]: STATE CHANGE: RECEIVING -> RUNNING
(timeout 30)

=================

That looks okay to me. Now the current configuration file, config.ttyS0:

=================

CountryCode:            31
AreaCode:               118
FAXNumber:              +31.118.123456
LongDistancePrefix:     1
InternationalPrefix:    00
DialStringRules:        /etc/hylafax/dialrules.europe
ServerTracing:          0x08501
SessionTracing:         0x08501
RecvFileMode:           0640
LogFileMode:            0640
DeviceMode:             0660
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-r -b -s %s %l"
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
AdaptiveAnswer:         yes
MaxRecvPages:           25
#
ModemType:              Class1          # use class 1 interface
ModemRate:              19200           # rate for DCE-DTE communication
ModemFlowControl:       xonxoff         # software flow control
#
ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
(or not)
ModemNoFlowCmd:         AT&H0&I0&R1     # setup modem for no flow control
ModemHardFlowCmd:       AT&H1&I0&R2     # setup modem for hardware flow
control
ModemSoftFlowCmd:       AT&H2&I2&R1     # setup modem for software flow
control
ModemResultCodesCmd:    ATQ0X4          # enable result codes
#
ModemMfrQueryCmd:       !USR
ModemModelQueryCmd:     ATI3
ModemRevQueryCmd:       ATI7            # XXX returns a multi-line result
#
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
#
Class1ResponseWaitCmd:  AT+FRS=1        # wait after sending TCF for
response
#
ModemSetupAACmd:        AT+FCLASS=0     # leave modem idling in class 0
ModemAnswerCmd:         AT+FCLASS=1A    # answer in Class 1
#
Class2NRCmd:    AT+FNR=1,1,1,0

=================

Thanks is advance!

Cheers,

Jaap

____________________ 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