12 Feb
2007
12 Feb
'07
3:07 p.m.
Francisco Gimeno wrote:
The %{reply:Framed-IP-Address} or %{Framed-IP-Address} isn't xlated at all... SQL module is executed after sqlippool, so, that variable should be available.
Nop. Accounting replies contain NO attributes, therefore reply:Anything is invalid/empty. For accounting queries to log the IP address, your NAS must send the Framed-IP-Address attribute in the accounting request. If it doesn't (as it must not be) you can't log it. Consult the documentation for your NAS. You've undoubtedly taken that reply:Framed-IP-Address from the "post-auth" query where it is valid.