[sr-dev] [kamailio/kamailio] Python exception handling (Issue #4045)