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 checkEnabled*
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
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
On 25.01.22 11:17, Arnaud wrote:
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: