[SR-Dev] git:janakj/kcore: Kamailio compatiblity: export last_retcode via a global variable