Homer configuration with kamailio

Hi, I’m trying to configure Homer for monitoring SIP flows.
My setup is: Origination → Kamailio → SEMS → Termination.

The problem is that I cannot find a proper correlation header, so I’m unable to merge the SIP traces into a single unified log because SEMS changes the Call-ID with his own. I would like to log from Kamailio until the termination and back.
I’ve tried to set up a custom header on kamailio side with a uuid but SEMS also strips out this header, so I don’t know what else to try.

How can I solve this? Could you help me find a solution?
Thanks a lot!

Hi, thanks for your reply, yes I’ve enabled a custom header on kamailio and transit on yeti web origination/termination gateway configs, and used that custom header on homer but still not working. The custom header exists on pcap after using transit configuration. I thought you already had a solution but right now I’m reading logs from kamailio to/from sems perspective and after sems to/from termination perspective. It’s a bit tricky but it works.
Thanks

The custom header exists on pcap after using transit configuration.

It is not clear what exactly doesn’t work.