I believe you can.
using the Exec-Program or Exec-Program-Wait attribute you cam call a script
to read the first six (or whatever) number of the calling number and return
the Session-Timeout = 21600 attribute / value pair
Benn
----- Original Message -----
From: "Miquel van Smoorenburg" <
miquels@...>
To: <
cistron-radius@...>
Sent: Sunday, October 15, 2006 9:59 AM
Subject: Re: Using Calling-Station-Id for access control
In article <
452FFF7F.3080808@...>,
Kirk Ismay <
captain@...> wrote:
>I'm using cistron radius with our dial-up network.
>
>I'd like to be able to set up different session time limits from
>customers coming in from certain area codes and phone exchanges. Can
>Cistron use regular expressions or wildcard matches in check values?
>For instance is the following or something similar possible?
>
>DEFAULT Auth-Type = System, Calling-Station-Id = "807234*"
> Session-Timeout = 21600,
> Fall-Through = Yes
No. But FreeRadius can do what you want.
http://www.freeradius.org/Mike.
-
List info/subscribe/unsubscribe? See
http://www.radius.cistron.nl/list/-
List info/subscribe/unsubscribe? See
http://www.radius.cistron.nl/list/