Hi our FS is on public ip but the voip server to which trunk is made (SFB) is behind NAT. So the issue is that in SDP is private ip and FS sends RTP to this private ip, it does not change to src ip from which sip request was received. Remote SDP: 2016-04-21 08:04:00.954752 [DEBUG] sofia.c:5614 Remote SDP: v=0 o=- 46176 1 IN IP4 172.16.2.3 s=session c=IN IP4 172.16.2.3 b=CT:1000 t=0 0 m=audio 31200 RTP/AVP 8 101 13 c=IN IP4 172.16.2.3 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=rtcp:31201 a=label:Audio And then: xxx.xxx.xxx.xxx (FS public ip) port 17094 -> 172.16.2.3 port 31200 codec: 8 ms: 30 I tried with: <param name="NDLB-force-rport" value="true"/> <param name="aggressive-nat-detection" value="true"/> on internal profile and on trunk profile but the same. tnx for help! Miha
Hi, could some help me with this. tnx miha On 21/04/2016 08:06, Miha wrote:
Hi
our FS is on public ip but the voip server to which trunk is made (SFB) is behind NAT.
So the issue is that in SDP is private ip and FS sends RTP to this private ip, it does not change to src ip from which sip request was received.
Remote SDP: 2016-04-21 08:04:00.954752 [DEBUG] sofia.c:5614 Remote SDP: v=0 o=- 46176 1 IN IP4 172.16.2.3 s=session c=IN IP4 172.16.2.3 b=CT:1000 t=0 0 m=audio 31200 RTP/AVP 8 101 13 c=IN IP4 172.16.2.3 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=rtcp:31201 a=label:Audio
And then:
xxx.xxx.xxx.xxx (FS public ip) port 17094 -> 172.16.2.3 port 31200 codec: 8 ms: 30
I tried with: <param name="NDLB-force-rport" value="true"/> <param name="aggressive-nat-detection" value="true"/>
on internal profile and on trunk profile but the same.
tnx for help! Miha
_________________________________________________________________________ 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
Hi, Try adding <param name="apply-nat-acl" value="nat.auto"/> to your external profile. Regards, Iskren -----Original Message-----From: Miha <miha@softnet.si> Reply-to: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Nat issue Date: Fri, 22 Apr 2016 14:02:16 +0200 Hi, could some help me with this. tnx miha On 21/04/2016 08:06, Miha wrote:
Hi
our FS is on public ip but the voip server to which trunk is made (SFB) is behind NAT.
So the issue is that in SDP is private ip and FS sends RTP to this private ip, it does not change to src ip from which sip request was received.
Remote SDP: 2016-04-21 08:04:00.954752 [DEBUG] sofia.c:5614 Remote SDP: v=0 o=- 46176 1 IN IP4 172.16.2.3 s=session c=IN IP4 172.16.2.3 b=CT:1000 t=0 0 m=audio 31200 RTP/AVP 8 101 13 c=IN IP4 172.16.2.3 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=rtcp:31201 a=label:Audio
And then:
xxx.xxx.xxx.xxx (FS public ip) port 17094 -> 172.16.2.3 port 31200 codec: 8 ms: 30
I tried with: <param name="NDLB-force-rport" value="true"/> <param name="aggressive-nat-detection" value="true"/>
on internal profile and on trunk profile but the same.
tnx for help! Miha
_________________________________________________________________________ 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
participants (3)
-
Iskren Hadzhinedev
-
Miha
-
royj@yandex.ru