Hi,
My test kamailio (sip capture node with sipcapture module) doesn’t receive the duplicated SIP messages.
This works for me with the below settings (version: kamailio 4.3.4 (x86_64/linux))
loadmodule "siptrace.so" modparam("siptrace", "trace_on", 1) modparam("siptrace", "trace_to_database", 0) modparam("siptrace", "hep_mode_on", 0) modparam("siptrace", "duplicate_uri", "sip:192.168.X.X:5060")
and in routing logic I call;
sip_trace();
on the remote server "sip:192.168.X.X:5060" I receive the packets in clear.
-vella