[sr-dev] [kamailio/kamailio] alias_db_lookup is returning `-1` if result is not found. Documentation implies it should return false. (#2517)

Fred Posner notifications at github.com
Mon Oct 19 20:42:30 CEST 2020


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2517#issuecomment-712368600
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201019/24c82900/attachment.htm>


More information about the sr-dev mailing list