<div dir="ltr"><div style><div>Hello Răzvan,</div><div><br></div><div>Thank you for your response. I think I am making a mess of this. Maybe</div><div>if I explain what I am trying to accomplish. Please consider the following:</div><div><br></div><div>U 2015/03/10 15:31:47.591498 <a href="http://25.21.74.12:5060">25.21.74.12:5060</a> -&gt; <a href="http://192.168.2.5:5060">192.168.2.5:5060</a></div><div>INVITE <a href="mailto:sip%3A9187321212@74.75.31.22">sip:9187321212@74.75.31.22</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div><br></div><div>U 2015/03/10 15:31:47.598538 <a href="http://192.168.2.5:5060">192.168.2.5:5060</a> -&gt; <a href="http://192.168.2.10:5060">192.168.2.10:5060</a></div><div>INVITE <a href="http://sip:9187321212@192.168.2.10:5060">sip:9187321212@192.168.2.10:5060</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div><br></div><div>U 2015/03/10 15:31:47.857774 <a href="http://192.168.2.10:5060">192.168.2.10:5060</a> -&gt; <a href="http://192.168.2.5:5060">192.168.2.5:5060</a></div><div>SIP/2.0 100 Trying.</div><div>Contact: &lt;<a href="http://sip:9187321212@192.168.2.10:5060">sip:9187321212@192.168.2.10:5060</a>&gt;.</div><div><br></div><div>U 2015/03/10 15:31:47.858765 <a href="http://192.168.2.10:5060">192.168.2.10:5060</a> -&gt; <a href="http://192.168.2.5:5060">192.168.2.5:5060</a></div><div>SIP/2.0 200 OK.</div><div>Contact: &lt;<a href="http://sip:9187321212@192.168.2.10:5060">sip:9187321212@192.168.2.10:5060</a>&gt;.</div><div><br></div><div>U 2015/03/10 15:31:47.903559 <a href="http://192.168.2.5:5060">192.168.2.5:5060</a> -&gt; <a href="http://25.21.74.12:5060">25.21.74.12:5060</a></div><div>SIP/2.0 200 OK.</div><div>Contact: &lt;sip:<a href="http://192.168.2.20:5060">192.168.2.20:5060</a>&gt;.</div><div><br></div><div>U 2015/03/10 15:31:47.945974 <a href="http://25.21.74.12:5060">25.21.74.12:5060</a> -&gt; <a href="http://192.168.2.5:5060">192.168.2.5:5060</a></div><div>ACK sip:<a href="http://192.168.2.20:5060">192.168.2.20:5060</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div><br></div><div>U 2015/03/10 15:31:48.204696 <a href="http://192.168.2.5:5060">192.168.2.5:5060</a> -&gt; <a href="http://192.168.2.10:5060">192.168.2.10:5060</a></div><div>ACK <a href="http://sip:9187321212@192.168.2.10:5060">sip:9187321212@192.168.2.10:5060</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div><br></div><div>U 2015/03/10 15:32:31.488749 <a href="http://25.21.74.12:5060">25.21.74.12:5060</a> -&gt; <a href="http://192.168.2.5:5060">192.168.2.5:5060</a></div><div>BYE sip:<a href="http://192.168.2.20:5060">192.168.2.20:5060</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div><br></div><div>U 2015/03/10 15:32:31.658439 <a href="http://192.168.2.5:5060">192.168.2.5:5060</a> -&gt; <a href="http://192.168.2.10:5060">192.168.2.10:5060</a></div><div>BYE <a href="http://sip:9187321212@192.168.2.10:5060">sip:9187321212@192.168.2.10:5060</a> SIP/2.0.</div><div>Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div>​</div><div>25,21.74.12 Underline Carrier</div><div>192.168.2.5 Opensips</div><div>192.168.2.10 Gateway</div><div><br></div><div>The contacts that I am attempting to do is modify is:</div><div><br></div><div>Message Two:</div><div>Original: Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div>Modified: Contact: &lt;sip:<a href="http://192.168.2.5:5060">192.168.2.5:5060</a>&gt;.</div><div><br></div><div>Message Five:</div><div>Original: Contact: &lt;sip:<a href="http://192.168.2.20:5060">192.168.2.20:5060</a>&gt;.</div><div>Modified: Contact: &lt;sip:<a href="http://74.75.31.22:5060">74.75.31.22:5060</a>&gt;. </div><div><br></div><div>Message Seven:</div><div>Original: Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div>Modified: Contact: &lt;sip:<a href="http://192.168.2.5:5060">192.168.2.5:5060</a>&gt;.</div><div><br></div><div>Message Nine:</div><div>Original: Contact: &lt;sip:gw+cust__orig_1_gw1@25.21.74.12:5060;transport=udp;gw=cust__orig_1_gw1&gt;.</div><div>Modified: Contact: &lt;sip:<a href="http://192.168.2.5:5060">192.168.2.5:5060</a>&gt;.</div><div><br></div><div style>When I attempt to making such modifications, I am receiving errors such as:</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</div><div><br></div><div style>What are the requirements to shape the Contact header to point to the right IP and still maintain the preloaded</div><div style>route.</div><div style><br></div><div style>Kind Regards,</div><div style><br></div><div style>Terrance</div><div><br></div></div><div><br></div></div></div>