<div dir="ltr"><div>The solution that worked for me was to use :</div><div><br></div><div>trace_mode=1 </div><div><br></div><div>This is capturing both version of the message, I think  this is about using a core event hook instead of a transaction callback</div><div><br></div><div><br></div><div><font face="monospace, monospace">3.18. trace_mode (integer)</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">If set to 0, no automatic mirroring of SIP traffic via HEP.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Default value is 0.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Example 1.18. Set trace_mode parameter</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">...</font></div><div><font face="monospace, monospace">modparam("siptrace", "trace_mode", 1)</font></div><div><font face="monospace, monospace">... </font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 8, 2019 at 11:00 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
can you try and see what you get in onsend_route {...} block? If not<br>
printing the stripped version, then we have to add an event route for it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 08.02.19 11:02, Giuseppe Pandolfi wrote:<br>
> Hi All,<br>
><br>
> is it possible print sip msg after stripping by topos module?<br>
><br>
> I have need to print sip msg stripped by topos in syslog.<br>
><br>
> Thanks<br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference - May 6-8, 2019 -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>