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.trac...
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