<div dir="ltr"><div dir="ltr">Hi, Bogdan.<div><br></div><div>I applied the modules you adviced and it really solved my issue.</div><div><br></div><div>Thanks a lot!<br><br>Best Regards!<br><br><div id="mt-signature">
        <table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
            <tbody><tr>
                <td>
                    <a id="signatureLink-logo" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" class="" style="text-decoration:none">
                        <img src="https://s3.amazonaws.com/mailtrack-signature/sender-notified-72.gif" alt="Mailtrack" class="" width="32" height="32">
                    </a>
                </td>
                <td>
                    <span style="color:#777">Sender notified by</span> <br>
                    <a id="signatureLink-text" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" class="mt-install" style="color:#4374f7">Mailtrack</a>
                    
    </td><td><span style="color:transparent;font-size:0">02/04/22, 02:15:23 PM</span></td>

                
                <td>
                    
                </td>
            </tr>
        </tbody></table>
    </div></div></div><br><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/4355e11ccf25faa7bc82585c6eef113e10b56ab1.png?u=6916461"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 28 янв. 2022 г. в 15:23, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</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>
    <font face="monospace">Hi Sergey,<br>
      <br>
      I would strongly suggest to use dialog module + topo hiding  to
      get rid of this problem.<br>
      <br>
      Best regards,<br>
    </font>
    <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp
  <a href="https://www.opensips.org/Training/Bootcamp" target="_blank">https://www.opensips.org/Training/Bootcamp</a></pre>
    <div>On 1/28/22 2:24 PM, Sergey Pisanko
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr"><br>
        Hello.<br>
        <br>
        I have an issue with incorrect final ACK message from pbx which
        communicates to opensips. PBX sents to opensips proxy's r-uri
        instead of UA's one, though it receives correct callee's contact
        value in previous 200 OK. The PBX seems to have a problem with
        SIP protocol realization and I would like to solve this issue on
        Opensips side rewriting r-uri with correct one. What is the best
        way to do this? As long as what comes to my mind is to use
        avpops module with it's function "avp_db_query" in order to get
        the UA's contact from database and store it to avp and then to
        pass this avp as a r-uri. But may be there is a better solution?
        And are the similar manipulations bad practic carrying potential
        risks?<br>
        <br>
        Best Regards,<br>
        Sergey Pysanko.<br>
        <br>
        <br>
        <div id="gmail-m_7013119718405659814mt-signature">
          <table cellspacing="0" cellpadding="8" border="0">
            <tbody>
              <tr>
                <td> <a id="gmail-m_7013119718405659814signatureLink-logo" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" style="text-decoration:none" target="_blank"> <img src="https://s3.amazonaws.com/mailtrack-signature/sender-notified-72.gif" alt="Mailtrack" width="32" height="32"> </a> </td>
                <td> <span style="color:rgb(119,119,119)">Sender notified by</span>
                  <br>
                  <a id="gmail-m_7013119718405659814signatureLink-text" href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&" style="color:rgb(67,116,247)" target="_blank">Mailtrack</a> </td>
                <td><span style="color:transparent;font-size:0px">01/28/22,
                    02:22:52 PM</span></td>
                <td> <br>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
        <img alt="" style="display: flex;" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="0" height="0"></div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>