HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Block incoming faxes to certain numbers
I tried out using DynamicConfigs RejectCall option but it doesn't seem
to work
Here is the line I have in my config.inbound file. (all our inbound line
configs are symlinked to this file)
DynamicConfig etc/RejectCalls
Here is the contents of my etc/RejectCalls file
#!/bin/sh
DEVICE=$1; shift;
COUNT=1
while [ $# -ge 1 ]; do
eval CALLID$COUNT='$1'
shift
COUNT=`expr $COUNT + 1`
done
# reject calls to numbers we dont have configured
case $CALLID1 in
4405551234) echo "RejectCall: true";;
esac
I even tried changing it to $CALLID2 and trying to reference the last 4
digits, but the calls were still not rejected. I followed
http://www.hylafax.org/content/Handbook:Advanced_Server_Configuration:Per-call_Dynamic_Configuration
as well. I did restart hylafax when i edited the config.inbound file.
My FaxDispatch file does contain *) queue=MISCELLANEOUS;; in its case
statement, but my understanding was that config.inbound handled the
calls before anything else.
Thoughts on what I may have done wrong?
-Adam
Lee Howard wrote:
Adam Engel wrote:
I am trying to configure my setup to effectively drop calls that are
sent to certain fax numbers. Management does not wish to accept faxes
to numbers that have not been set up to go to any user or location
yet. I had setup FaxDispatch to allow everything sent to a number we
control but that isn't set up within FaxDispatch to go to a common
folder for manual processing. This is in case someone dials the
wrong number (it happens......). They instead want the user to get a
fast-paced-busy like if the number is disconnected so that they can
either make sure they are dialing the right number, or have to call
Customer Service to find out if they are dialing the wrong number.
Im trying to avoid calling the TelCo to 'disable' the numbers.
You can probably use DynamicConfig's "RejectCall" feature to
accomplish this. Look in the hylafax-config man page:
http://hylafax.sourceforge.net/man/hylafax-config.php
Lee.
--
Adam Engel
IT Technician
Specialized Business Software
440.542.9145
adamengel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
____________________ 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*