I just tried your patch, it seems to work. I'm trying to reproduce the segfault, for now, without success, i'll tell you.
--- 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/716#issuecomment-238541307