I missed this originally and although I've not looked closely at it yet, a quick alternative might be to use the nat_traversal module's keepalive mechanism instead, directly on the edge proxies. Works for us at least.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/310#issuecomment-138500280