Changing the User-Name value from a request

Alan DeKok aland at deployingradius.com
Tue Jun 28 17:44:45 CEST 2011


Tiberiu Breana wrote:
> in default's authorize section, but it says "request returns notfound".

  Your configuration is close, but wrong:

if (Sip-URI-User) {
    update request {
         User-Name = "%{Sip-URI-User}"
    }
}

  That will work.  Ignore the return code.  If it says "request returns
notfound", it will still work.

  Alan DeKok.



More information about the Freeradius-Users mailing list