<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>try to load siptrace module before the topos module, iirc they
use the same event hooks. If doesn't work, then I will check the
code.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 11.06.20 10:05, Karsten Horsmann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFArqsa_B8jX_kPa65zhwRzr0W8dTQsA6knqpjysFA1j9+qSKg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi Mailinglist,</div>
<div><br>
</div>
<div>some of my kamailio-version is 5.3.4 with topos.</div>
<div><br>
</div>
<div>During the last discussion about sip_trace_mode("t") i
found new behaivor. With this tracingmode i see the "internal"
before topos writing.</div>
<div><br>
</div>
<div>Here my questions:</div>
<div><br>
</div>
<div>Can i change it to "whats on the wire" (topos rewritten
mode)? I didnt checked all modes.</div>
<div>And if so, can i switch that on-the-fly with $var for
example? For topos debugging its fine with sip_trace_mode("t")
- not for "hey carrier, you made some mistakes".</div>
<div><br>
</div>
<div><br>
</div>
<div>#!ifdef WITH_HOMER<br>
#Siptrace<br>
modparam("siptrace", "force_send_sock", "MY_LOCAL_SENDSOCK")<br>
# local interface from where to send the duplicated traffic<br>
modparam("siptrace", "duplicate_uri", "MY_HOMER_CAPTURE")<br>
modparam("siptrace", "hep_mode_on", 1) # enable/disable Homer
encapsulate mode<br>
modparam("siptrace", "hep_version", 3) # HEPv3 the timestamp
and capture agent ID will be included in the HEP header<br>
modparam("siptrace", "trace_to_database", 0) # trace to
database<br>
modparam("siptrace", "trace_on", 1) # enable/disable trace<br>
modparam("siptrace", "trace_mode", 0) # default 0, if 1 then
you dont need call siptrace flag or sip_trace()<br>
modparam("siptrace", "hep_capture_id", 8) # capture agent id
Limitation: 32-bit for HEPv3.<br>
#!endif<br>
<br>
<br>
#!ifdef WITH_HOMER<br>
# Set the tracing mode: message, transaction or dialog. Need
5.3.x<br>
sip_trace_mode("t");<br>
#!endif<br>
<br>
*** captured on the topos kamailio:</div>
<div><br>
2020-06-11 08:35:11 +0200 : <a
href="http://172.24.32.28:5060" moz-do-not-send="true">172.24.32.28:5060</a>
-> <a href="http://172.24.52.3:5060"
moz-do-not-send="true">172.24.52.3:5060</a><br>
INVITE <a href="http://sip:+49XXXXXXXXXXXX@172.24.52.3:5060"
moz-do-not-send="true">sip:+49XXXXXXXXXXXX@172.24.52.3:5060</a>
SIP/2.0<br>
Record-Route:
<a class="moz-txt-link-rfc2396E" href="sip:172.24.32.28;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes"><sip:172.24.32.28;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes></a><br>
Record-Route:
<a class="moz-txt-link-rfc2396E" href="sip:100.80.0.20;transport=tcp;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes"><sip:100.80.0.20;transport=tcp;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes></a><br>
Via: SIP/2.0/UDP
172.24.32.28;branch=z9hG4bK34b.1b6e5fbd9cf7af26bb168d1469096714.0;i=74<br>
Via: SIP/2.0/TCP
AA.AAA.AAA.AAA:5060;rport=5060;branch=z9hG4bKeca7a7f789c9f647560353e3cf1cd592.ba7930dc<br>
Max-Forwards: 52<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:+49XXXXXXXXXXXX@some.provider.example"><sip:+49XXXXXXXXXXXX@some.provider.example></a><br>
From:
<a class="moz-txt-link-rfc2396E" href="sip:+49YYYYYYYYYYY@some.provider.example"><sip:+49YYYYYYYYYYY@some.provider.example></a>;tag=1ea69f36<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3af87db089119841@AA.AAA.AAA.AAA">3af87db089119841@AA.AAA.AAA.AAA</a><br>
Contact:
<a class="moz-txt-link-rfc2396E" href="sip:TFFRA002@AA.AAA.AAA.AAA:5060;transport=tcp"><sip:TFFRA002@AA.AAA.AAA.AAA:5060;transport=tcp></a><br>
Supported: histinfo,replaces<br>
CSeq: 647169 INVITE<br>
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, REFER, REGISTER,
UPDATE<br>
P-Asserted-Identity:
<a class="moz-txt-link-rfc2396E" href="sip:+49BBBBBBBBBB@some.provider.example;user=phone"><sip:+49BBBBBBBBBB@some.provider.example;user=phone></a><br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 298<br>
X-Group-SBC: 2006<br>
X-Routing-SBC: un2tr-cgn-trunk<br>
<br>
---------------------------------------</div>
<div>*** captured on the kamailio behind 172.24.52.3</div>
<div><br>
2020-06-11 08:35:11 +0200 : <a
href="http://172.24.32.28:5060" moz-do-not-send="true">172.24.32.28:5060</a>
-> <a href="http://172.24.52.3:5060"
moz-do-not-send="true">172.24.52.3:5060</a><br>
INVITE <a href="http://sip:+49XXXXXXXXXXXX@172.24.52.3:5060"
moz-do-not-send="true">sip:+49XXXXXXXXXXXX@172.24.52.3:5060</a>
SIP/2.0<br>
Via: SIP/2.0/UDP
172.24.32.28;branch=z9hG4bK34b.1b6e5fbd9cf7af26bb168d1469096714.0;i=74<br>
Max-Forwards: 52<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:+49XXXXXXXXXXXX@some.provider.example"><sip:+49XXXXXXXXXXXX@some.provider.example></a><br>
From:
<a class="moz-txt-link-rfc2396E" href="sip:+49YYYYYYYYYYY@some.provider.example"><sip:+49YYYYYYYYYYY@some.provider.example></a>;tag=1ea69f36<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:3af87db089119841@AA.AAA.AAA.AAA">3af87db089119841@AA.AAA.AAA.AAA</a><br>
Supported: histinfo,replaces<br>
CSeq: 647169 INVITE<br>
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, REFER, REGISTER,
UPDATE<br>
P-Asserted-Identity:
<a class="moz-txt-link-rfc2396E" href="sip:+49BBBBBBBBBB@some.provider.example;user=phone"><sip:+49BBBBBBBBBB@some.provider.example;user=phone></a><br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 298<br>
X-Group-SBC: 2006<br>
X-Routing-SBC: un2tr-cgn-trunk<br>
Contact: <<a
href="mailto:sip%3Abtpsh-5ee1105a-1903c-1@172.24.32.28"
moz-do-not-send="true">sip:btpsh-5ee1105a-1903c-1@172.24.32.28</a>><br>
</div>
<div><br>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Cheers<br>
*Karsten Horsmann*<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>