<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="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">01/28/22, 02:22:52 PM</span></td>
<td>
</td>
</tr>
</tbody></table>
</div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/7c0e66d3669e333fb0577715ea7f74eb993315d8.png?u=6916461"></div>