Re: [SR-Users] How to avoid automatic string to int conversion?
Hi. Yep! I found issue was in if. Fixed it. thx for response! On Feb 8, 2018 18:44, "Daniel-Constantin Mierla" wrote: 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 Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierlawww.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 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] How to avoid automatic string to int conversion?
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@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 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users