![]() |
--------------------------------------------------------------------- #! /bin/sh CALLID1=$2 if cat /var/spool/hylafax/etc/cid.txt | grep -q $CALLID1 then : else echo "RejectCall: true" fi
It may not be the most elegant solution, but it works... cid.txt being a list of phone numbers from which I wish to receive faxes, one number per line. IF anyone has a better idea, I'd like to hear it...
____________________ 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*