<div dir="ltr">Thanks, Jon. Confirmed, updating $ru and not using append_to_reply solved the problem.<div><br></div><div>After a moment of contemplation, I realized it makes sense that a 3xx response Contact would be based on the request URI<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Regards,<div><br></div><div><p style="font-family:helvetica,arial,sans-serif;font-size:12px;margin:0px;padding:0px 0px 20px;color:rgb(0,0,0)"><strong>Calvin Ellison</strong><br>Senior Voice Operations Engineer<br><a href="mailto:calvin.ellison@voxox.com" style="text-decoration:none;color:rgb(14,123,174)" target="_blank">calvin.ellison@voxox.com</a><br>+1 (213) 285-0555<br><br>-----------------------------------------------<br><strong><a href="http://www.voxox.com/" style="text-decoration:none;color:rgb(14,123,174)" target="_blank">voxox.com</a> </strong><br>5825 Oberlin Drive, Suite 5<br>San Diego, CA 92121<br></p><img src="http://cdn.voxox.com/img/voxox-logo.png" alt="Voxox" style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><br></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 5:58 PM Jon Abrams <<a href="mailto:ffshoh@gmail.com">ffshoh@gmail.com</a>> wrote:<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>OpenSIPs is using the contents of the RURI for the contact header in the response. <br></div><div><br></div><div>I seem to recall this working in 2.2 as well:</div><div><br></div><div>$ru = "";</div><div>append_to_reply( "<sip:" + $rU + "@" + $si + ":" + $sp + ";npdi+">");</div><div><br></div><div>If you set the package and/or shared memory larger you can delay the fragmentation. In my scenario we were using the userblacklist feature and updating several large lists multiple times an hour. This was triggering the problem eventually. <br></div><div>You may never run into it with the caching depending on the volume and allocation patterns. But if you start having response time spikes after a long uptime, check the logs for memory related messages.</div><div><br></div><div>- Jon Abrams<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 5:57 PM Calvin Ellison <<a href="mailto:calvin.ellison@voxox.com" target="_blank">calvin.ellison@voxox.com</a>> wrote:<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 dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 2:56 PM Jon Abrams <<a href="mailto:ffshoh@gmail.com" target="_blank">ffshoh@gmail.com</a>> wrote:<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>Async does indeed trigger the transaction creation. You may need to update the $ru variable and not use the append_to_reply. Or at least that's how I solved this in the past.</div></div></blockquote><div><br></div><div>What's the connection between the request's URI and a reply's Contact? I saw $ru mentioned regarding a similar issue back in 2009 but didn't understand how it solves the problem.</div><div> </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">I would caution somewhat about using the caching (and possibly the async), as memory fragmentation may become a problem after sustained usage.</div></blockquote><div><br></div><div>Is there any guidance available for how to deal with this? Is this addressed via opensips things like hash size or linux things like shared memory configuration?</div></div></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>
_______________________________________________<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>