<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>are the other headers (Via, Record-Route) handled by the topos
      module for OPTIONS request? Is only Contact header left?</p>
    <p>Regarding topoh: there can be some enhancements to try to shorten
      the size of those values, from what I know, short text compressing
      can get 20-30% compression rate, but not always and I am not sure
      will actually help with those SBCes. Have you able to figure out
      the size of the header values when they fail to handle the sip
      messages?<br>
    </p>
    <p>On the other hand, I am eager to see how those SBC are going to
      do when STIR/SHAKEN is added (soon by US/North America carriers),
      the Identity header is quite large...</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 31.03.20 15:11, Enzo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:trinity-caaae176-dd7d-421b-bbef-bc83319be6c5-1585660319618@3c-app-gmx-bap78">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div> </div>
        <div>Hello,</div>
        <div> </div>
        <div>I just realisied I made a mistake and send this reply to
          the wrong mail address.</div>
        <div> </div>
        <div>
          <div>The OPTIONS are keepalive-request and out-of-dialog. So
            topos is not able to manage these?</div>
          <div> </div>
          <div>I also tried topoh. Topoh was able to mask the contact
            header even in out-of-dialog OPTIONS. </div>
          <div>The main reason to switch to topos is the
            line=sr-parameter. Some calls got a very long
            line=sr-parameter which lead to problems with different SBC
            vendors.</div>
          <div> </div>
          <div>line=sr-N6IAzBqLOBFsWLZfz.P7M.PszBjAWByXoSI7g.ulNJuzWqI0kqKlCxWwk.t5j6KskhrfW4u1RqtHPq31KLssWquZM.phWIp0MwpPjKpd..g-Oqs0..gSoF47.9pWotgMgLsWgqud.qfhOq46.RfP.SN7.jfWoUId.9r9NqudCEfWkFuC.RfsRU0Kg9e5Ctp0owpIWFcsmwtzkmvb></div>
          <div> </div>
          <div> </div>
          <div>Is there any way to reduce the length of the
            line=sr-parameter?</div>
          <div> </div>
          <div>Thanks!</div>
          <div> </div>
          <div>Best Regards</div>
          <div>Enzo</div>
          <div> </div>
          <div> </div>
          <div><b>Gesendet:</b> Donnerstag, 12. März 2020 um 08:40 Uhr<br>
            <b>Von:</b> "Daniel-Constantin Mierla"
            <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
            <b>An:</b> "Kamailio (SER) - Users Mailing List"
            <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a>, Enzo
            <a class="moz-txt-link-rfc2396E" href="mailto:voiper@gmx.net"><voiper@gmx.net></a><br>
            <b>Betreff:</b> Re: [SR-Users] Use topos module to hide
            contact in OPTIONS request</div>
        </div>
        <div>
          <div>
            <div name="quote" style="margin:10px 5px 5px 10px; padding:
              10px 0 10px 10px; border-left:2px solid #C3D9E5;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">
              <div name="quoted-content">
                <div style="font-family: Verdana;font-size: 12.0px;">
                  <div>
                    <div>
                      <div style="margin: 10.0px 5.0px 5.0px
                        10.0px;padding: 10.0px 0 10.0px
                        10.0px;border-left: 2.0px solid
                        rgb(195,217,229);">
                        <div>
                          <p>Hello,</p>
                          <p>the module aimed at supporting topology
                            hiding for calls. Is the OPTIONS part of a
                            dialog or out-of-dialog (like a keepalive
                            request)?</p>
                          <p>Cheers,<br>
                            Daniel</p>
                          <div class="moz-cite-prefix">On 11.03.20
                            16:02, Enzo wrote:</div>
                          <blockquote>
                            <div style="font-family: Verdana;font-size:
                              12.0px;">
                              <div>
                                <div>Hi all</div>
                                <div>I have a problem with the topos
                                  module. The contact header in OPTIONS
                                  request is not changed. It is working
                                  fine with INVITE. Is there any special
                                  configuration with OPTIONS?</div>
                                <div> </div>
                                <div>I am using:<br>
                                  version: kamailio 5.3.2 (x86_64/linux)
                                  7ba545</div>
                                <div> </div>
                                <div>This is the debug log:<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_msg.c:934]:
                                  tps_request_sent(): handling outgoing
                                  request (0, 0)<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_msg.c:376]:
                                  tps_pack_message(): compacted headers
                                  - x_via1: [SIP/2.0/UDP
122.123.145.146;branch=z9hG4bK8ee.c6d59104d9f494f8ba1f75ed3f9ec8cf.0](79)
                                  - x_via2: [SIP/2.0/UDP
                                  172.26.52.104:5060;branch=z9hG4bK00E0F5150A04105449BBEB83377A](73)
                                  - x_vbranch1:
                                  [z9hG4bK8ee.c6d59104d9f494f8ba1f75ed3f9ec8cf.0](45)<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_msg.c:485]:
                                  tps_pack_message(): compacted headers
                                  - a_rr: [](0) - b_rr: [](0) - s_rr:
                                  [](0)<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_msg.c:490]:
                                  tps_pack_message(): compacted headers
                                  - as_contact: [](0) - bs_contact:
                                  [](0)<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_storage.c:126]:
                                  tps_storage_lock_get(): tps lock get:
                                  337<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos_redis
                                  [topos_redis_storage.c:764]:
                                  tps_redis_load_branch(): loading
                                  branch record for
                                  [b:x:z9hG4bK8ee.c6d59104d9f494f8ba1f75ed3f9ec8cf.0]<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos_redis
                                  [topos_redis_storage.c:782]:
                                  tps_redis_load_branch(): hmap with key
[b:x:z9hG4bK8ee.c6d59104d9f494f8ba1f75ed3f9ec8cf.0] not found<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_storage.c:391]:
                                  tps_storage_link_msg(): downstream:
                                  yes - acontact: [<a
                                    class="moz-txt-link-freetext"
                                    moz-do-not-send="true">sip:172.26.52.104:5060</a>]
                                  - bcontact: []<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  WARNING: topos [tps_storage.c:434]:
                                  tps_storage_record(): no local address
                                  - do record routing for all initial
                                  requests<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  INFO: topos_redis
                                  [topos_redis_storage.c:163]:
                                  tps_redis_insert_dialog(): no uuid for
                                  this message<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  ERROR: topos [tps_storage.c:445]:
                                  tps_storage_record(): failed to store<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [tps_storage.c:138]:
                                  tps_storage_lock_release(): tps lock
                                  release: 337<br>
                                  Mar 11 15:52:13 kamtest
                                  /usr/local/kamailio/sbin/kamailio[55606]:
                                  DEBUG: topos [topos_mod.c:449]:
                                  tps_msg_sent(): new outbound buffer
                                  generated</div>
                                <div><br>
                                  This is the config I use:<br>
                                  modparam("ndb_redis", "server",
                                  "name=srv8;addr=127.0.0.1;port=6379;db=8")<br>
                                  modparam("topos", "storage", "redis")<br>
                                  modparam("topos_redis", "serverid",
                                  "srv8")<br>
                                  modparam("topos", "branch_expire",
                                  14400)<br>
                                  modparam("topos", "dialog_expire",
                                  14400)</div>
                                <div> </div>
                                <div>Best Regards</div>
                                <div>Enzo</div>
                              </div>
                            </div>
                             
                            <fieldset class="mimeAttachmentHeader"> </fieldset>
                            <pre class="moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" onclick="parent.window.location.href='mailto:sr-users@lists.kamailio.org'; return false;" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                          </blockquote>
                          <pre class="moz-signature">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </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></pre>
  </body>
</html>