I can reproduce this with current git master, also your workaround.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1966#issuecomment-517690641