[sr-dev] [kamailio/kamailio] Erlang: Fixes to get the module functional again (PR #3024)