<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Denis,<br>
      <br>
      Could post the actual Contact hdr as received (network level like
      pcap or trace) by OpenSIPS from both caller and callee parties ?<br>
      <br>
      Regards<br>
    </font>
    <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>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 22.02.2024 07:34, Denis Lyubimov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEdpvTuW6G=BA8LnaBihZRwM57gOqj6EbkkjFW4Grbjk-WXWAg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi all,<br>
          <br>
          My network scheme is <br>
          softphone <-nat-external network-nat-> opensips
          <-local network-> sip servers <-local network->
          softphone<br>
          No b2b or topology_hiding modules are used.<br>
        </div>
        <div>Opensips versions I tried: 3.4.4-1 and 3.4.3-1.</div>
        <div><br>
          I make a call from a phone behind nat to sip server via
          opensips, so I use the fix_contact function from
          nat_traversal/fix_nated_contact from nathelper for each
          request.<br>
          On the first invite I get "caller_contact":
          <a class="moz-txt-link-rfc2396E" href="sip:1002@3.3.3.1:49682;transport=TCP;ob">"sip:1002@3.3.3.1:49682;transport=TCP;ob"</a> in "opensips-cli -x
          mi dlg_list".<br>
          If caller side makes re-invite, then i see this
          "caller_contact": "\u0001" for nat_traversal, <br>
          and this "caller_contact": "<a
            href="mailto:sip%3A1002@3.3.3.1" moz-do-not-send="true">sip:1002@3.3.3.1</a>\ufffd"
          with nathelper in dlg_list.<br>
          In that case dlg_send_sequential mi dialog function cannot be
          used cause caller contact cannot be read.<br>
          <br>
          Also if i make a re-invite from the caller side then the
          caller_contact field in dlg_list starts looking normal.<br>
          <br>
          Am I doing something wrong with fixing the nated contact
          field?<br>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></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>