[SR-Users] string in ims_diameter_server

Iman Mohammadi iman.mohammadi.telecom at gmail.com
Sun Nov 4 08:07:15 CET 2018


We have a problem putting data to an AVP object. The data type is byte
array (:byte[]).
If we convert that array to an integer and put it in 'int32' field then the
module just gets the first 4 bytes.
If we convert it to base64 or hexString and put it in 'string' field then
it treats it as a regular string.
And any other field beside 'int32' and 'string' will be ignored.
So the question is, how we put a byte array inside an AVP and send it to
the module so the diameter gets the data as a byte array?

Best Regards
Iman Mohammadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181104/5d32014f/attachment.html>


More information about the sr-users mailing list