[OpenSIPS-Users] Global variable $rm gives number when using $json

Liviu Chircu liviu at opensips.org
Tue Feb 2 20:10:33 EST 2021

On 02.02.2021 18:32, Alex Kinch wrote:
> Just found another similar related issue so thought I'd pop it on the 
> same thread.
> $socket_in(af) returns INET or INET6 as expected but after passing 
> through $json it's numeric and 0 in both cases.
> Redacted examples below. I'm on 3.1.1 from Debian/Ubuntu packages.
Hi Alex,

This problem is identical to the previous one and the patch for the 
$json variable should cover both of them.  Make sure you're using the 
nightly 3.1 packages or wait for the 3.1.2 release, after which you can 
test out the fix.

Kind regards,

Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

More information about the Users mailing list