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