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@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@internal> sofia status profile tenant1.bs.dev.voip.clio.it reg 1 Registrations:
================================================================================================= Call-ID: 488014850@192.168.0.100 User: 202@tenant1.test.com Contact: "Test 202" < sip:202@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org