Hi Alan,
thank you, but what if I need more allowed destinations?
How can I insert many points in one string? Coma separations?

regards,
oleg

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alan DeKok
Sent: Sunday, November 02, 2003 4:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Called-Station-ID variables


"Oleg Ustinov" <[EMAIL PROTECTED]> wrote:
> We need to allow or deny country codes like this 49 for Germany 1 for
> USA/Canada.
> But I found no clean expression and variable information about.
> We need it like this: ^49*, ^1*, etc.

  Regular expressions?

DEFAULT   Calling-Station-Id =~ "^49*", Auth-Type := Reject
          ...

  Alan DeKok.

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to