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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users