Based on what I found in the archive at 
http://www.open.com.au/archives/radiator/2002-06/msg00090.html

I'm wondering if I can make a calling-station-id blacklist by doing 
something like:

<AuthBy SQL>
        DBSource        ......
        DBUsername    ......
        DBAuth          ......
        AuthSelect select "REJECT" from CALLER_BLACKLIST \
                   where Calling_Station='%{Calling-Station-Id}'
        AuthColumnDef 0, GENERIC, check
</AuthBy>

The CALLER_BLACKLIST table would have fields for Calling_Station and 
REJECT such as:
1115551212      Auth-Type = "Reject: Your phone number has been BLACKLISTED"

Then just include this AuthBy before all others in the various Handler's 
we use?

----------------------------------------------------------------------
 Jon Lewis *[EMAIL PROTECTED]*|  I route
 System Administrator        |  therefore you are
 Atlantic Net                |  
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to