[sr-dev] [kamailio/kamailio] Strange behaviour with JSON module (#1452)

Emmanuel Schmidbauer notifications at github.com
Thu Mar 1 15:33:56 CET 2018


not an ideal solution but this is how i address the problem:
```
json_get_field("$var(result)", "status", "$var(status)");
$var(status) = $(var(status){s.strip,1});     #strip quotes
$var(status) = $(var(status){s.striptail,1}); #strip quotes
```

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1452#issuecomment-369610245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180301/53ac74b3/attachment.html>


More information about the sr-dev mailing list