<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>When trace_mode is 1, different callbacks are used for catching
the sip traffic, so it doesn't disable the tracing based on flags.
I will make it more clear in the docs.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 30.09.19 23:27, David Villasmil
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFGRPVqGTuRdngcmbBHRN-T2xwC68jpAJWsr10XsHiPOJhFONw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>
<div dir="auto">Actually, if you set the tracing mode and also
the flag, you will get duplicated packets! I lived through
that a few days ago :)</div>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 30 Sep 2019 at
19:22, Daniel-Constantin Mierla <<a
href="mailto:miconda@gmail.com" moz-do-not-send="true">miconda@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Can you
try with latest master? I pushed a commit that hopefully
fixes it.<br>
<br>
On the other hand, the use of flag looks like no longer
necessary if<br>
tracing mode parameter is set to 't'. Would it be acceptable
to just add<br>
a new function sip_trace_mode() that will accept one
parameter to<br>
specify what to track (message, transaction, dialog)? It
would be a<br>
short form of sip_trace() with 3 parameters, when the two
are not<br>
needed. I think it would be more coherent for the future to
get rid of<br>
using also the message flag for tracking the transaction.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 30.09.19 18:00, Juha Heinanen wrote:<br>
> Daniel-Constantin Mierla writes:<br>
><br>
>> It is about storing in database? Or also mirroring?<br>
> Storing to db. Don't know about mirroring.<br>
><br>
> -- Juha<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a>
-- <a href="http://www.linkedin.com/in/miconda"
rel="noreferrer" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany
-- <a href="https://asipto.com/u/kat" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://asipto.com/u/kat</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank"
moz-do-not-send="true">sr-dev@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
</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, Oct 21-23, 2019, Berlin, Germany -- <a class="moz-txt-link-freetext" href="https://asipto.com/u/kat">https://asipto.com/u/kat</a></pre>
</body>
</html>