[sr-dev] [kamailio/kamailio] carrierroute: crush when database is not initialized (Issue #3405)