Technical information

INSTALLATION AND ADMINISTRATION GUIDE
114
This shell script limits any group request to a maximum of 100 members:
#!/bin/sh
# lnp-site.sh
GRPID=$6
NUM=$7
if [ $GRPID -ne 0 ]
then
if [ $NUM -gt 100 ]
then
MAILADDR=$3
echo "Group job GRPID terminated:" \
"too many members" |
mail $MAILADDR
exit 1
fi
fi
exit 0
Transmit notify procedures (TNPs)
TNPs are often used for accounting or user notification of fax request status. Although the file associated with a
request may not be available when a TNP is run, the log file entry for that fax request is available.
Syntax
Site and user TNPs are called directly from the system TNP, which passes the following arguments to the site and
user TNPs:
$1
Unique request-ID for this fax.
$2
VSI-FAX user ID who submitted the fax request.
$3
Notification email address specified by the sender.
$4
Time this fax attempt was submitted.
$5
Notification mode specified by the sender. Values are:
none Never notify
ok Notify on success
fail Notify on failure
both Always notify
each Notify on each attempt
$6
Unique group fax request ID. Value is zero (0) for normal (non-group) fax requests.
$7
Total number of pages in this fax request, including cover pages.
$8
Recipient's fax number.
$9
Fax attempt status code, in string format.
$10
Result status of this request.
$11
Attempt number. Zero (0) if fax request was canceled or otherwise failed during submission.
$12
Flag indicating whether the fax request is complete (TRUE) or not complete (FALSE).