Hello,
if you set trace_mode to 1, then then you do not need to use sip_trace() or setting the flag in the request_route, all the traffic is mirrored to hep server.
If you do not see anything, check the syslog for errors and eventually run with debug=3 in kamailio.cfg to get more debugging messages that could help understanding what is wrong.
Cheers,
Daniel
Hi,
I'm trying to use siptrace to getting copy of my SIP transactions, especially in TLS.
Here's my configuration :loadmodule "siptrace.so"
modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "duplicate_uri", "sip:MY_IP:5065")
modparam("siptrace", "trace_local_ip", "MY_IP:5061")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 2)
modparam("siptrace", "hep_capture_id", 1)
modparam("siptrace", "trace_flag",22);
And in my Routing Logic :request_route {sip_trace();
setflag(22);(...)
But I didn't receive anything on my listening port 5065 according my TCPDUMP.
Status confirm me siptrace is working :
root@debian:/# kamcmd siptrace.status check
Enabled
I think I made a mistake in the configuration, but I don't know where.
My second question is when I try to use sip_trace_mode("t"); I getting : failed to find command sip_trace_mode.
Is it in an other module ?
Many thanks for your help.
Regards,Arnaud
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online Feb 21-24, 2022 (America Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/