[sr-dev] [kamailio/kamailio] lost: code review, updates to memory managment and error handling (#2034)