The rcp supported int and double types, the values being stored over an int field. I added
a few more conversion types for long/long long variants, storing them over the double
field. The standard jsonrpc defines anyhow on 'number' (double) as a type.
binrpc had a further hack for double fields, being serialized as integer. I changed to
serialize as long long.
kamctl didn't need any change as it prints the numbers coming in the formatted json.
kamcmd print the double values as long long if they have no decimals.
Overall, the current master should print properly the shm stats with values over 4G. If
not, open a new issue.
There were many changes, practically the rpc framework got support for new data types,
therefore won't be backported.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2824#issuecomment-1011214855
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/2824/1011214855(a)github.com>