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] Problem receiving multiple pages



For the tiff's I have just been using a webbrowser which works fine for all the one page tiffs, however the real problem is that when hylafax receives a mutli-page fax I get a hung process and hylafax locks up.

Here is the log from my messages log:
--
Sep 13 11:56:23 fromage FaxGetty[12548]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS1'
Sep 13 11:56:58 fromage FaxGetty[12548]: RECV FAX (000000074): from , page 1 in 0:27, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Sep 13 11:57:28 fromage FaxGetty[12548]: RECV FAX (000000074): from , page 2 in 0:30, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Sep 13 11:57:28 fromage FaxGetty[12548]: RECV FAX (000000074): recvq/fax000000046.tif from , route to <unspecified>, 2 pages in 1:05
Sep 13 11:57:30 fromage FaxGetty[12548]: RECV FAX: bin/faxrcvd "recvq/fax000000046.tif" "ttyS1" "000000074" "" "" ""
Sep 13 11:57:42 fromage FaxGetty[12548]: MODEM USR 00:00:00/Configuration Profile... Product type           US/Canada External Options
      HST,V32bis,Terbo,V.FC,V.34 Fax Options            Class 1/Class 2.0 Clock Freq             20.16Mhz Eprom                  256k Ram
             32k Supervisor date        12/02/94 DSP date               12/02/94 Supervisor rev         6.0.5 DSP rev                1.0.6
--

Here is the process that just hangs and will sit there forever until I kill it.
--
uucp     16199  0.0  0.0 14568  880 ?        S    Aug31   0:00 gs -dSAFER -dCompatibilityLevel=1.2 -g1728x1117 -r204x98 -q -dNOPAUSE -dBATCH -sD
EVICE=pdfwrite -sOutputFile=recvq/fax000000043.tif.pdf -dSAFER -dCompatibilityLevel=1.2 -g1728x1117 -r204x98 -c .setpdfwrite -f recvq/fax0000000
43.tif.ps
--

Justin

