[sr-dev] git:master:c2512ac4: siptrace: docs for trace_init_mode parameter

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 8 09:28:24 CEST 2020


The rpc command controls also if tracing is on/off even when using the
sitrace flag/functions in routing block.

So trace_init_mode is about what should be initialized at startup, and
indeed, if you use only trace_mode=1, then you can set
trace_init_mode=1. In this way no callback to sl, tm or other modules
are registered, ignoring as well the user avp and flag parameters.

As a general remark, just careful not to disable init of the mode for
using the function in routing blocks and actually doing it.

Cheers,
Daniel

On 08.04.20 06:57, Juha Heinanen wrote:
> So if tracing is controlled only by rpc commands, then trace_init_mode
> can have value 1?
>
> -- Juha
>
>> +				1 - module initialized to do tracing only with core callback
>> +				functions (see also 'trace_mode' parameter).
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda




More information about the sr-dev mailing list