<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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<br>
    </p>
    <div class="moz-cite-prefix">On 11.03.20 16:02, Enzo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:trinity-0df9e3b3-580e-4ba4-ab2b-b8bb1614786e-1583938968579@3c-app-gmx-bs74">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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" href="sip:172.26.52.104:5060">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>
      <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>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>