Modify Accounting records

Alan DeKok aland at deployingradius.com
Wed Mar 16 18:06:34 CET 2016


On Mar 16, 2016, at 12:52 PM, Andrés Gómez <andres.gomez.ruiz at gmail.com> wrote:
> I'm using a NAS that sends its accounting data fine, but it send its MAC
> address in  the calledstationid data, but it use a " - " as separator
> instead of ":" like my other NAS.
> 
> Is there a way to change that " - " character by the " : " when it arrives?
> May be using ulang?

  See rewrite_called_station_id in raddb/policy.conf (2.2), or in policy.d/canonicalization (3.0)

  You can use it as an example to write your own re-write rules.

  Alan DeKok.




More information about the Freeradius-Users mailing list