<font color='black' size='2' face='arial'>I have in my config mhomed=1. I have also tried force_send_socket("external IP"). Just to clarify I do have 2 eth ports( 2 NICS).
<div><br>
</div>
<div>Here is my config http://pastebin.com/8UiEdZXM</div>
<div><br>
<br>
<br>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: Stefano Pisani <stefano.pisani@omnianet.it><br>
To: OpenSIPS users mailling list <users@lists.opensips.org><br>
Sent: Mon, Jan 27, 2014 12:08 pm<br>
Subject: Re: [OpenSIPS-Users] changing header contact<br>
<br>
<div id="AOLMsgPart_2_d60849ea-3f8a-4a87-8aa5-9b6dcb1438f7">
<div class="aolReplacedBody" text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">If you have public and private IP on
different eth ports you can use mhost = 1<br>
<br>
Il 27/01/2014 20.58, <a class="moz-txt-link-abbreviated" removedlink__915902299__href="mailto:discodog62@aol.com">discodog62@aol.com</a> ha scritto:<br>
</div>
<blockquote type="cite"><font color="black" face="arial" size="2">Hello all,
<div>I am trying to setup a opensips server that has 2 ip's one
internal and one external IP. I have set the rewritehostport
to an external IP. When I send the call to the internal NICs
IP the invite makes it to the external server but my to: from:
and header contact all show the original IPs and the header
contact is the internal NICs IP.</div>
<div><br>
</div>
<div>Should I be able to configure the open sips server to
branch a new call that shows the call originating from the
external NIC IP of the opensips server? I have setup rtpproxy
that is working fine changing the SDP contact and media ports
to the external NIC's IP. Can anyone point me in the correct
direction?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>James</div>
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" removedlink__915902299__href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" target="_blank" removedlink__915902299__href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
<div id="AOLMsgPart_3_d60849ea-3f8a-4a87-8aa5-9b6dcb1438f7" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>_______________________________________________
Users mailing list
<a removedlink__915902299__href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a removedlink__915902299__href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_3_d60849ea-3f8a-4a87-8aa5-9b6dcb1438f7 -->
</div>
</div>
</font>