The solution that worked for me was to use :
trace_mode=1
This is capturing both version of the message, I think this is about using a core event hook instead of a transaction callback
3.18. trace_mode (integer) If set to 1, the module uses core events triggered when receiving or sending SIP traffic to mirror traffic to a SIP capture server using HEP. It will automatically do the mirroring of all traffic, no need to set the siptrace flag per request.
If set to 0, no automatic mirroring of SIP traffic via HEP.
Default value is 0.
Example 1.18. Set trace_mode parameter
... modparam("siptrace", "trace_mode", 1) ...
On Fri, Feb 8, 2019 at 11:00 AM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
can you try and see what you get in onsend_route {...} block? If not printing the stripped version, then we have to add an event route for it.
Cheers, Daniel
On 08.02.19 11:02, Giuseppe Pandolfi wrote:
Hi All,
is it possible print sip msg after stripping by topos module?
I have need to print sip msg stripped by topos in syslog.
Thanks
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users