<p dir="ltr"> As far as i know fs does not change sdp when bypass media is set to true? Have you checked that? <br>
</p>
<div class="gmail_quote">06 февр. 2015 г. 6:54 пользователь "Ben Hood" <<a href="mailto:0x6e6562@gmail.com">0x6e6562@gmail.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
TL;DR: Does anybody know of a way to convince FS to insert an external<br>
RTP IP into the SDP even if the signalling is coming from a client<br>
behind the same NAT?<br>
<br>
I'm currently using kamailio and rtpproxy behind a NAT in conjunction<br>
with FS, but I'd like to eliminate rtpproxy from the equation and get<br>
FS to handle all of the RTP NAT.<br>
<br>
I've set the ext-rtp-ip in the SIP profile and FS seems to have<br>
accepted it, but FS still sends out SDPs with the local IP address in<br>
them.<br>
<br>
I'm assuming that this is happening because the client that is<br>
forwarding the INVITE is behind the same NAT and therefore FS is not<br>
inserting the external IP address into the SDP, but I might be wrong.<br>
<br>
I'm using version 1.4.15-1.<br>
<br>
Currently I've got this topology for signalling:<br>
<br>
CLIENT <-> PUBLIC INTERNET <-> NAT <-> KAMAILIO <-> FS<br>
<br>
And this topology for media:<br>
<br>
CLIENT <-> PUBLIC INTERNET <-> NAT <-> RTPPROXY <-> FS<br>
<br>
whereby rttproxy advertises itself on a public IP and the external<br>
firewall has static port forwards set up for ephemeral RTP ports.<br>
<br>
FS is a B2BUA in this setup.<br>
<br>
I'd like to replace the media topology with this:<br>
<br>
CLIENT <-> PUBLIC INTERNET <-> NAT <-> FS<br>
<br>
and port forward RTP to the FS instance in the firewall.<br>
<br>
As a proof of concept hack, I was able to get end to end media going<br>
between two different clients, by rewriting the local IP of the FS<br>
instance in the outgoing SDP on the outbound leg in kamailio.<br>
<br>
But I'd like to be able to set the correct external IP as part of the<br>
normal SDP patching process in FS.<br>
<br>
Thanks,<br>
<br>
Ben<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>