[Freeswitch-users] RTP NAT issue

Brian Foster bdfoster at endigotech.com
Wed Jun 6 20:28:50 MSD 2012


The issue is more likely the phone, as the phone is responsible for handing
FS the correct IP. There is however a way to force this on the FS side but
may break other devices. Please take a look at NDLB (No Device Left Behind)
parameters for Sofia on the wiki.

Brian Foster
Endigo Computer LLC

Sent from a mobile device.
On Jun 6, 2012 12:15 PM, "Carlo Dimaggio" <jaasmailing at gmail.com> wrote:

>  Hi all,
>
> I have a problem with RTP and NAT.
> The scenario is Hosted PBX and Natted phones (yealink):
>
> Phones (192.168.0.x) - NAT -> FS (public IP)
>
> When I call FS (for example an IVR) from a Phone, FS send the RTP to the
> private address (192.168.0.x) instead to the public NAT IP.
> The registration is ok:
>
> freeswitch at internal> sofia status profile tenant1.bs.dev.voip.clio.it reg
> 1
> Registrations:
>
> =================================================================================================
> Call-ID:        488014850 at 192.168.0.100
> User:           202 at tenant1.test.com
> Contact:        "Test 202" <
> sip:202 at 192.168.0.100:5062;fs_nat=yes;fs_path=sip%3A202%40
> <NAT_IP>%3A37710>
> Agent:          Yealink SIP-T20P 9.61.0.70
> Status:         Registered(UDP-NAT)(unknown) EXP(2012-06-06 19:01:55)
> EXPSECS(3232)
> Host:           localhost.localdomain
> IP:             <NAT_IP>
> Port:           37710
> Auth-User:      202
> Auth-Realm:     tenant1.test.com
> MWI-Account:    202 at tenant1.test.com
>
>
> How I can tell FS to send the RTP Packets to the right address? I think is
> needed a "comedia mode" like in Asterisk (or RTPProxy in openser)...
>
>
> Best regards,
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> 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/20120606/76117d8a/attachment.html 


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