Dear all,

I am trying to use multiple class attributes in my accounting requests… something like:

 

Class = “Title = title_movie”

Class = “Event = stop”

 

However, I don’t know how can I handle those attributes with FreeRADIUS in order to store them in MySQL.

In the example above, I would like to store the title of the movie, and the event separately (in different columns: TITLE, EVENT).

 

I was thinking of trying to rewrite the attributes and generate new attributes so that the request would look like:

Title = “title_movie”

Event = “stop”

 

Can anybody give me a hand, and tell me if this is possible? Or point me in the right direction?

 

Should I use the attr_rewrite clause? In that case, how can I use it to fit this purpose?

 

Thanks in advance,
Alex

 

Reply via email to