<div dir="ltr">Thanks Brian for the quick response. Yes <span style="font-size:12.8px">192.168.0.132 is opensips and FS is </span><span style="font-size:12.8px">192.168.0.173. The EIP of FS instance is<font color="#000000"> </font></span><font color="#444444"><span style="font-size:12.8px"> 54.81.198.142. I turned off the aggressive NAT to false , but unfortunately same result.</span></font><div><font color="#444444"><span style="font-size:12.8px"><br></span></font></div><div><font color="#444444"><span style="font-size:12.8px"> Do we have any settings for forcing the SDP to extern-rtp-ip ?. Just wondering how it worked for the contact address but not the SDP. </span></font><div><font color="#444444"><span style="font-size:12.8px"><br></span></font></div><div><font color="#444444"><div><span style="font-size:12.8px"><a href="mailto:freeswitch@testenv100.aws.piba.net">freeswitch@testenv100.aws.piba.net</a>> sofia status profile internal </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">=================================================================================================</span></div><div><span style="font-size:12.8px">Name internal</span></div><div><span style="font-size:12.8px">Domain Name N/A</span></div><div><span style="font-size:12.8px">Auto-NAT false</span></div><div><span style="font-size:12.8px">DBName sofia_reg_internal</span></div><div><span style="font-size:12.8px">Pres Hosts 192.168.0.173,192.168.0.173</span></div><div><span style="font-size:12.8px">Dialplan XML</span></div><div><span style="font-size:12.8px">Context lvcall_bridge</span></div><div><span style="font-size:12.8px">Challenge Realm auto_from</span></div><div><span style="font-size:12.8px">RTP-IP 192.168.0.173</span></div><div><span style="font-size:12.8px">Ext-RTP-IP 54.81.198.142</span></div><div><span style="font-size:12.8px">SIP-IP 192.168.0.173</span></div><div><span style="font-size:12.8px">Ext-SIP-IP 54.81.198.142</span></div><div><span style="font-size:12.8px">URL <a href="http://sip:mod_sofia@54.81.198.142:5060">sip:mod_sofia@54.81.198.142:5060</a></span></div><div><span style="font-size:12.8px">BIND-URL sip:mod_sofia@54.81.198.142:5060;maddr=192.168.0.173;transport=udp,tcp</span></div><div><span style="font-size:12.8px">HOLD-MUSIC local_stream://moh</span></div><div><span style="font-size:12.8px">OUTBOUND-PROXY N/A</span></div><div><span style="font-size:12.8px">CODECS IN PCMU</span></div><div><span style="font-size:12.8px">CODECS OUT PCMU</span></div><div><span style="font-size:12.8px">TEL-EVENT 101</span></div><div><span style="font-size:12.8px">DTMF-MODE rfc2833</span></div><div><span style="font-size:12.8px">CNG 0</span></div><div><span style="font-size:12.8px">SESSION-TO 0</span></div><div><span style="font-size:12.8px">MAX-DIALOG 0</span></div><div><span style="font-size:12.8px">NOMEDIA false</span></div><div><span style="font-size:12.8px">LATE-NEG true</span></div><div><span style="font-size:12.8px">PROXY-MEDIA false</span></div><div><span style="font-size:12.8px">ZRTP-PASSTHRU true</span></div><div><span style="font-size:12.8px">AGGRESSIVENAT false</span></div><div><span style="font-size:12.8px">CALLS-IN 1</span></div><div><span style="font-size:12.8px">FAILED-CALLS-IN 0</span></div><div><span style="font-size:12.8px">CALLS-OUT 0</span></div><div><span style="font-size:12.8px">FAILED-CALLS-OUT 0</span></div><div><span style="font-size:12.8px">REGISTRATIONS 0</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Andrew</div></font></div><div><font color="#444444"><span style="font-size:12.8px"><br></span></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 7:17 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">We receive an invite from 192.168.0.132 with a public IP in the SDP, I'm going to assume thats via OpenSIPS? 192.168.0.173 is FS, </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Try turning aggressive nat detection off, you should NEVER need that except in some weird extreme cases.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">/b</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><font color="#cc0000"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 20, 2017 at 8:08 AM, Andrew Paul <span dir="ltr"><<a href="mailto:andrew.paul85@gmail.com" target="_blank">andrew.paul85@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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 --> OPENSIPS --> ( profile : internal) FREESWITCH ( external) --> CARRIER --> 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/conf<wbr>luence/display/FREESWITCH/Amaz<wbr>on+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"><param name="inbound-zrtp-passthru" value="false"/></font></div><div><font color="#cc0000"> <param name="nonce-ttl" value="60"/></font></div><div><font color="#cc0000"> <param name="disable-register" value="true"/></font></div><div><font color="#cc0000"> <param name="auth-calls" value="$${internal_auth_calls}<wbr>"/></font></div><div><font color="#cc0000"> <param name="inbound-reg-force-matchi<wbr>ng-username" value="true"/></font></div><div><font color="#cc0000"> <param name="auth-all-packets" value="false"/></font></div><div><font color="#cc0000"><br></font></div><div><font color="#cc0000"> <param name="sip-ip" value="192.168.0.173"/></font></div><div><font color="#cc0000"> <param name="rtp-ip" value="192.168.0.173"/></font></div><div><font color="#cc0000"> <param name="ext-sip-ip" value="54.81.198.142"/></font></div><div><font color="#cc0000"> <param name="ext-rtp-ip" value="54.81.198.142"/></font></div><div><font color="#cc0000"> <param name="aggressive-nat-detection<wbr>" value="true"/></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=z9hG<wbr>4bKe04b.c7469955.0;rport=5060</font></div><div><font color="#6aa84f"> Via: SIP/2.0/UDP 182.75.26.194:58618;rport=5861<wbr>8;received=182.75.26.194;branc<wbr>h=z9hG4bK-524287-1---8cfb5fbe8<wbr>c5d0f23</font></div><div><font color="#6aa84f"> Record-Route: <sip:192.168.0.132;r2=on;lr;ft<wbr>ag=7325490b;vsf=AAAAAH1uFG18am<wbr>1hcXBAIRUIFgwREU0YRxoMAAoOQRtB<wbr>DlQZcmFuc3BvcnQ9VURQ;did=ad3.3<wbr>f713b01></font></div><div><font color="#6aa84f"> Record-Route: <sip:54.175.200.193:5060;r2=on<wbr>;lr;ftag=7325490b;vsf=AAAAAH1u<wbr>FG18am1hcXBAIRUIFgwREU0YRxoMAA<wbr>oOQRtBDlQZcmFuc3BvcnQ9VURQ;did<wbr>=ad3.3f713b01></font></div><div><font color="#6aa84f"> From: "<a href="tel:(415)%20483-9556" value="+14154839556" target="_blank">14154839556</a>" <<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.pi<wbr>ba.com</a>>;tag=7325490b</font></div><div><font color="#6aa84f"> To: <<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.pi<wbr>ba.com</a>;transport=UDP>;tag=7Ury<wbr>0X9HXp68j</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: <<a href="mailto:sip%3A14154839556@54.81.198." target="_blank">sip:14154839556@54.81.198.</a>142<wbr>:5060;transport=udp></font></div><div><font color="#6aa84f"> User-Agent: FreeSWITCH-mod_sofia/1.6.17~64<wbr>bit</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: "Outbound Call" <<a href="mailto:sip%3A14154839556@calldirect.piba.com" target="_blank">sip:14154839556@calldirect.pi<wbr>ba.com</a>>;party=calling;privacy=<wbr>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><span class="m_316895188640276477HOEnZb"><font color="#888888"><div><br></div><div>Andrew </div><div><br></div></font></span></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_316895188640276477gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_316895188640276477gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p><p><b style="font-family:monospace,monospace;font-size:small"><i>Twitter: @FreeSWITCH , @briankwest</i></b></p><p><font size="2" face="monospace, monospace"><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.<wbr>com</a></font></p><p><font size="2" face="monospace, monospace"><a href="https://freeswitch.com/appointment" target="_blank">Book a phone call (CST)</a><br><br>Allison prompts for FreeSWITCH:</font></p><table cellspacing="0" cellpadding="0" style="font-size:12.8px"><tbody><tr><td valign="baseline"><p><span><a href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank"><b>https://www.gofundme.com/<wbr>allison-prompts-for-freeswitch</b></a></span></p></td></tr></tbody></table><p><span style="font-family:monospace,monospace;font-size:12.8px">Got Bugs? Report them </span><a href="https://freeswitch.org/jira" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">here</a><span style="font-family:monospace,monospace;font-size:12.8px">! | Reddit: </span><a href="https://www.reddit.com/r/freeswitch" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">/r/freeswitch</a><br></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>Skype:</b>briankwest<br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>