[SR-Users] How to avoid automatic string to int conversion?
Yuriy Gorlichenko
ovoshlook at gmail.com
Thu Feb 8 13:50:31 CET 2018
Hi. Yep! I found issue was in if. Fixed it. thx for response!
On Feb 8, 2018 18:44, "Daniel-Constantin Mierla" <miconda at gmail.com> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180208/286e1c18/attachment.html>
More information about the sr-users
mailing list