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] Fax received time stamp



Yidnek Mitiku wrote:

I see some difference in time stamp of a received fax.
I received fax000011957.tif and the system log shows:

May 4 10:22:17 emessenger FaxGetty[4061]: RECV FAX (000012119): recvq/fax000011957.tif from <UNSPECIFIED>, route to <unspecified>, 91 pages in 51:28
May 4 10:22:18 emessenger FaxGetty[4061]: RECV FAX: bin/faxrcvd "recvq/fax000011957.tif" "ttyQ1a1" "000012119" "" "" ""



But faxinfo shows:


[yidnek@emessenger yidnek]# faxinfo fax000011957.tif
fax000011957.tif:
   Sender: <UNSPECIFIED>
    Pages: 91
  Quality: Normal
     Page: North American Letter
 Received: 2005:05:04 09:30:58
TimeToRecv: 48:41
SignalRate: 14400 bit/s
DataFormat: 2-D MR


The system log shows that it took 51:28 whereas faxinfo shows 48:41 to receive a 91 page fax. What makes the two different?



The longer time (the one noted in the syslog) is more accurate.


The difference is that faxinfo shows the summation of all of the "time to receives" for each page, and that pretty much *just* involves Phase C, not Phase B or half of Phase D. If you add up a Phase B and 91 halves of Phase D's you'll come up with 167 seconds.

The "time to receive" as calculated is a rather useless number for anyone... unless you're trying to determine whether the specified baudrate is the actual data rate. The first page should contain the time used in Phase B, and all successive pages *should* contain the time used in the preceding Phase D. Because the TIFF file is written to before Phase D is entirely complete there still will be a discrepancy of maybe 1 second or two, but that's much better, I think.

Look and comment on the following bug report for a resolution:

http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=651

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