I have reproduced this issue and found the issue. Patch is incoming.
The cause is in the fixup function which is incorrectly running the wrong fixup function.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/432#issuecomment-163248861