Hi,

I need to define variables as string explicitly.

What I have in the code:

in prefix_list is 123,456,789
$var(matched_prefix) = $(var(prefix_list){s.select,$var(i),,});

then in MAIN route:

$var(matched_prefix) = route(INCOMING_AUTH);

and this check

if ($var(matched_prefix) != "nullprefix")

returns:

WARNING: <core> [rvalue.c:1012]: automatic string to int conversion for
"nullprefix" failed
WARNING: <core> [rvalue.c:1916]: rval expression conversion to int failed
(153,32-153,43)

I would like to have all values as string to avoid these errors.

Thanks,
Mino
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to