This is in line with expectations.
- <0 (negative value) - it is evaluated to false - >0 (positive value) - it is evaluated to true - =0 (zero) - it is evaluated as exit (stop execution of configuration file)
https://www.kamailio.org/wiki/tutorials/faq/main