Technical information
INSTALLATION AND ADMINISTRATION GUIDE
116
SENDTIME="$4"
NOTIFY="$5"
GRPID="$6"
NUM_MEMS="$7"
NUM_SENT="$8"
NUM_FAIL="$9"
shift
USER_GNP="$9"
# -------------------------------------------------------
# generate a status log for the entire group, and write to file
"$VSIFAX/bin/vfxstat" g-$GRPID > /tmp/GroupFax.log
echo "------------------------- --------------------" >> /tmp/GroupFax.log
echo " " >> /tmp/GroupFax.log
"$VSIFAX/bin/vfxolog" -t gse=$GRPID >> /tmp/GroupFax.log
exit 0
Receive notify procedures (RNPs)
Syntax
Site and device RNPs are called directly from the system RNP, which passes the following arguments to the site and
user GNPs:
Tip
If you require additional information not present in these parameters, thevfxilog command can be used to
access other information about this fax request from the inbound fax log database.
$1
Full path and file name of the received fax file.
$2
Name of the fax device or class that received this fax.
$3
Inbox specified for this device or class or the VSI-FAX user who will receive the routed fax.
$4
Status of the fax. This controls RNP behavior. Values are:
received Run this RNP as soon as a fax is received
(prior to routing)
routed Run this RNP whenever a fax is routed to
a user.
Examples
This shell script automatically removes the header line from received faxes:
# rnp-clrhdr.sh
FILE=$1
vtifftool clear -c -o $FILE $FILE
exit 0
To associate a device rnp script with a fax destination, use the following syntax:
vfxadmin device -u -P <partofscriptname> <faxdestination>
Start and stop notify procedures (Tcl)
Syntax
These arguments are passed to sys-start and sys-stop.