Regx Question

Mike O'Connor freeradius at pineview.net
Wed Nov 16 04:15:35 CET 2005


Thanks Alan

>  Reading the "man" page for the "users" file would help, too.  You're
>not doing regular expression matching at all.
>
>DEFAULT         Called-Station-Id =~ "198334115$", Proxy-To-Realm :=
>"xxxx.com"
>  
>
I did not give any examples of what I had tried which I suppose I should
have.

Below are some of my attempts
#DEFAULT                Called-Station-Id == "198407112$",
Proxy-To-Realm := "xxxx.au"
#DEFAULT                Called-Station-Id == "*128407112$",
Proxy-To-Realm := "xxxx.au"
#DEFAULT                Called-Station-Id == "^[0-9]*128407112$",
Proxy-To-Realm := "xxxx.au"

None of the above worked, even though the exact number did.

Cheers
Mike



More information about the Freeradius-Users mailing list