Hi all,

I am using Kamailio 5.8.1 on a Debian 12 machine with topos and topoh hiding the topology.

I have observed with modparam("topos", "mask_callid", 1), in-dialog requests are relayed with the incorrect caller-id.

In the scenario, A calls B. The call is set up and the call-id for the B-Leg is successfully masked. Then, when A sends a BYE, the BYE is incorrectly relayed to B with the call-id of the A leg, and B replies with a 481

If I disable masking the call-id, or disable topos/topoh entirely, everything looks and works as it should. I have tested with 5.7.4 and the behaviour is the same.

Does anyone have any ideas for where I should start looking?

Thanks
Matthew