The issue was some safety checks introduced to detect the URI encoded with topoh, but in your case the device is not using exactly the same URI it receives in Contact header, but adds port 5060, making those tests to fail.
I pushed a patch to disable those checks by default. You have to try with the patch referenced above or use latest git. If still a problem, reopen this item.