Hello Charles -

On Fri, 14 Jul 2000, Charles Sprickman wrote:
> This is my last post for today, I promise :)
> 
> I have some PRIs from a seperate telco set aside for users that have
> problems reaching us via our main telco.  These lines also serve some F/X
> users.  I get full DNIS and caller-id info on these lines.
> 
> Tech support keeps a list of users that are given a "special" number.  I
> would like to only allow these users to dial that number...  What's my
> best starting point for implementing this?  Should I just do it in a
> handler that looks for matching DNIS?  What's the most efficient way?  
> 
> I don't need a whole mess of details, but I do need a starting point...
> 

As you are already looking at moving to Handlers (see my response to your other
post), it seems to me probably simpler to use a Handler for this.

Something like this:

# define a Handler to match on the common prefix of the special PRI's

<Handler Called-Station-Id = /^xxxxx/>
        .....
</Handler>

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to