<div dir="ltr">Hi all,<div><br></div><div>we have FREESWITCH behind opensips and freeswitch is running in AWS. Both Opensips and Freeswitch is in same network + Softphone SDP have public IP address. </div><div><br></div><div>SOFTPHONE --&gt; OPENSIPS --&gt; ( profile : internal)  FREESWITCH  ( external) --&gt; CARRIER --&gt; CUSTOMER </div><div><br></div><div>Freeswitch is action as mediaserver here , I can see the extern-rtp-ip is setting on the calls to CARRIER, But when freeswitch 200Ok to Opensips, it is not putting external IP. It is setting the freeswitch local ip. </div><div><br></div><div>I have followed the instruction in <a href="https://freeswitch.org/confluence/display/FREESWITCH/Amazon+EC2" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>Amazon+EC2</a> , but not sure why FS is not setting external IP for internal profile. </div><div><br></div><div>Is there any way to force the EIP ( public IP ) to SDP to opensips?. I can see the Contact address have Public IP but not the SDP Connection IP. </div><div><br></div><div>Internal.xml</div><div><br></div><div><div>  <font color="#cc0000">&lt;param name=&quot;inbound-zrtp-passthru&quot; value=&quot;false&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;nonce-ttl&quot; value=&quot;60&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;disable-register&quot; value=&quot;true&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;auth-calls&quot; value=&quot;$${internal_auth_calls}<wbr>&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;inbound-reg-force-<wbr>matching-username&quot; value=&quot;true&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;auth-all-packets&quot; value=&quot;false&quot;/&gt;</font></div><div><font color="#cc0000"><br></font></div><div><font color="#cc0000">    &lt;param name=&quot;sip-ip&quot; value=&quot;192.168.0.173&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;rtp-ip&quot; value=&quot;192.168.0.173&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;54.81.198.142&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;54.81.198.142&quot;/&gt;</font></div><div><font color="#cc0000">    &lt;param name=&quot;aggressive-nat-<wbr>detection&quot; value=&quot;true&quot;/&gt;</font></div></div><div><br></div><div><br></div><div><div>send 1379 bytes to udp/[192.168.0.132]:5060 at 08:53:33.106380:</div><div>   -----------------------------<wbr>------------------------------<wbr>-------------</div><div>   <font color="#6aa84f">SIP/2.0 200 OK</font></div><div><font color="#6aa84f">   Via: SIP/2.0/UDP 192.168.0.132:5060;branch=<wbr>z9hG4bKe04b.c7469955.0;rport=<wbr>5060</font></div><div><font color="#6aa84f">   Via: SIP/2.0/UDP 182.75.26.194:58618;rport=<wbr>58618;received=182.75.26.194;<wbr>branch=z9hG4bK-524287-1---<wbr>8cfb5fbe8c5d0f23</font></div><div><font color="#6aa84f">   Record-Route: &lt;sip:192.168.0.132;r2=on;lr;<wbr>ftag=7325490b;vsf=<wbr>AAAAAH1uFG18am1hcXBAIRUIFgwREU<wbr>0YRxoMAAoOQRtBDlQZcmFuc3BvcnQ9<wbr>VURQ;did=ad3.3f713b01&gt;</font></div><div><font color="#6aa84f">   Record-Route: &lt;sip:54.175.200.193:5060;r2=<wbr>on;lr;ftag=7325490b;vsf=<wbr>AAAAAH1uFG18am1hcXBAIRUIFgwREU<wbr>0YRxoMAAoOQRtBDlQZcmFuc3BvcnQ9<wbr>VURQ;did=ad3.3f713b01&gt;</font></div><div><font color="#6aa84f">   From: &quot;14154839556&quot; &lt;<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.<wbr>piba.com</a>&gt;;tag=7325490b</font></div><div><font color="#6aa84f">   To: &lt;<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.<wbr>piba.com</a>;transport=UDP&gt;;tag=<wbr>7Ury0X9HXp68j</font></div><div><font color="#6aa84f">   Call-ID: 7sgGUmlws7Bg64kCbksywQ..</font></div><div><font color="#6aa84f">   CSeq: 2 INVITE</font></div><div><font color="#ff0000">   Contact: &lt;<a href="mailto:sip%3A14154839556@54.81.198.">sip:14154839556@54.81.198.</a><wbr>142:5060;transport=udp&gt;</font></div><div><font color="#6aa84f">   User-Agent: FreeSWITCH-mod_sofia/1.6.17~<wbr>64bit</font></div><div><font color="#6aa84f">   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY</font></div><div><font color="#6aa84f">   Supported: path, replaces</font></div><div><font color="#6aa84f">   Allow-Events: talk, hold, conference, refer</font></div><div><font color="#6aa84f">   Content-Type: application/sdp</font></div><div><font color="#6aa84f">   Content-Disposition: session</font></div><div><font color="#6aa84f">   Content-Length: 222</font></div><div><font color="#6aa84f">   Remote-Party-ID: &quot;Outbound Call&quot; &lt;<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.<wbr>piba.com</a>&gt;;party=calling;<wbr>privacy=off;screen=no</font></div><div><font color="#6aa84f"><br></font></div><div><font color="#6aa84f">   v=0</font></div><div><font color="#6aa84f">   </font><font color="#ff0000">o=FreeSWITCH 1492664761 1492664762 IN IP4 192.168.0.173</font></div><div><font color="#6aa84f">   s=FreeSWITCH</font></div><div><font color="#ff0000">   c=IN IP4 192.168.0.173</font></div><div><font color="#6aa84f">   t=0 0</font></div><div><font color="#6aa84f">   m=audio 28052 RTP/AVP 0 101</font></div><div><font color="#6aa84f">   a=rtpmap:0 PCMU/8000</font></div><div><font color="#6aa84f">   a=rtpmap:101 telephone-event/8000</font></div><div><font color="#6aa84f">   a=fmtp:101 0-16</font></div></div><div><br></div><div><br></div><div>Attaching the logs for reference. </div><div><br></div><div>Regards</div><div><br></div><div>Andrew </div><div><br></div></div>