Managing Data Volume Control More Than 4GB FR & CoovaChilli

Alan DeKok aland at deployingradius.com
Mon Oct 21 20:48:38 CEST 2013


Russell Mike wrote:
> Thats fine, thanks for guidelines, Alan. how can i execute the code
> frequently in accounting section?

  I have no idea what that means.

  You can use SQL queries in "unlang" by wrapping them in dynamic
expansions:

	if ("%{sql:SELECT ...}" > 1000000) {
		...
	}

  In v3, you can even cast the numbers to 64-bit integers.

  Alan DeKok.


More information about the Freeradius-Users mailing list