How to send disconnect message to the NAS?

Alan DeKok aland at deployingradius.com
Sat Sep 27 15:39:11 CEST 2014


Xin wrote:
> I have fully read the document you specified. I see I can use "update coa"
> section in order to send the disconnect packet, but my question is: the
> traffic data are stored in MySQL, Can I write a SQL statement in
> "originate-coa" file in order to get the user who has ran out of data and he
> can send the disconnect message.

  The username is in the accounting packet.  Do this in the "accounting"
section:

	update disconnect {
		User-Name = "%{request:User-Name}"

	}

  Alan DeKok.


More information about the Freeradius-Users mailing list