xferfaxlog.4f
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:7k
- ." $Id: xferfaxlog.4f,v 1.7 2008/01/15 01:06:33 faxguy Exp $
- ."
- ." HylaFAX Facsimile Software
- ."
- ." Copyright (c) 1990-1996 Sam Leffler
- ." Copyright (c) 1991-1996 Silicon Graphics, Inc.
- ." HylaFAX is a trademark of Silicon Graphics
- ."
- ." Permission to use, copy, modify, distribute, and sell this software and
- ." its documentation for any purpose is hereby granted without fee, provided
- ." that (i) the above copyright notices and this permission notice appear in
- ." all copies of the software and related documentation, and (ii) the names of
- ." Sam Leffler and Silicon Graphics may not be used in any advertising or
- ." publicity relating to the software without the specific, prior written
- ." permission of Sam Leffler and Silicon Graphics.
- ."
- ." THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
- ." EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
- ." WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
- ."
- ." IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
- ." ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
- ." OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
- ." WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
- ." LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
- ." OF THIS SOFTWARE.
- ."
- .if n .po 0
- .ds Fx fIHylas-1FAXs+1fP
- .TH XFERFAXLOG ${MANNUM4_5} "June 5, 1996"
- .SH NAME
- xferfaxlog - *(Fx activity log
- .SH DESCRIPTION
- The file
- .B etc/xferfaxlog
- contains information about inbound and outbound activities.
- The file contains one line per inbound facsimile document or outbound job.
- The file also contains one line per expired job and one line per job submitted.
- If the modem config setting
- .I LogCalls
- is set to true, then the file also contains one line per received call.
- Lines are fixed-format,
- .I tab-separated
- .SM ASCII
- strings.
- Each record of a facsimile transmission is of the form:
- .sp .5
- .ti +0.5i
- date s-1SENDs+1 commid modem jobid jobtag sender ``dest-number'' ``s-1CSIs+1'' params #pages jobtime conntime ``reason'' fI<null>fP fI<null>fP fI<null>fP ``owner'' ``dcs'' jobinfo
- .sp .5
- .PP
- A facsimile document reception record is of the form:
- .sp .5
- .ti +0.5i
- date s-1RECVs+1 commid modem qfile fI<null>fP fax ``local-number'' ``s-1TSIs+1'' params #pages jobtime conntime ``reason'' ``CIDName'' ``CIDNumber'' ``callid'' fI<null>fP ``dcs'' fI<null>fP
- .sp .5
- .PP
- Call records are of the form:
- .sp .5
- .ti +0.5i
- date s-1CALLs+1 commid modem fI<null>fP fI<null>fP fax ``local-number'' ``s-1<null>s+1'' 0 0 jobtime conntime ``s-1<null>s+1'' ``CIDName'' ``CIDNumber'' ``callid'' ....
- .sp .5
- .PP
- Each facsimile document retrieved by polling has a record of the form:
- .sp .5
- .ti +0.5i
- date s-1POLLs+1 commid modem jobid jobtag sender ``dest-number'' ``s-1TSIs+1'' params #pages jobtime conntime ``reason'' fI<null>fP fI<null>fP fI<null>fP
- .sp .5
- .PP
- An alphanumeric pager request has a record of the form:
- .sp .5
- .ti +0.5i
- date s-1PAGEs+1 commid modem jobid jobtag sender ``dest-number'' ``fI<null>fP'' 0 0 jobtime conntime ``reason'' fI<null>fP fI<null>fP ``owner'' fI<null>fP jobinfo
- .sp .5
- .PP
- Expired job records are of the form:
- .sp .5
- .ti +0.5i
- date s-1UNSENTs+1 ``fI<null>fP'' ``fI<null>fP'' jobid ....
- .PP
- Job submission records are of the form:
- .sp .5
- .ti +0.5i
- date s-1SUBMITs+1 ``fI<null>fP'' ``fI<null>fP'' jobid ....
- .PP
- The following describes the fields in the above records:
- .TP 14
- .B date
- The date and time of the transaction in the format
- .SM "MM/DD/YY HH:MM",
- where
- .SM MM
- is the numeric month,
- .SM DD
- the numeric day,
- .SM YY
- the last two digits of the year, and
- .SM HH:MM
- is the time in 24-hour format.
- .TP 14
- .B commid
- The communication identifier for the call.
- .TP 14
- .B modem
- The device identifier for the modem that was used to do the send or receive.
- .TP 14
- .B jobid
- The job number for outbound calls.
- .TP 14
- .B jobtag
- The client-specified job tag for outbound calls.
- .TP 14
- .B qfile
- The associated queue file for the event.
- .TP 14
- .B sender
- The sender/receiver's electronic mailing address
- (facsimile receptions are always attributed to the ``fax'' user).
- .TP 14
- .B dest-number
- The phone number dialed for outgoing calls.
- .TP 14
- .B s-1TSIs+1
- The Transmitter Subscriber Identification string (as received) for
- incoming calls.
- .TP 14
- .B s-1CSIs+1
- The Caller Subscriber Identification string of the remote machine
- (as reported) for outgoing calls.
- .TP 14
- .B local-number
- The local phone number on which the data was received.
- .TP 14
- .B params
- The negotiated facsimile session parameters
- used for transferring data encoded as described below.
- .TP 14
- .B #pages
- The total number of pages transferred.
- .TP 14
- .B jobtime
- The duration of the session; in the format
- s-1HH:MM:SSs+1.
- This time includes setup overhead and any time
- spent cleaning up after a call.
- .TP 14
- .B conntime
- The time spent on the phone; in the format
- s-1HH:MM:SSs+1.
- This should be the time used by the PTT to calculate usage charges.
- .TP 14
- .B reason
- A string that indicates if any problem occurred during the session.
- .TP 14
- .B CIDName
- The received CIDName value for the session.
- .TP 14
- .B CIDNumber
- The received CIDNumber value for the session.
- .TP 14
- .B owner
- The login name of the job owner.
- .TP 14
- .B callid
- The CallID values other than CIDName and CIDNumber formatted by ``::'' delimeters.
- .TP 14
- .B dcs
- The T.30 DCS string that was used in the facsimile communication.
- .TP 14
- .B jobinfo
- Other formatted information about the job: totpages, ntries, ndials, totdials, maxdials, tottries, and maxtries separated by slashes (``/'')
- .PP
- Note that fields may have embedded blanks.
- Session parameters are encoded as a decimal number that contains
- a packed set of Class 2 session parameter values.
- The format is: 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.
- The page counts are always integral numbers.
- Partial pages that are to be retransmitted are not included
- in the page count.
- .PP
- The simple
- .SM ASCII
- format was designed to be easy to process with programs like
- .IR awk (1).
- .PP
- If an executable named
- .B ${SPOOL}/etc/FaxAccounting
- exists then it will be executed every time a record is written to
- .B etc/xferfaxlog.
- The record fields will each serve as separate command arguments.
- This is designed to allow attachment to external databases and other
- accounting mechanisms.
- .B FaxAccounting
- will block the *(Fx process invoking it, thus it is critical that
- it not block for periods of time exceeding various other *(Fx
- process timeouts.
- .SH NOTES
- The sender field does not necessarily represent the submitter's
- actual identity. For example, it reflects the value given by
- the
- .IR sendfax (${MANNUM1_8})
- ``-f'' option. Be cautious that this field is not utilized
- for auditing if the fax user base is not trusted. Use
- .IR owner
- instead, if possible.
- .SH BUGS
- The date format will ``break'' in the year 2000.
- Information should be recorded on a per-page basis for facsimile
- communications.
- .SH "SEE ALSO"
- .IR faxq (${MANNUM1_8})
- .IR faxsend (${MANNUM1_8})
- .IR faxgetty (${MANNUM1_8})