If you want to have your Asterisks on only private IPs, you will need to use some sort of RTPProxy, the standard config examples typically work for that setup.<br><br>On the other hand, some people are starting to come back from that topo, and just use Asterisk (or freeswitch) as the RTPProxy. And perhaps you can just have your asterisk on a public IP. As the extra security you might think you have because it has a private IP, is much less then what the diagram says. <br>
<br>Anyhow all is possible, the beauty of flexibility :)<br><br><br><br><div class="gmail_quote">2011/11/4 Sammy Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Hello List,</span><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">
<br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">I&#39;ve successfully configured Kamailio with a farm of asterisk servers in L/B | F/O mode. The topology is something like below:</div>


<div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">User&lt;--&gt;Kamailio&lt;--&gt;Asterisk-Servers </div>


<div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Both kamailio and Asterisk serevrs are on public IPs</div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">


<br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><b>The problem:</b></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">


Kamailio and Asterisk Servers need to be on Public IPs in order to fully handle NAT/media related issues. Whereas what I require is to have two interfaces at kamailio server, one is Public other is Private and All the Asterisk Servers should be on LAN/Private IPs.</div>


<div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">I&#39;ve tried making a scenario as per my requirement (attached image) but there are some serious NAT and media issues. </div>


<div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Can anyone help me how to handle NAT&#39;d Asterisk servers behind Kamailio?</div>


<div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Thanks and Best Regards.</div>


<span style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><font color="#888888"><div>Sammy</div></font></span>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br>