Daniel-Constantin Mierla writes:
There is a parameter trace_mode which can turn on automatic capture of all sip messages, but is for mirroring the traffic. Probably, for the next major release, it should be extended to do the save in the database as well, if that is wanted via some modparam.
That is what I just asked before reading this. It would make sense that independent of hep, trace_mode=1 would cause tracing of all messages.
There is also a rpc command to turn tracinf on/off, but it doesn't affect the trace_mode=1. Again, for the next major release we should revise and make those options work for all variants: mirroring or save to db, with control via modparams and rpc...
... and rpc command would be effective too.
-- Juha