3gpp2 parameter starts with '\0'

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Mon Jan 12 09:50:46 CET 2009


Hi,

> I need to store ESN value to my database, but it comes in format[3GPP2-ESN =
> "\000\000\000\000\000\000\00000BBF636"]. Freeradius counts '\0' as the end
> of the line and puts blank instead of actual parameter value. Not only ESN
> comes in that format but [Acct-Session-Id = "0000000\000"] does too. 

wrap your insert command variables with escape clauses so its treated as one big string

alan



More information about the Freeradius-Users mailing list