Hylafax Mailing List Archives

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

Re: [hylafax-users] Hylafax DB integration (postgresql) and/or API



Well maybe it's just me but I haven't found any scripts. Anyway I tend
to dislike scripts (just personal), and I want to give my
application/database access to hylafax information.

So, I sifted through the source code and found some useful things.
Borrowing the faxstat code and FaxClient, I was able to make a class
which transforms the faxstatus information into XML format.

Now that's much more portable and useful, wouldn't you say?

Well it's still frustrating that faxstat only seems to get data in raw
text format via (tcp?) connection to the server. The lenght of fields
is restricted and gets cut off.

But is there anything more direct (and perhaps more efficient) than
cat/grep'ing through the queues?

How can I have fax information be pushed to an external entity outside
of hylafax (like my own DB)? For example, when fax status change, have
the states automatically chaned in the DB? faxwatch seems to be
working along those lines but you'd have to register a separate
function for each of the 30 or so possible events (using recvData
function).!?

Maybe I'm not getting it right, but source code documentation is
minimal (if present at all).

Hylafax is a great tool but using files as a db seems a bit archaic
and the natural thing to do for me is try to hook it to an RDBMS. This
may mean digging deep in the source code... at least that's how I see
it now.

Any more specific help would be appreciated, or just your share of
experience. Enlighten...

cheers!

On Wed, 11 Aug 2004 22:15:04 -0400, Adam Tauno Williams
<awilliam@xxxxxxxxxxxxx> wrote:
> > Does Hylafax have a C/C++ API?
> > Does anyone know of any ongoing projects for hylafax with a database
> > integration?
> > (For example having outgoing/incomming faxes logged in a database.)
> 
> Everything is procesed via scripts;  hacking in your own functionality
> for archiving, recording, etc... doesn't require attacking the binaries.
> 
>

____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services