<div dir="ltr">Hi Daniel,<div><br></div><div>I did this change but unfortunately no change. Anything more I could check?</div><div><br></div><div>Kind regards,</div><div>Angelo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Παρ, 24 Σεπ 2021 στις 9:11 π.μ., ο/η Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>try loading siptrace module before topos.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 23.09.21 19:57, Angelo Sipper wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>We are using kamailio 5.3 latest version with the topos
          module. We have added Homer 7 latest version to consolidate
          traces from all kamailios and we have enabled siptrace module
          on kamailio to send data to homer. What we have seen up
          today is that traces on homer have sip headers before topos
          changes. So if I look at the same call on sngrep on the
          kamailio machine, I see the correct topos changed headers. If
          I check the same call on Homer I see headers without topos
          changes. Also we get duplicate headers on ACKs on homer.</div>
        <div><br>
        </div>
        <div>I was wondering what we have done wrong in the config and
          we have these results on homer. Any help will be much
          appreciated!</div>
        <div><br>
        </div>
        <div>Our config has:</div>
        <div>===========-</div>
        <div>#!substdef
          "!MY_HOMER_CAPTURE!<a>sip:MY_HOMER_IP_ADDR:MY_HOMER_PORT!g</a>"<br>
          #!substdef
          "!MY_LOCAL_SENDSOCK!<a>sip:MY_KAMAILIO_IP:MY_LOCAL_SEND_PORT!g</a>"<br>
          <br>
        </div>
        <div>loadmodule "topos.so"<br>
        </div>
        <div>loadmodule "siptrace.so"</div>
        <div><br>
          modparam("siptrace", "force_send_sock", "MY_LOCAL_SENDSOCK")<br>
          modparam("siptrace", "duplicate_uri", "MY_HOMER_CAPTURE")<br>
          modparam("siptrace", "hep_mode_on", 1)<br>
          modparam("siptrace", "hep_version", 3)<br>
          modparam("siptrace", "trace_to_database", 0)<br>
          modparam("siptrace", "trace_on", 1)<br>
          modparam("siptrace", "trace_mode", 0)<br>
          modparam("siptrace", "hep_capture_id", NODE_ID)<br>
          <br>
        </div>
        <div>modparam("topos", "db_url", DBURL)<br>
        </div>
        <div>modparam("topos", "mask_callid", 0)<br>
          modparam("topos", "sanity_checks", 0)<br>
          modparam("topos", "branch_expire", 130) # 3 Min<br>
          modparam("topos", "dialog_expire", 10800) # 3 Hours<br>
          modparam("topos", "clean_interval", 60)<br>
          modparam("topos", "event_mode", 3)<br>
        </div>
        <div><br>
        </div>
        <div>request_route {<br>
          sip_trace_mode("t");<br>
          ........<br>
        </div>
        <div>}</div>
        <div><br>
        </div>
        <div>onsend_route {<br>
              if (is_method("ACK")) {<br>
          sip_trace();<br>
              }<br>
          }<br>
        </div>
        <div>==============</div>
        <div><br>
        </div>
        <div>Thank you!</div>
        <div><br>
        </div>
        <div>Kind regards,</div>
        <div>Angelo</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

</blockquote></div>