[sr-dev] [kamailio/kamailio] core: const correctness (PR #3120)