<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Dragomir,<br>
      <br>
      See the "Received" field - I think the fix_nated_register() did
      the job.<br>
      <br>
      What do you print when doing the xlog "Relay sent to...." ? <br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 9/5/19 1:24 PM, Dragomir Haralambiev
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADzurOLqouSBzKvu+E5OVZRSZUGO9wGGFVw2m-o=FU5kkKJicA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Not working:<br>
              AOR:: 33341656<br>
                        Contact:: sip:
        33341656  @192.168.1.106:50443;transport=TLS;ob Q=<br>
                                Expires:: 260<br>
                                Callid::
        554fdfd6ee794451942f693e40fbe362<br>
                                Cseq:: 31813<br>
                                User-agent:: MicroSIP/3.19.18<br>
                                Received::
        <a class="moz-txt-link-freetext" href="sip:39.121.145.121:50445;transport=TLS">sip:39.121.145.121:50445;transport=TLS</a><br>
                                State:: CS_SYNC<br>
                                Flags:: 0<br>
                                Cflags:: TLS RM_ONTO_FLAG SIP_PING_BFLAG
        NAT_BFLAG<br>
                                Socket:: tls:<a
          href="http://83.21.101.114:5062" moz-do-not-send="true">83.21.101.114:5062</a><br>
                                Methods:: 8063<br>
                                SIP_instance::
        <urn:uuid:00000000-0000-0000-0000-0000a350d2d0><br>
        <div><br>
        </div>
        <div>When run :t_relay();<br>
          <br>
          Relay send to 192.168.1.106:50443...</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">На чт, 5.09.2019 г. в 11:21 ч.
          Hristo Donev <<a href="mailto:nocbgtelcom@gmail.com"
            moz-do-not-send="true">nocbgtelcom@gmail.com</a>> написа:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>
              <pre style="color:rgb(0,0,0)">Add the global parameter:
    tcp_accept_aliases=yes
   
insert in main route:
    if (proto==TLS)  { force_tcp_alias(); }
</pre>
              <br
                class="gmail-m_7563563922041004562gmail-Apple-interchange-newline">
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">На чт, 5.09.2019 г. в
              10:37 ч. Dragomir Haralambiev <<a
                href="mailto:goup2010@gmail.com" target="_blank"
                moz-do-not-send="true">goup2010@gmail.com</a>>
              написа:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">Hello,
                <div><br>
                </div>
                <div>I have :</div>
                <div>if (is_method("REGISTER|SUBSCRIBE")) {<br>
                        fix_nated_register();<br>
                   }<br>
                  fix_nated_contact();<br>
                </div>
                <div><br>
                </div>
                <div>When I have Transport UDP all is OK.<br>
                  Wen I have Transport TLS, contact record in location
                  table is not fixed.</div>
                <div><br>
                </div>
                <div>What I do to fix this?</div>
                <div><br>
                </div>
                <div>Regards,</div>
                <div>Dragomir</div>
              </div>
              _______________________________________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opensips.org" target="_blank"
                moz-do-not-send="true">Users@lists.opensips.org</a><br>
              <a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            </blockquote>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>