Any update on this one, not being reproducible here. As suggested above, maybe adding some log messages in the source code of the function will help getting more hints.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/445#issuecomment-168980118