<div dir="ltr">Hello Everyone,<div><br></div><div style>Our environment is in an EC2 instance, and would like to fix the Contact when</div><div style>signalling internally (ie, private IP), and externally (ie, public IP). I have added</div><div style>the following code:</div><div style><br></div><div style>In branch:</div><div style><br></div><div style><div>if(!isflagset(5)) {</div><div>                 remove_hf(&quot;Contact:&quot;);</div><div>                 append_hf(&quot;Contact: &lt;sip:$fU@&lt;private ip&gt;&gt;\r\n&quot;);</div><div> }</div><div><br></div><div><br></div><div style>In on reply:</div><div><br></div><div><div>if(!isflagset(5)) {</div><div>       remove_hf(&quot;Contact:&quot;);</div><div>        append_hf(&quot;Contact: &lt;sip:$tU@&lt;public ip&gt;:5060&gt;\r\n&quot;);</div><div>}</div></div><div><br></div><div style>Code works fine and changes the contact as needed however, OpenSIPS stops 200OK on OK.</div><div style>We have the following error message:</div><div style><br></div><div style><div>Failed to match the sequential request to a known dialog</div><div>Attempt to route with preloaded Route&#39;s [sip:5147398047@&lt;unerline carrier ip&gt;/sip:5193403221@&lt;public ip&gt;/sip:&lt;public ip&gt;;lr;did=2ad.791c28e4/74f3fb2e-3f34-1233-8f94-000c29d9b8bf]</div><div><br></div><div><br></div><div style>Your help is greatly appreciated,</div><div style><br></div><div style>Terrance.</div></div><div><br></div></div></div>