"Victor Sanchez" <[EMAIL PROTECTED]> wrote:
> DEFAULT         Calling-Station-Id == "963297529"
>                 Auth-Type := Reject,
>                 Reply-Message = "Este numero esta baneado"

  That won't do what you want, but that's another story...

> and i have more than 100 numbers, and would like to change the file option to MySql
> 
> How i can do it ?
> 

  For the CVS head, you don't need to.  Simply list all of the banned
numbers in an SQL table somewhere, and then do:

DEFAULT Calling-Station-Id == `%{sql: SELECT ...}`, Auth-Type := Reject
        Reply-Message = "Este numero esta baneado"


  That is, you can compare the calling station ID to the results from
an SQL query.

  Alan DeKok.

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

Reply via email to