On 10/15/10 7:46 PM, Iñaki Baz Castillo wrote:
[...] In Kamailio 1.5 I experiment this problem very often: Usually I get data from a DB table in which some fields are INT (allowing NULL). Possible values are NULL or integers from 0 to N. Trying to figure if the column has value 0 is a pain.
Have you tried: if($var(x)==0) ? Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.com _______________________________________________ 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