<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">172.24.32.28:5060</a> -> <a href="http://172.24.52.3:5060">172.24.52.3:5060</a><br>INVITE <a href="http://sip:+49XXXXXXXXXXXX@172.24.52.3:5060">sip:+49XXXXXXXXXXXX@172.24.52.3:5060</a> SIP/2.0<br>Record-Route: <sip:172.24.32.28;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes><br>Record-Route: <sip:100.80.0.20;transport=tcp;r2=on;lr=on;ftag=1ea69f36;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO3VzZXI9cGhvbmU-;vst=AAAAAAAAAAAAAAAAAAAAAAAAAABLXVQATFVCVUheUUgcXAIBHnBvcnQ9dGNwO3VzZXI9cGhvbmU-;proxy_media=yes;nat=yes><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: <sip:+49XXXXXXXXXXXX@some.provider.example><br>From: <sip:+49YYYYYYYYYYY@some.provider.example>;tag=1ea69f36<br>Call-ID: 3af87db089119841@AA.AAA.AAA.AAA<br>Contact: <sip:TFFRA002@AA.AAA.AAA.AAA:5060;transport=tcp><br>Supported: histinfo,replaces<br>CSeq: 647169 INVITE<br>Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, REFER, REGISTER, UPDATE<br>P-Asserted-Identity: <sip:+49BBBBBBBBBB@some.provider.example;user=phone><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">172.24.32.28:5060</a> -> <a href="http://172.24.52.3:5060">172.24.52.3:5060</a><br>INVITE <a href="http://sip:+49XXXXXXXXXXXX@172.24.52.3:5060">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: <sip:+49XXXXXXXXXXXX@some.provider.example><br>From: <sip:+49YYYYYYYYYYY@some.provider.example>;tag=1ea69f36<br>Call-ID: 3af87db089119841@AA.AAA.AAA.AAA<br>Supported: histinfo,replaces<br>CSeq: 647169 INVITE<br>Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, REFER, REGISTER, UPDATE<br>P-Asserted-Identity: <sip:+49BBBBBBBBBB@some.provider.example;user=phone><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">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>