It works now. The problem was in my fix_nated_coontacts() calling location in my config file. It fixed it and it works now. But there is a delay in RTP flow after the call is connected. the delay is some times 8 to 10 sec. force_rtp_proxy() works even though it is deprecated.<br>
<br><div class="gmail_quote">On Wed, Oct 21, 2009 at 11:43 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Mani,<br>
<br>
so opensips and rtpproxy are situated in the public internet and you<br>
have clients behind different NATs ? is this correct? If so, you do not<br>
bridging mode for RTPproxy.<br>
<br>
Regards,<br>
Bogdan<br>
<div class="im"><br>
Manivasagam Sivaraman wrote:<br>
> I have installed rtpproxy on the same host as that of opensips, which<br>
> as only one external public IP. My rtpproxy is not running bridge<br>
> mode. Rtprpoxy NAT traversal is not working for users from 2 different<br>
> network. To make this case work, should I use bridge mode ? with 2 IP<br>
> interfaces ? or is this single host on the same host as that of<br>
> opensips work ? Please give me some inputs.<br>
><br>
> Thanks in advance.<br>
> Mani<br>
><br>
> On Wed, Oct 21, 2009 at 9:13 AM, Manivasagam Sivaraman<br>
</div><div><div></div><div class="h5">> <<a href="mailto:smvasagam2000@gmail.com">smvasagam2000@gmail.com</a> <mailto:<a href="mailto:smvasagam2000@gmail.com">smvasagam2000@gmail.com</a>>> wrote:<br>
><br>
> Thanks Khan. I tried this before and it did not work, but your<br>
> documentation is the most comprehensive one, great job. May be i<br>
> need some more tune up for my setup. Basically I can make a call<br>
> from UA behind NAT to PSTN through opesips/rtpproxy outbound. I<br>
> have installed opensips and rtpproxy on the same Public IP<br>
> address. I have a confusion over, whether I should run rtpproxy in<br>
> bridge mode with dual interface to be able to make rtp flow<br>
> between 2 UAs behind 2 different NATs ? Or is the single<br>
> interface setup sufficient ?<br>
><br>
> The first INVITE from UA1 to UA2 ( SDP c= IP address is modified<br>
> correctly as rtpproxy's IP address and sent to UA2)<br>
> The 200 OK response SDP from UA2 , reaches opensips .. and fwd as<br>
> is, with UA2's private IP address in SDP and UA1 cannot sent<br>
> media. I made sure the [onreply route1] method is called in script<br>
> and the force_rtp_proxy() is invoked by printing xlog. But<br>
> rtpproxy is not modifying the 200 OK SDP. This is my exact<br>
> problem. This indicates that I might have to run rtpproxy in<br>
> bridge mode. Also the new opensips documentation I see new<br>
> functions rtpproxy_offerSDP and rtpproxy_answer() functions. But I<br>
> need no example using those. Every one is still using the<br>
> deprecated force_rtp_proxy(), which I think is ok as long as it works.<br>
><br>
> Thanks in advance. I'm in Chicago too.<br>
><br>
> On Tue, Oct 20, 2009 at 9:30 PM, Khan <<a href="mailto:khansfriend@gmail.com">khansfriend@gmail.com</a><br>
</div></div><div class="im">> <mailto:<a href="mailto:khansfriend@gmail.com">khansfriend@gmail.com</a>>> wrote:<br>
><br>
> Mani,<br>
><br>
> There is a complete working configuration posted at the<br>
> following blog link:<br>
> <a href="http://voiprookie.blogspot.com/2009/04/rtpproxy-12x-installation.html" target="_blank">http://voiprookie.blogspot.com/2009/04/rtpproxy-12x-installation.html</a><br>
><br>
> You might need to tuneup a little bit based on your needs but<br>
> last time i have tried it and it was functional.<br>
><br>
><br>
> --<br>
> Khan<br>
><br>
><br>
> VoIP Rookie<br>
> Every beginning has an end regardless we believe it or not...<br>
><br>
> On Tue, Oct 20, 2009 at 8:20 PM, Manivasagam Sivaraman<br>
</div><div class="im">> <<a href="mailto:smvasagam2000@gmail.com">smvasagam2000@gmail.com</a> <mailto:<a href="mailto:smvasagam2000@gmail.com">smvasagam2000@gmail.com</a>>> wrote:<br>
><br>
> Dear Pros<br>
><br>
> The nathelper documentation is good as shown below<br>
> <a href="http://www.opensips.org/html/docs/modules/1.5.x/nathelper.html#id228280" target="_blank">http://www.opensips.org/html/docs/modules/1.5.x/nathelper.html#id228280</a><br>
><br>
> Seems like from 1.5.x many nathelper functions are<br>
> deprecated and new functions are introduced like<br>
> rtpproxy_offer and rtpproxy_answer.<br>
><br>
> Actually NAT traversal is still a nightmare for many and<br>
> beginers it would be better if some professional post a<br>
> full working opensips.cfg nathelper/rtpproxy configuration<br>
> script for the latest 1.5.3. THe above documents shows<br>
> bits and pieces, but a full working config example will<br>
> really help. Could any one please post a working example<br>
> of opensips.cfg nathelper configuration please. I searched<br>
> and foind only old configuration that does not work well.<br>
><br>
> Thanks in Advance. I really appreaciate your understanding.<br>
> Mani<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
</div>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
</div>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div><div></div><div class="h5">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>