query.conf/mysql, UNHEX help

Miha miha at softnet.si
Tue Aug 25 08:03:15 CEST 2015


Hi,

I would need a little help with UNHEX thing for file query.conf which is
for mysql.
Here is one part that is bothering me from query.conf. I posted it on
pastebin:http://pastebin.com/JXwuc3ST

In accounting request I get like this: CALLEDSTATIONID_WITH_PREFIX =
'88#' but in mysql insert radius is inserting like this  '88=23' value
''88#' which is HEX.

OK how to write this part so that I will be inserted like '88#'?

'%{CALLEDSTATIONID_WITH_PREFIX}'

tnx
miha



More information about the Freeradius-Users mailing list