<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 8:11 PM, Vincent Xia <span dir="ltr"><<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@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>im having my FS box behind NAT, the network topology is something like:</div><div><br></div><div>
IP PHONE A(Public IP)<------->NAT<------>FS(Private IP, with a public IP)<------->IP PHONE B(Private IP)</div>
<div><br></div><div>i was trying to have IP PHONE B able to make call to IP PHONE A and have two-way talk.</div><div><br></div><div>with the default FS configuration when IP PHONE B calls IP PHONE A, there's only one-way talk, A can hear B but B cannot hear A.</div>
<div><br></div><div>then i decided to use stun by modifying:</div><div>vars.xml</div><div><X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/> // this is the default config</div>
<div><X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:<a href="http://stun.freeswitch.org" target="_blank">stun.freeswitch.org</a>"/> // this is the default config</div><div><br></div><div>internal.xml</div>
<div><param name="ext-rtp-ip" value="stun:<a href="http://stun.freeswtich.org" target="_blank">stun.freeswtich.org</a>"/></div><div><param name="ext-sip-ip" value="stun:<a href="http://stun.freeswtich.org" target="_blank">stun.freeswtich.org</a>"/></div>
<div><br></div><div>external.xml</div><div><param name="ext-rtp-ip" value="stun:<a href="http://stun.freeswtich.org" target="_blank">stun.freeswtich.org</a>"/></div><div><param name="ext-sip-ip" value="stun:<a href="http://stun.freeswtich.org" target="_blank">stun.freeswtich.org</a>"/></div>
</div></div></blockquote><div><br></div><div>You also may have a typo: you have "<a href="http://stun.freeswtich.org">stun.freeswtich.org</a>" instead of "<a href="http://stun.freeswitch.org">stun.freeswitch.org</a>"<br>
<br></div><div>-MC<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<div><br></div><div>but while restarting FS, there's error reporting:</div><div>2013-08-08 10:33:58.933096 [ERR] sofia_glue.c:1043 STUN Failed! <a href="http://stun.freeswitch.org:3478" target="_blank">stun.freeswitch.org:3478</a> [Bind Error!]</div>
<div>2013-08-08 10:33:58.933096 [ERR] sofia.c:4074 Failed to get external ip.</div><div>2013-08-08 10:33:58.934072 [NOTICE] sofia.c:4754 Started Profile external [sofia_reg_external]</div><div>...</div><div>2013-08-08 10:34:00.859927 [ERR] sofia_glue.c:1043 STUN Failed! <a href="http://stun.freeswitch.org:3478" target="_blank">stun.freeswitch.org:3478</a> [Bind Error!]</div>
<div>2013-08-08 10:34:00.859927 [ERR] sofia.c:4074 Failed to get external ip.</div><div>2013-08-08 10:34:00.860904 [NOTICE] sofia.c:4754 Started Profile internal [sofia_reg_internal]</div><div><br></div><div>so am i still missing some configuration or anything else was wrong?</div>
</div><div><br></div></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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div></div>