[SR-Users] Storing an integer value into AVP from REDIS string
Alex Balashov
abalashov at evaristesys.com
Mon May 20 19:13:21 CEST 2019
You want to validate that the value is an integer, or coerce the internal type of the AVP to integer?
—
Sent from mobile, with due apologies for brevity and errors.
> On May 20, 2019, at 7:52 AM, Stephen Bucklin <steve at telcoelectronics.uk> wrote:
>
> Hi,
> Any quick thoughts. I am using a REDIS "GET" to retrieve a JSON obj as a string from REDIS and then the JANSSON get value to extract a key value from the string and pop it into an AVP ($avp(val)) and wish to ensure the value is an integer in the AVP. New to this, be kind :-)
> Steve
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list