[Freeswitch-users] Rewriting media address in SDP as well as contact IP/port

Ken Rice krice at freeswitch.org
Wed Nov 21 01:11:39 MSK 2012


IIRC freeswitch has never re-written this... In bypass media mode FreeSWITCH
can not accurately re-write the SDP for the RTP, it doesn't know what PORT
the NAT device is going to expose the RTP port on...

NAT devices have a bad habit of translating ports from whatever the host
behind them says to something completely different...

To handle this, FreeSWITCH adjusts media on the fly to send media back to
where it came from....


On 11/20/12 2:35 PM, "PhilQ" <philq at qsystemsengineering.com> wrote:

> We're running in bypass media mode with aggressive-nat-detection enabled.  FS
> handles the signaling but passes the internal 10.x.x.x addresses for media
> along unchanged, even between different sites.
> 
> Any recommendations for SIP proxies if FS can't do it automatically?
> Rewriting the SDP from the dialplan might be worth looking into depending
> upon how it's implemented.
> 
> Thanks for the info.
> 
> - Phil
> 
> 
> 
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/Rewriting-media-address-in-SDP-a
> s-well-as-contact-IP-port-tp7584712p7584773.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
> 
> _________________________________________________________________________
> 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
> 
> 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch





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