I've just did it like this:
xlog("$rc");
and on Friday I got
18446744073709551615
so You were right that it was unsigned int. But now if I want to read
xlog("$rc") it has 1 value. And my table is empty.
Now I've changed script and it looks:
if ($avp(s:ip) == null ) {
xlog("no results found in DB");
xlog("$rc");
and it is ok, and works like it should, because $avp(s:ip) is NULL when
there's no records found. But I'm afraid it's not the best solution. What do
You think?
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Registrar-with-IP-authentication-selecting-variables-from-DB-tp7605514p7605600.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users