[Freeswitch-users] RTP NAT issue

Michael Giagnocavo mgg at giagnocavo.net
Thu Jun 7 20:25:06 MSD 2012


Well FreeSWITCH needs to get an RTP packet to know which port/IP to respond to, for the general case. Do a full UDP capture and open it in Wireshark. The VoIP calls flow view will show you RTP streams, too.

-Michael

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Carlo Dimaggio
Sent: Thursday, June 07, 2012 1:29 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] RTP NAT issue

Hi Dave,

I've tried the "aggressive_nat_detection" on my internal profile. Restarted the profile and I have this registration:

Contact:        "Test 202" <sip:202 at 192.168.2.100:5062;fs_nat=yes;fs_path=sip%3A202%40<FS IP>%3A37710>

but FS send the RTP to the private IP (192.168.2.100) and not to the public NAT IP.

Is there something wrong?


Best Regards



Il 07/06/12 05.23, Dave R. Kompel ha scritto:
Been using this configuration for service providers for years, and always works. Everything always works, transfers etc...

--Dave

________________________________
From: Brian West [mailto:brian at freeswitch.org]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Wed, 06 Jun 2012 18:55:41 -0700
Subject: Re: [Freeswitch-users] RTP NAT issue

Suboptimal solution. you'll break transfers among other things.

Sent from my iPad

On Jun 6, 2012, at 4:01 PM, "Dave R. Kompel" <drk at drkngs.net<mailto:drk at drkngs.net>> wrote:

> For a hosted environment, where you're not in control of the users devices/routers you should do the following:
>
> In the SIP profile, turn on agressive_nat_detection, on the client device have them turn off ALL nat mapping stuff, so the switch can detect it's nat, and if it don't work cause they have some broken router that's doing ALG, and only in that case then set the directory entry for that use to have the "NDLB-Connnectile-Dysfunction" be true.
>
> That should work every time.
>
>
> --Dave

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>


</>

Official FreeSWITCH Sites
http://www.freeswitch.org<http://www.freeswitch.org/>
http://wiki.freeswitch.org<http://wiki.freeswitch.org/>
http://www.cluecon.com<http://www.cluecon.com/>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>






_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

consulting at freeswitch.org<mailto:consulting at freeswitch.org>

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



Join Us At ClueCon - Aug 7-9, 2012



FreeSWITCH-users mailing list

FreeSWITCH-users at lists.freeswitch.org<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120607/deff968e/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list