[Freeswitch-users] FS does not uses the IP/PORT resolved using STUN.

DEVARAHALLI, PRAKASH (PRAKASH) p.devarahalli at alcatel-lucent.com
Wed Jun 8 08:03:32 MSD 2011


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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>





More information about the FreeSWITCH-users mailing list