Long time and no follow up. I am closing the pull request for now, because it replaces the standard IETF RFC requirements with some custom approach. The item can be reopen if a patch with suggestions made in comments above is provided.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/177#issuecomment-158392920