[OpenSIPS-Users] Appended media IP when using fix_nated_sdp

microx acmicrox at gmail.com
Wed Apr 10 12:06:31 CEST 2013


Hi all, 

In my environment, an RTP proxy has an internal interface (192.168.x.x for
connecting with SIP proxy server) and an external interface (60.61.x.x for
relaying media packets between outside UAs). When receiving an INVITE
request, the SIP proxy server calls set_rtp_proxy_set & rtp_proxy_offer for
RTPProxy offering and then uses fix_nated_sdp to modify the media IP (c=)
and origin description (o=) with the external interface (60.61.x.x). 

However, when I use fix_nated_sdp("2", "60.61.x.x") or fix_nated_sdp("10",
"60.61.x.x"), the connection information in SDP header (media IP) will be
"192.168.x.x60.61.x.x" rather than only 60.61.x.x. I though that
192.168.x.x. should be replaced with 60.61.x.x. I find an early post
(http://opensips-open-sip-server.1449251.n2.nabble.com/rtp-proxy-issue-td3741507.html#a3742531)
where one encountered a similar issue. The version of OpenSIPS I use is
1.9.0. Is the way I set the flag or IP wrong? Can someone give me a hint?
Many thanks in advance. 

Best wishes 
Chen-Che



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Appended-media-IP-when-using-fix-nated-sdp-tp7585770.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list