freeradius accounting of cdr and quotes for string attributes

Kelly Roestel kroestel at marchex.com
Wed Feb 6 20:21:09 CET 2013


Matthew,

Yes that works.  However, if the attribute is empty there will still be 
quotes in the csv file.

Example.

using format = 
"\"%{Client-IP-Address}\",\"%{Calling-Station-Id}\",\"%{User-Name}\""

would yield, "x.x.x.x","station-x","Kelly"

if %{Calling-Station-Id} was null this format would yield. 
"x.x.x.x","","Kelly".

I would like to have blank attribute not insert quotes.  So my desired 
format would be "x.x.x.x",,"Kelly"

Thank for the help so far.

Kelly


More information about the Freeradius-Users mailing list