<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>you should use set_contact_alias() for subscribe instead of
      fixed_nated_contact(), is a better option.</p>
    <p>Back to the reported topic, can you paste here the db record from
      active_watchers table?</p>
    <p>Then, you should be able to update some parts of the local
      generated requests by having an event_route[tm:local-request]
      block in your kamailio.cfg.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03.10.17 10:44, Yuriy Gorlichenko
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABSP_Vfqdjzbyg1anjFUh0KZTGdT52nnvCxpfX_8Z-7y2G6+1w@mail.gmail.com">
      <div dir="ltr">Also found at the lists some solutions like "accept
        fix_nated_register() and fix_nated_contact() for REGISTER and
        SUBSCRIBE"<br>
        <br>
        Done it. But still protos mistmatch...<br>
        <br>
        kamailio founds tls:myip:myport and forces t to udp...</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-10-03 10:49 GMT+03:00 Yuriy
          Gorlichenko <span dir="ltr"><<a
              href="mailto:ovoshlook@gmail.com" target="_blank"
              moz-do-not-send="true">ovoshlook@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi. I have presence server and it works fine
              for UDP/TCP/TLS endpoints.<br>
              For now i have new one type of endpoints that runs via
              WebSockets<br>
              <br>
              It sends SUBSCRIBE request to the and then after
              handle_subscribe() NOTIFY not comes to the subscriber
              because of <br>
              [core/forward.c:231]: get_send_socket2(): protocol/port
              mismatch <br>
              <br>
              I already had some issues regarding this for ACK for
              example but i resolved it cimply doing<br>
              <br>
              $ru = $ru+";transport=wss"<br>
              <br>
              but NOTIFY sending is internal process and can't be
              controlled by config file. So i can not change $ru for
              NOTIFY directly. <br>
              <br>
              Any ideas how to fix this?</div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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 Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>