[SR-Dev] git:master: port from kamailio 1.5 branch r5795, related to bug #2416621