[SR-Users] siptrace: how to duplicate the complete dialog?
Daniel Tryba
d.tryba at pocos.nl
Mon Aug 21 12:06:29 CEST 2017
On Mon, Aug 21, 2017 at 10:54:15AM +0200, Daniel Tryba wrote:
> > http://kamailio.org/docs/modules/4.4.x/modules/siptrace.html#siptrace.p.trace_mode
> >
> > Seems to be introduced in 4.4.0
>
> Exactly what I was looking for.
Well, not exactly since I don't care about OPTIONS.
BTW maybe it would be useful to change the documentation
http://kamailio.org/docs/modules/stable/modules/siptrace.html#idp48573308
It currently reads:
"
There are two ways of storing information:
* by calling the sip_trace() method explicitely in the Kamailio configuration file. In this case the original message is processed.
* by setting the flag equal with the value of “trace_flag” (e.g., setflag(__trace_flag__)) parameter of the module. In this case, the message sent forward is processed. The logging mechanism is based on TM/SL callbacks, so only messages processed with the TM module or sent statelessly are logged.
"
But there are actually 3 ways:
* by setting 'modparam("siptrace", "trace_mode", 1)' will mirror all traffic
More information about the sr-users
mailing list