[sr-dev] sip_trace() broken in master

David Villasmil david.villasmil.work at gmail.com
Mon Sep 30 23:27:35 CEST 2019


Actually, if you set the tracing mode and also the flag, you will get
duplicated packets! I lived through that a few days ago :)

On Mon, 30 Sep 2019 at 19:22, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Can you try with latest master? I pushed a commit that hopefully fixes it.
>
> On the other hand, the use of flag looks like no longer necessary if
> tracing mode parameter is set to 't'. Would it be acceptable to just add
> a new function sip_trace_mode() that will accept one parameter to
> specify what to track (message, transaction, dialog)? It would be a
> short form of sip_trace() with 3 parameters, when the two are not
> needed. I think it would be more coherent for the future to get rid of
> using also the message flag for tracking the transaction.
>
> Cheers,
> Daniel
>
> On 30.09.19 18:00, Juha Heinanen wrote:
> > Daniel-Constantin Mierla writes:
> >
> >> It is about storing in database? Or also mirroring?
> > Storing to db.  Don't know about mirroring.
> >
> > -- Juha
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany --
> https://asipto.com/u/kat
>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190930/e577d87a/attachment-0001.html>


More information about the sr-dev mailing list