Thank you.
This is one of the problems we have. We are running in GKE with a container built using .deb packages, this being the reason we've "tested" with a small C app. Rebuilding the image from sources instead of .deb will take a while and we don't have that provider anymore.
Is there a way to quickly test `parse_uri` using an external app that feeds various URI strings? Local, no SIP & network involved.
If not, we may need to build a custom SIP message sender and feed just the ACK to kamailio with one and two parameters, to check topoh & parser messages. If we reproduce, then we can test with the patch you have provided to get more insight.