[sr-dev] sip_trace() broken in master
Daniel-Constantin Mierla
miconda at gmail.com
Tue Oct 1 09:12:12 CEST 2019
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.
Cheers,
Daniel
On 30.09.19 23:27, David Villasmil wrote:
> 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 <mailto: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 <http://www.asipto.com>
> www.twitter.com/miconda <http://www.twitter.com/miconda> --
> www.linkedin.com/in/miconda <http://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 <mailto: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
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191001/643583ef/attachment.html>
More information about the sr-dev
mailing list