<p></p>
<p dir="auto">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.</p>
<p dir="auto">binrpc had a further hack for double fields, being serialized as integer. I changed to serialize as long long.</p>
<p dir="auto">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.</p>
<p dir="auto">Overall, the current master should print properly the shm stats with values over 4G. If not, open a new issue.</p>
<p dir="auto">There were many changes, practically the rpc framework got support for new data types, therefore won't be backported.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2824#issuecomment-1011214855">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOMKX6JBUREOR7DMK3UVWSLLANCNFSM5CDHQ4OA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZJZNC3QY3LAYBJSS2LUVWSLLA5CNFSM5CDHQ4OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRC6UBY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/2824/1011214855</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2824#issuecomment-1011214855",
"url": "https://github.com/kamailio/kamailio/issues/2824#issuecomment-1011214855",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>