Freeswitch 1.6.18, Debian 8x64, tried with default config.
Phone - Yealink, Router - some Zyxel, I believe Kinetic.

Regards, Igor

On 12 июля 2017 г., 17:37 +0300, Giovanni Maruzzelli <gmaruzz@gmail.com>, wrote:
What FS version and platform?

What phones?

Maybe is a problem with carrier? (Udp only...)

Have you tried the default configuration, the original one, without altering or adding things?


sent from mobile
cell: +39 347 266 56 18
Giovanni Maruzzelli
OpenTelecom.IT


On Jul 12, 2017 12:54 PM, "Igor Olhovskiy" <igorolhovskiy@gmail.com> wrote:
Hi!

I’m having strange issues on registering phones behind NAT on FreeSwitch.

Schema is Phone (port 5063)  -> Router (NAT) (port 1023) -> Freeswitch

Phone registering from port 5063. NAT is changing this port to 1023. Freeswitch receiving register message from port 1023, but still replying to port, that listed in Contact Header. So, Router can’t route this request back correctly.

NDLB-force-rport and aggressive-nat-detection is enabled on internal profile. What I got, this issue is when router changes port to 1024 or lower. If port is higher that 1024, than it’s working ok.
Also this problem with UDP only, with TCP all is ok.

Maybe I’m missing something in config?

Thanks.

Regards, Igor

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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