[SR-Users] How to avoid automatic string to int conversion?

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 8 11:44:13 CET 2018


It looks like you are using it in some conditional expression (like
if(...)) or some assignment with integer expression. Can you paste here
the part of the config where you use it?

Cheers,
Daniel


On 08.02.18 04:08, Yuriy Gorlichenko wrote:
> Hi im using kamailio 5.1 with native cfg file and using
> json_get_value( method) form jsonso module
>
> When i get json string that contains strings and i need to have these
> strings kamailio tries to convert string i find into int and affcource
> it can't
>
> then i see warning and can't get vaules of the string i have
>
> rval_expr_eval_int(): rval expression conversion to int failed
> (24,6-24,14)
>
> How to say kamailio to not convers strng to int?
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180208/9d46942f/attachment.html>


More information about the sr-users mailing list