[sr-dev] [kamailio/kamailio] rtpengine: bug fix, add comments and clean the codes (PR #4097)