Unpacking params in xferfaxlog

Models <[email protected]> Mon, 21 Jun 2010 18:29:37 -0400
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
The man pages and docs indicate the job parameters such as speed, 
compression, etc., are stored in the params field in the xferfaxlog, and 
identifies them as:

2 bits for vertical resolution,
3 bits for signalling rate,
3 bits for page width,
2 bits for page length,
2 bits for data format,
1 bit for ECM use,
1 bit of BF use, and
3 bits for the min scanline time.

Total of 17 bits, which should be a 6-digit integer.... but all the 
params values in my xferfaxlog are 7 digits, such as 2220072.

I need to run a report that includes the baud rate, format, and ECM for 
each transmission, but for the life of me, I can't unpack the values 
from the params field.  Are they documented anywhere?  I've tried 
comparing  the values from xferfaxlog with the doneq files, but still 
can't match the bits.

Suggestions?

I'm using 4.2.1 on Slackware (yes, it's old, but it has been running 
flawlessly for years and they don't want me to touch it!)


Alan LeCroix


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null