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] xferfaxlog to jobID/faxID/callcid to image filename?



George H wrote:
I just want to add to this and say that I would find it useful as
well.

See my previous mail to Lukasz.


Not just having the tif image name but also the size in bytes
next to it.

Why? I can understand the desire to not have to grep through the session log to find the recvq file name (which may not even be there due to logging restrictions or which may be ambiguous due to a batch reception), but once you have the file name, it's something close to a one-command matter to obtain the file size.


Current I have a java program that queries a database (holding the
xferfaxlog info) and then finds the c000xxxxx log file and greps it
for *.tif" then checks the size of the file (if it exists). Would be
nice to have this info in xferfaxlog from the start.

Before you insert the xferfaxlog info into the database use the recvq file name to check the file size and insert that into your database as well. (I assume that you're using something like FaxAccounting for the xferfaxlog --> database insertion. (See: http://hylafax.sourceforge.net/howto/tweaking.php#ss6.14 )


Thanks,

Lee.


____________________ 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