Hello,
ahh, just noticed you are tracing from the config at transaction layer,
meaning that traffic is sent during config processing when the content
is without topos changes.
To get the traffic as seen on the network, set modparam trace_mode=1 and
remove the use of sip_trace()/sip_trace_mode() in routing blocks. You
can still filter what is sent out using event_route blocks, if you do
not want all the traffic to be mirrored.
Cheers,
Daniel
On 24.09.21 18:19, Angelo Sipper wrote:
Hi Daniel,
I did this change but unfortunately no change. Anything more I could
check?
Kind regards,
Angelo
Στις Παρ, 24 Σεπ 2021 στις 9:11 π.μ., ο/η Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> έγραψε:
Hello,
try loading siptrace module before topos.
Cheers,
Daniel
On 23.09.21 19:57, Angelo Sipper wrote:
Hi,
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.
I was wondering what we have done wrong in the config and we have
these results on homer. Any help will be much appreciated!
Our config has:
===========-
#!substdef "!MY_HOMER_CAPTURE!sip:MY_HOMER_IP_ADDR:MY_HOMER_PORT!g"
#!substdef
"!MY_LOCAL_SENDSOCK!sip:MY_KAMAILIO_IP:MY_LOCAL_SEND_PORT!g"
loadmodule "topos.so"
loadmodule "siptrace.so"
modparam("siptrace", "force_send_sock",
"MY_LOCAL_SENDSOCK")
modparam("siptrace", "duplicate_uri",
"MY_HOMER_CAPTURE")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 3)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 0)
modparam("siptrace", "hep_capture_id", NODE_ID)
modparam("topos", "db_url", DBURL)
modparam("topos", "mask_callid", 0)
modparam("topos", "sanity_checks", 0)
modparam("topos", "branch_expire", 130) # 3 Min
modparam("topos", "dialog_expire", 10800) # 3 Hours
modparam("topos", "clean_interval", 60)
modparam("topos", "event_mode", 3)
request_route {
sip_trace_mode("t");
........
}
onsend_route {
if (is_method("ACK")) {
sip_trace();
}
}
==============
Thank you!
Kind regards,
Angelo
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
--
Daniel-Constantin Mierla --
www.asipto.com <http://www.asipto.com>
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
*
https://www.asipto.com/sw/kamailio-advanced-training-online/
<https://www.asipto.com/sw/kamailio-advanced-training-online/>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
*