![]() |
What so I have to set in my jobcontrol-script? It looks like this now:
--- JOBID=$1
## GetClient <owner> <email> ## - returns a string - the client identifier
if [ $CUSTOMER ] then # Return client if exists echo "$CUSTOMER" else # Reject all others echo "REJECT" fi
# All others are not full virtual clients }
## ## GetJobParam <param> ## - returns the value of the job param GetJobParam () { grep "^$1:" sendq/q$JOBID | cut -d : -f 2- }
## ## SetControlParam <tag> <value> SetControlParam () { echo "$1: \"$2\"" }
OWNER=$(GetJobParam owner) EMAIL=$(GetJobParam mailaddr)
if [ "$CLIENT" == "REJECT" ] then SetControlParam RejectNotice "Not authorized" exit fi
## ## And now client-specific settings IFS=""
# These guys can do whatever they want - they pay big bucks for the # privilege, but we make the calling_party appear to be them SetControlParam UseJOBTSI true SetControlParam UseJobTagLine true SetControlParam Notify ${NOTIFY} SetControlParam LocalIdentifier ${IDENTIFIER} ---
____________________ 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*