FS does not uses the IP/PORT resolved using STUN.
I configured FS to use the STUN server to find the public IP address used by the NAT. FS sends the request to STUN and receives the reply from the STUN Server , But it does not uses this info ( IP and port obtained from STUN) neither while negotiation ( in SDP) nor in the RTP. My testbed: ----------- < FreeSwitch > ---- < NAT > ---+----<NAT>--- < SIP Phone Client > | | [ STUN Server] File conf/sip_profiles/internal.xml has below configuration. <param name="ext-rtp-ip" value="stun:120.120.120.120"/> ; This is the local STUN server. <param name="ext-sip-ip" value="stun:120.120.120.120"/> <param name="stun-auto-disable" value="false"/> <param name="rtp-ip" value="auto"/> Thanks Prakash
Hi, I've never used STUN but if you have a router that supports UPnP/PMP, you could try configuring your sofia profile to use auto-nat , it usually does the job. Regards, guru On Tue, Jun 7, 2011 at 1:23 PM, DEVARAHALLI, PRAKASH (PRAKASH) <p.devarahalli@alcatel-lucent.com> wrote:
I configured FS to use the STUN server to find the public IP address used by the NAT. FS sends the request to STUN and receives the reply from the STUN Server , But it does not uses this info ( IP and port obtained from STUN) neither while negotiation ( in SDP) nor in the RTP.
My testbed: -----------
< FreeSwitch > ---- < NAT > ---+----<NAT>--- < SIP Phone Client > | | [ STUN Server]
File conf/sip_profiles/internal.xml has below configuration.
<param name="ext-rtp-ip" value="stun:120.120.120.120"/> ; This is the local STUN server. <param name="ext-sip-ip" value="stun:120.120.120.120"/> <param name="stun-auto-disable" value="false"/> <param name="rtp-ip" value="auto"/>
Thanks Prakash
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, Thanks for the response. I agree that the solution proposed by you works perfectly. But purpose of my test is to specifically use the STUN for NAT traversing. Thanks Prakash -----Original Message----- From: guru singh [mailto:grsingh750@gmail.com] Sent: Tuesday, June 07, 2011 2:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS does not uses the IP/PORT resolved using STUN. Hi, I've never used STUN but if you have a router that supports UPnP/PMP, you could try configuring your sofia profile to use auto-nat , it usually does the job. Regards, guru On Tue, Jun 7, 2011 at 1:23 PM, DEVARAHALLI, PRAKASH (PRAKASH) <p.devarahalli@alcatel-lucent.com> wrote:
I configured FS to use the STUN server to find the public IP address used by the NAT. FS sends the request to STUN and receives the reply from the STUN Server , But it does not uses this info ( IP and port obtained from STUN) neither while negotiation ( in SDP) nor in the RTP.
My testbed: -----------
< FreeSwitch > ---- < NAT > ---+----<NAT>--- < SIP Phone Client > | | [ STUN Server]
File conf/sip_profiles/internal.xml has below configuration.
<param name="ext-rtp-ip" value="stun:120.120.120.120"/> ; This is the local STUN server. <param name="ext-sip-ip" value="stun:120.120.120.120"/> <param name="stun-auto-disable" value="false"/> <param name="rtp-ip" value="auto"/>
Thanks Prakash
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
DEVARAHALLI, PRAKASH (PRAKASH)
-
guru singh