HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
RE: How to retrieve DONEQ information back into my application
Hi.
We do a similar thing using Sybase.
When we send the fax we collect the faxid return by sendfax and place that
in the database.
We then modified the notify function to call a script that ticks the items
off in the database.
The application user can then see the fax number, and when its sent.
------------------------------------------------------------------
:-) Owen Fletcher
> -----Original Message-----
> From: Ulrich Eckhardt [SMTP:Ulrich.Eckhardt@transcom.de]
> Sent: 3 December 1998 04:09
> To: Hylafax
> Subject: Re: flexfax: How to retrieve DONEQ information back into my
> application
>
> "JÜRGEN ANZER" wrote:
> >
> > Hi gurus!
> >
> > At first I want to mention that the HylaFAX software works great and
> > I´ve managed to fax out of our application.
> >
> > This application is based on Informix and I used the "output to file"
> > command and then automatically send this file to sendfax with the
> > destination number.
> >
> > Now, here is my question:
> >
> > Is there a way / what is the best way to make sure, that the fax has
> > really been sent succesfully.
> >
> > I know that HylaFAX mails the user if it can´t deliver the sent-job -
> > unfortunately some of our users *never* look in their mailbox. Most of
> > our user are not familiar with *nix at all and only work within their
> > business application.
> >
> > So I want to make sure, that their faxjobs have really been sent and
> > that this is visible to them within their application in a form like
> > "faxed/printed at 01/12/98" or something like that.
> >
> > So - how do I retrieve this information out of HylaFAX?
> > Searching through the doneq and sentq directories?
> > Has anyone out there got some experience with this?
> >
> > many thanks in advance,
> > any help will be appreciated
> >
> > juergen anzer
>
> Hi,
>
> probably you can parse the output of the faxstat command via Perl.
>
> There is a patch available on www.hylafax.org which adds some features
> to
> faxstat, which should make parsing easier (but haven't tested this
> patch yet). Then you could put this informations in a database table via
> the perl dbi interface (dbi is something similar to ODBC).
>
> You can write then a form (it looks that you use unify vision [i am
> acutally fighting with vision, but it seems that I win :-) ])
> which shows this table, so a user has access to the fax server.
>
> Uli
> --
> Ulrich Eckhardt Tr@nscom GbR
> http://people.frankfurt.netsurf.de/uli http://www.transcom.de
> Lagerstraße 11-15 A8
> 64807 Dieburg Germany