BALSIANOK, Peter wrote:
> I want to use regular expression in acct_users file
>
> DEFAULT Called-Station-Id =~ /orangewap/i,

  That doesn't work.

  For the /.../i syntax to work, you MUST use "unlang":

        ...
        if (Called-Station-Id =~ /orangewap/i) {
                update control {
                        Proxy-To-Realm := realm_orangewap
                }

                update reply {
                        Called-Station-Id = 
"%{Called-Station-Id}.%{3GPP-SGSN-Address}"
                }
        }


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

Reply via email to