<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">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">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">stun.freeswtich.org</a>"/></div><div><param name="ext-sip-ip" value="stun:<a href="http://stun.freeswtich.org">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">stun.freeswtich.org</a>"/></div><div><param name="ext-sip-ip" value="stun:<a href="http://stun.freeswtich.org">stun.freeswtich.org</a>"/></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">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">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>