<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi!</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 28.10.2020 18:49, Jeff Pyle wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPhW+0J+_2GZr9N2Weggj52OZ3LQ3Gb9SDRgvY+UwWGSFgLtOw@mail.gmail.com">
<div>First, I lose the updated Contact from <font size="1"
face="monospace">fix_nated_contact()</font> after a serial
fork. Is this expected?</div>
</blockquote>
I would assume the `fix_nated_contact()` lump changes get backed up
into shared memory, then made available during the failure_route.
Anything else and IMHO it looks like a bug. Opinions welcome.<br>
<blockquote type="cite"
cite="mid:CAPhW+0J+_2GZr9N2Weggj52OZ3LQ3Gb9SDRgvY+UwWGSFgLtOw@mail.gmail.com">
<div><br>
</div>
<div>Second, I've determined that if the Contact URI is not
wrapped in <font size="1" face="monospace"><></font>,
that's when I get the "second attempt to change URI Contact"
error when running <font size="1" face="monospace">fix_nated_contact()</font>
in the <font size="1" face="monospace">branch_route[]</font>.
This feels like a bug.</div>
</blockquote>
<p>This one is a known, documented issue. Long story short: you
should always call fix_nated_contact() _before_
topology_hiding(). See this truth table for more info [1].</p>
<p>[1]: <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/2172">https://github.com/OpenSIPS/opensips/issues/2172</a><br>
</p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
</body>
</html>