<div dir="ltr">Your server is behind NAT. That means your server does not have your external IP address assigned to it, that's a mapping performed by your router as the packets go through it.<div><br></div><div>You must set sip-ip and rtp-ip to IPs actually locally assigned to your server. That means your internal LAN IP. The operating system will not let you bind to a port on an IP that isn't assigned to it, and that's why you're seeing your bind error.</div><div><br></div><div>sip-ip and rtp-ip should be your internal address.</div><div>ext-sip-ip and ext-rtp-ip should be your external address.</div><div><br></div><div>In many cases FreeSWITCH can detect that external IP (auto-nat) so you might not need to specify it explicitly (useful on a dynamic IP).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2015 at 10:14, Steve Kieu <span dir="ltr"><<a href="mailto:msh.computing@gmail.com" target="_blank">msh.computing@gmail.com</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>Just downgrade to FS 1.2 Stable (from 1.4) and problem is fixed. Is it a bug in the latest stable version?<br></div><br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 5:53 PM, Steve Kieu <span dir="ltr"><<a href="mailto:msh.computing@gmail.com" target="_blank">msh.computing@gmail.com</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><div><div><div><div><div>Hi everyone,<br><br></div><div>My setup is that I have <br>* internal.xml on 192.168.0.2 <br></div><div>* vpn.xml on 10.8.0.1<br></div><div>* external.xml<br><br></div><div>Freeswitch behind NAT router ; wlan0 has 192.168.0.2 and 10.8.0.1 is tun0 which is the openvpn internface. Default gateway is wlan0.<br><br></div><div>Thing like normal using internal.xml <br></div><div><br></div><div>But for call from A registered in vpn profile I always got <br></div><br>2015-02-20 17:41:44.591664 [ERR] sofia_glue.c:3989 AUDIO RTP REPORTS ERROR: [Bind Error! XXX:23324]<br><br></div>XXX is my external internet IP.<br><br></div>The vpn.xml I set:<br><param name="rtp-ip" value="$${external_rtp_ip}"/><br> <!-- ip address to bind to, DO NOT USE HOSTNAMES ONLY IP ADDRESSES --><br> <param name="sip-ip" value="10.8.0.1"/><br><br><param name="ext-sip-ip" value="auto-nat"/><br><param name="ext-rtp-ip" value="auto-nat"/><br><br></div>no matter what I set in ext-rtp-ip (did replace auto-nat with my external IP) it still gives the errors.<br><br></div>I want for the vpn profile, just use the vpn IP for sip for the endpoint register with this, but using correct sip rtp when sending out to endpoint registered in other profile - basically making call between profile working - Can freeswitch support that and how ?<br><br></div><div>I did set all IP to use vpn address only, and call making between same profile (vpn) works. But not to other profile and not to external gateway. Same problem.<br><br><br></div>Thanks a lot in advance.<span><font color="#888888"><br><br><div><div><div><div><div><div><br clear="all"><div><div><br>-- <br><div>Steve Kieu</div>
</div></div></div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Steve Kieu</div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>