On Fri, Sep 17, 2004 at 09:35:28AM -0700, Lee Howard wrote:
> What TIFF viewer program are you using to view the TIFFs?
> 
> Lee.
> 
> 
> On 2004.09.17 09:18 Justin Rush wrote:
> >I am using : libtiff-3.5.7-13
> >
> >I figured that it wouldn't be the modem since the modem seems to
> >receive it ok ( faxgetty shows two pages in the messages log ).  But,
> >since there have been no other sugguestions, what type of modem would
> >you sugguest I try?  Looking mainly at external serial modems, I
> >probably have a bunch lying around in boxes between myself and
> >co-workers, so we should be able to find something that works.
> >
> >Justin
> >
> >On Thu, Sep 16, 2004 at 01:27:58AM -0700, Pedro Rocadas wrote:
> >> Well, you are using Red Hat E3, and I think your
> >> libtiff is a good one (< 3.6.1), but it worth checking
> >> out. If it's >= 3.6.1, you should downgrade, see
> >> http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=500
> >>
> >> Otherwise, you must blame your USR firmware.
> >>
> >> --- Justin Rush <jrush@xxxxxxxxxxxxxx> wrote:
> >>
> >> > from my config file for ttyS1:
> >> > --
> >> > # Modem-related stuff: should reflect modem command
> >> > interface
> >> > # and hardware connection/cabling (e.g. flow
> >> > control).
> >> > #
> >> > 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
> >> > #
> >> > # When AT+FCLASS=1 is issued the modem automatically
> >> > switches
> >> > # to software flow control; these parameters let the
> >> > fax software
> >> > # reset flow control as needed after entering Class
> >> > 1.
> >> > #
> >> > 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
> >> > #
> >> > # This should resolve "DIS/DTC received 3 times"
> >> > errors:
> >> > #
> >> > Class1ResponseWaitCmd:  AT+FRS=1        # wait after
> >> > sending TCF for response
> >> > #
> >> > # The remainder of this configuration is included so
> >> > that the
> >> > # modem "idles" in Class 0 while not sending or
> >> > receiving facsimile.
> >> > #
> >> > ModemSetupAACmd:        AT+FCLASS=0     # leave
> >> > modem idling in class 0
> >> > ModemAnswerCmd:         AT+FCLASS=1A    # answer in
> >> > Class 1
> >> > #
> >> > # Disables the reporting of bad frames by the modem.
> >> >  This
> >> > # overcomes a firmware problem in the x2 and V90
> >> > Sportsters.
> >> > # It is not necessary for the Courier modem.
> >> > #
> >> > Class2NRCmd:    AT+FNR=1,1,1,0
> >> > --
> >> > The modem is an old USR Courrier modem.  It seems
> >> > that the modem is receiving the fax properly but the
> >> > internals of hylafax just aren't handling the fax
> >> > properly.
> >> >
> >> > Anything else I can check?
> >> >
> >> > Thanks,
> >> > Justin
> >> >
> >> >
> >> > On Mon, Sep 13, 2004 at 11:50:17AM -0700, Pedro
> >> > Rocadas wrote:
> >> > > Did you configured your modem in CLass1? What is
> >> > the
> >> > > value of ModemFlowControl in your config.ttyS1
> >> > file?
> >> > > if it's not xonxoff try it. Other thing, you are
> >> > using
> >> > > a USR modem so, I definittly recommend you hylafax
> >> > > 4.2.0, but if you want a better advice, throw away
> >> > > that USR and buy a Multitech or a Zoom modem.
> >> > >
> >> > > --- Justin Rush <jrush@xxxxxxxxxxxxxx> wrote:
> >> > >
> >> > > > Hello,
> >> > > > 	I am having a problem receiving multiple pages
> >> > > > using hylafax.  The logs show that multiple
> >> > pages
> >> > > > were transmitted, however the resulting tif that
> >> > is
> >> > > > generated only has one page.
> >> > > >
> >> > > > Sep 13 11:56:23 fromage FaxGetty[12548]: ANSWER:
> >> > FAX
> >> > > > CONNECTION  DEVICE '/dev/ttyS1'
> >> > > > Sep 13 11:56:58 fromage FaxGetty[12548]: RECV
> >> > FAX
> >> > > > (000000074): from , page 1 in 0:27, INF, 3.85
> >> > > > line/mm, 2-D MMR, 9600 bit/s
> >> > > > Sep 13 11:57:28 fromage FaxGetty[12548]: RECV
> >> > FAX
> >> > > > (000000074): from , page 2 in 0:30, INF, 3.85
> >> > > > line/mm, 2-D MMR, 9600 bit/s
> >> > > > Sep 13 11:57:28 fromage FaxGetty[12548]: RECV
> >> > FAX
> >> > > > (000000074): recvq/fax000000046.tif from , route
> >> > to
> >> > > > <unspecified>, 2 pages in 1:05
> >> > > > Sep 13 11:57:30 fromage FaxGetty[12548]: RECV
> >> > FAX:
> >> > > > bin/faxrcvd "recvq/fax000000046.tif" "ttyS1"
> >> > > > "000000074" "" "" ""
> >> > > > Sep 13 11:57:42 fromage FaxGetty[12548]: MODEM
> >> > USR
> >> > > > 00:00:00/Configuration Profile... Product type
> >> >
> >> > > >     US/Canada External Options
> >> > > > HST,V32bis,Terbo,V.FC,V.34 Fax Options
> >> >
> >> > > > Class 1/Class 2.0 Clock Freq
> >> > 20.16Mhz
> >> > > > Eprom                  256k Ram
> >> >
> >> > > > 32k Supervisor date        12/02/94 DSP date
> >> >
> >> > > >       12/02/94 Supervisor rev         6.0.5 DSP
> >> > rev
> >> > > >               1.0.6
> >> > > >
> >> > > > And from the xferfaxlog:
> >> > > > 09/13/04 11:56  RECV    000000074       ttyS1
> >> >
> >> > > >    ""      fax     "+1.###.###.####"       ""
> >> >
> >> > > > 2220056 2       1:05    1:05    ""     ""
> >> > ""
> >> > > >    ""
> >> > > > (I put #'s over the number)
> >> > > >
> >> > > > I am currently using hylafax-4.1.8-1rh3 on
> >> > RedHat
> >> > > > Enterprise Linux v3.0
> >> > > > What could be causing this problem?
> >> > > > If more information is needed, please tell me
> >> > what
> >> > > > and I will post it.
> >> > > >
> >> > > > Thanks in advance,
> >> > > > Justin Rush
> >> > > > Internet Scout Project
> >> > > > jrush@xxxxxxxxxxxxxx
> >> > > >
> >> > > > ____________________ 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*
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > 	 
> >> > > 		 
> >> > > __________________________________
> >> > > Do you Yahoo!?
> >> > > New and Improved Yahoo! Mail - 100MB free storage!
> >> > > http://promotions.yahoo.com/new_mail
> >> >
> >> > ____________________ 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*
> >> >
> >> >
> >>
> >>
> >>
> >> 		 
> >> __________________________________
> >> Do you Yahoo!?
> >> Yahoo! Mail is new and improved - Check it out!
> >> http://promotions.yahoo.com/new_mail
> >>
> >> ____________________ 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*
> >
> >____________________ 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*
> >

____________________ 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