<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>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.</p>
<p>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.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 25.01.22 11:17, Arnaud wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAO=Q8eKb7G15dbaGU3J9WYo8riR2XkZNCnG2wPUV6y3LZ6UtQQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I'm trying to use siptrace to getting copy of my SIP
transactions, especially in TLS.</div>
<div><br>
</div>
<div>Here's my configuration :</div>
<div><i>loadmodule "siptrace.so"<br>
modparam("siptrace", "trace_mode", 1)<br>
modparam("siptrace", "trace_to_database", 0)<br>
modparam("siptrace", "trace_on", 1)<br>
modparam("siptrace", "duplicate_uri", "sip:<i>MY_IP</i>:5065")<br>
modparam("siptrace", "trace_local_ip", "MY_IP:5061")<br>
modparam("siptrace", "hep_mode_on", 1)<br>
modparam("siptrace", "hep_version", 2)<br>
modparam("siptrace", "hep_capture_id", 1)<br>
modparam("siptrace", "trace_flag",22); </i><br>
</div>
<div><br>
</div>
<div>And in my Routing Logic :</div>
<div><i>request_route {</i></div>
<div><i>sip_trace();<br>
setflag(22);</i></div>
<div><i>(...)<br>
</i></div>
<div><br>
</div>
<div>But I didn't receive anything on my listening port 5065
according my TCPDUMP.</div>
<div><br>
</div>
<div>Status confirm me siptrace is working :<br>
</div>
<div><i>root@debian:/# kamcmd siptrace.status check<br>
Enabled</i><br>
</div>
<div><br>
</div>
<div>I think I made a mistake in the configuration, but I don't
know where.</div>
<div><br>
</div>
<div>My second question is when I try to use
sip_trace_mode("t"); I getting : failed to find command
sip_trace_mode. <br>
</div>
<div>Is it in an other module ?</div>
<div><br>
</div>
<div>Many thanks for your help.<br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Arnaud<br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
Feb 21-24, 2022 (America Timezone)
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>